Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does SHOW QUOTA give a different answer than DIR/SIZE?

answer different DIR quota size
0
10 Posted

Why does SHOW QUOTA give a different answer than DIR/SIZE?

0

DIRECTORY/SIZE doesn’t take into account the size of file headers which are charged to your quota. Also, unless you use DIRECTORY/SIZE:ALL, you will see only the “used” size of the file, not the allocated size which is what gets charged against your quota. Also, you may have files in other directories. 9-1 Files $ DIRECTORY/SIZE=ALL/GRAND [username…] Grand total of D1 directories, F1 files, B1/B2 blocks. $ DIRECTORY/SIZZ=ALL/GRAND [-]username.DIR Grand total of 1 directory, 1 file, B3/B4 blocks. $ SHOW QUOTA User [username] has B5 blocks used, B6 available of B7 authorized and permitted overdraft of B8 blocks on disk If the user has no files in other directories and all file-headers are only 1 block, then the following should apply: B5=B2+B4+F1+1 If the diskquota has drifted out of synchronization, then the system-manager can force a quota rebuild-due to various factors, the quota file can potentially drift from the actual use over time, and a periodic rebuild can be performed at app

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.