Quotas can be used to limit how much disk spave a user or group can use . Here's how to implement quotas in Linux.
mount | grep ' / ' /dev/mapper/vg00-lvroot on / type xfs (rw,relatime,seclabel,attr2,inode64,logbsize=256k,sunit=512,swidth=512,noquota)
rootflags=usrquota,grpquota
cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.orig grub2-mkconfig -o /boot/grub2/grub.cfg shutdown -r now
/dev/VolGroup00/LogVol02 /home ext3 defaults,usrquota,grpquota 1 2
rpm -qa | grep quota yum -y install quota (if not installed)
dpkg -l | grep quota apt-get install quoya (if not installed)
Disk quotas for user user01 (uid 1001): Filesystem blocks soft hard inodes soft hard /dev/vg00/lvhome 203620 400000 500000 2619 0 0
Never miss a thing subscribe to our newsletter For more super cool techie stuff check out our blog!!
Why not help others by sharing your knowledge? Contribute something to this wiki and
join out hall of fame!
Contact us for a user name and password