From the course: Ubuntu Linux: Storage Management

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Exploring disk quotas

Exploring disk quotas

From the course: Ubuntu Linux: Storage Management

Start my 1-month free trial

Exploring disk quotas

- [Narrator] On a Lennox system, we can set a specific amount of space that users are allowed to consume. This is called a quota. We can enable it on specific file systems where we want to limit how much space any individual user or group can use. There's a few steps to getting a quota set up. First we need to install the quota software if it's not installed. And then we need to mount our file system with support for quotas. They're disabled by default, so we need to edit our fstab file or autofs map to request support for quotas. Then, we need to create the tables and files that the quota system needs in order to work. After that, we need to specify what our quotas will be. First, I'll install quota with apt install quota. Then, I need to make sure that I have a partition mounted with quota support. As I mentioned, I could do that in the fstab file if I wanted it to happen automatically. I have a volume mounted here from before, my lvmvolume. Let's use that. You could use a different…

Contents