How is usage on volume on disk group calculated? And why does it differ from `du`?
Options
Joopjr
Posts: 9
Freshman Member
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
- 442 Beta Program
- 2.9K Nebula
- 219 Nebula Ideas
- 128 Nebula Status and Incidents
- 6.5K Security
- 603 USG FLEX H Series
- 344 Security Ideas
- 1.7K Switch
- 84 Switch Ideas
- 1.4K Wireless
- 52 Wireless Ideas
- 7K Consumer Product
- 298 Service & License
- 481 News and Release
- 92 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 4.8K FAQ
- 34 Documents
- 87 About Community
- 105 Security Highlight
Guru Member