In this video, Kevn Dankwardt describes the use of disk quotas for users. We setup user quotas and describe soft and hard limits for blocks and inodes.
- [Narrator] Linux provides a disk quota mechanism,…that is you can limit how much disk space…a user or a group can use.…Both disk space and number of files or directories.…So you do this to keep users…from filling up your whole partition.…And that means that your systems, you know,…going to run a little more robustly…so that if a user uses up all their space,…there's still space available…for system things and so forth.…
XFS has it's own quota mechanism…so the commands work with XFS are a little bit different.…We'll use ext4 and we'll see how the quota stuff works.…So what you'll want to do is mount your partition…with the user quota or group quota options on.…So that we're checking for quotas.…For example, we could…mount the sda2 partition on the home directory…with the option user quota.…
In fact, the home directory…is where quotas are usually used…because that's where users typically create files.…The quotacheck command…will do some accounting,…look at how much is used by the users.…So you run the quotacheck,…
- Partitioning storage
- Creating, mounting, and unmounting file systems
- Formatting file systems
- Making volumes with LVM
- Adding storage security
- Managing swap spaces
- Backing up and recovering Linux storage systems
- Working with networked file systems like NFS and SSHFS
Skill Level Intermediate
Linux: Bash Shell and Scriptswith Kevin Dankwardt2h 46m Intermediate
Linux: Multitasking at the Command Linewith Scott Simpson39m 1s Intermediate
1. Disk Partitions, Formatting, and Mounting
2. Logical Volume Manager (LVM)
3. Security and Resource Constraints
4. Special Storage Features and Considerations
5. Networked File Systems
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.