Join Scott Simpson for an in-depth discussion in this video Exploring disk quotas, part of LFCS: Storage Management (Ubuntu).
- [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 volume if you wanted to.…
Join instructor Scott Simpson, as he shows how to manage and optimize file storage on Ubuntu Linux. First, learn how to create, modify, and mount partitions and filesystems, and manage swap space. Scott then combines these basics into more sophisticated solutions using volume management, and shows how to secure Linux storage and configure disk quotas and backup policies.
- Creating and modifying partitions
- Creating, modifying, and mounting filesystems
- Mounting encrypted partitions
- Creating redundant storage with RAID
- Working with physical volumes, volume groups, and logical volumes
- Securing filesystems with ACLs
- Backing up data