Advertisement
Guest User

ifs quota for root

a guest
Nov 9th, 2014
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. # mount|grep -i xfs
  2. /dev/loop1 on /var/tmp type xfs (rw,quota,uquota)
  3.  
  4. # xfs_quota -x -c 'state' /dev/loop1
  5. User quota state on /var/tmp (/dev/loop1)
  6. Accounting: ON
  7. Enforcement: ON
  8. Inode: #131 (1 blocks, 1 extents)
  9. Group quota state on /var/tmp (/dev/loop1)
  10. Accounting: OFF
  11. Enforcement: OFF
  12. Inode: #0 (0 blocks, 0 extents)
  13. Project quota state on /var/tmp (/dev/loop1)
  14. Accounting: OFF
  15. Enforcement: OFF
  16. Inode: #0 (0 blocks, 0 extents)
  17. Blocks grace time: [7 days 00:00:30]
  18. Inodes grace time: [7 days 00:00:30]
  19. Realtime Blocks grace time: [7 days 00:00:30]
  20.  
  21. # xfs_quota -x -c 'limit bsoft=200m bhard=200m root' /dev/loop1
  22.  
  23. # quota -u
  24. Disk quotas for user root (uid 0):
  25. Filesystem blocks quota limit grace files quota limit grace
  26. /dev/loop1 0 204800 204800 3 0 0
  27.  
  28. # dd if=/dev/zero of=/var/tmp/test2 bs=1M count=302
  29. 302+0 records in
  30. 302+0 records out
  31. 316669952 bytes (317 MB) copied, 0.667244 s, 475 MB/s
  32.  
  33. # quota -u
  34. Disk quotas for user root (uid 0):
  35. Filesystem blocks quota limit grace files quota limit grace
  36. /dev/loop1 309248* 204800 204800 4 0 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement