How is usage on volume on disk group calculated? And why does it differ from `du`?

Joopjr
Posts: 9
Freshman Member



I own a NAS542, it has 4 bays with 4 HDD. I've created an Disk Group with those 4 drives and it's running with ext4 in raid 5. The HDD have 5.46 TB usable storage each.
When I go to my storage manager I can see that 58.92% (9.35/15.87 TB) of my disk group is in use.

However, when I login using SSH and run `du` on the /i-data/sysvol/ folder I get different numbers. If I add these numbers together I get somewhere around 3.5T.
/ # du /i-data/sysvol/* -sh
1.5T /i-data/sysvol/Joop
1.1M /i-data/sysvol/admin
12.0K /i-data/sysvol/aquota.user
685.6G /i-data/sysvol/backup
12.0K /i-data/sysvol/document
70.0G /i-data/sysvol/lost+found
225.8M /i-data/sysvol/music
28.0K /i-data/sysvol/photo
74.4G /i-data/sysvol/public
16.0K /i-data/sysvol/raspberry
854.9G /i-data/sysvol/server
133.7G /i-data/sysvol/software
104.7G /i-data/sysvol/video
1.1M /i-data/sysvol/admin
12.0K /i-data/sysvol/aquota.user
685.6G /i-data/sysvol/backup
12.0K /i-data/sysvol/document
70.0G /i-data/sysvol/lost+found
225.8M /i-data/sysvol/music
28.0K /i-data/sysvol/photo
74.4G /i-data/sysvol/public
16.0K /i-data/sysvol/raspberry
854.9G /i-data/sysvol/server
133.7G /i-data/sysvol/software
104.7G /i-data/sysvol/video
How is the volume usage in the Zyxel web interface calculated?
What is the volume usage in the Zyxel web interface including that isn't in the `sysvol` folder?
How can these numbers differ so much?
0
All Replies
-
I think df is used. And about du:
0
Categories
- All Categories
- 429 Beta Program
- 2.6K Nebula
- 163 Nebula Ideas
- 112 Nebula Status and Incidents
- 6K Security
- 350 USG FLEX H Series
- 291 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.6K Consumer Product
- 261 Service & License
- 407 News and Release
- 87 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.8K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 82 Security Highlight