Uncategorized

XFS project kvóta

/etc/fstab:

/dev/vol1/piler /var/piler xfs defaults,pqnoenforce 1 2

umount /var/piler

mount /var/piler

echo “11:/var/piler” > /etc/projects

echo “piler:11” > /etc/projid

xfs_quota -xc ‘project -s piler’ /var/piler

xfs_quota -xc ‘report -p’ /var/piler

Project quota on /var/piler (/dev/mapper/vol1-piler)
                               Blocks                     
Project ID       Used       Soft       Hard    Warn/Grace     
---------- -------------------------------------------------- 
piler             168          0          0     00 [--------]