Storage with wrong capacity

informant

Renowned Member
Jan 31, 2012
793
10
83
Hi all,

we have a HP Storage with 28 TB space on a node. In GUI the storage view
size 27.18 TB
used 1,36 TB
free 25,82 TB
But the storage is clean without data, why they used ~1,5 TB space and where?

On SSH is only 12K in use.
du * -h
4,0K dump
4,0K images
16K lost+found
4,0K private
4,0K template/iso
4,0K template/cache
12K template

and df -h view
/dev/sda 28T 129M 26T 1%

Any Ideas? Best regards.
 
Hi it is ext4,

it was auto blocksize of 4096. it´s normal on this capacity?

regards.
 
The used space is exactly 5%. I assume it's ext4 and you see the default reserved space. Use tune2fs to trim it down.
 
Hi,

thanks for answer, yes it is ext4. Do you have the complete command for trim it down, pls? Can trimming down cause problems?

regards
 
Hi udo, thanks for answer. for what is this reserved space and why does the system configured this? if we change to 0.1%, have it problems after this or for what does the system use this? can we change it to 0%? whats the best %?

best regards and biggest thanks for answers.
 
It depends. For volumes holding mostly static content, you can set it to zero. For volumes like / /var etc. it's more important to not tu run out of space and reserve some space for root processes but in my experience it doesn't help at all and just stalls dead space. Especially with modern large volumes and disks where a few % can account for many gigabytes of space. It never helps if eg. a daemon process opens and writes logs with root privileges. I usually set it to 1% when creating a new FS.
 
hi,

very thanks for this nice detailed information´s.

best regards and a very nice day for you all.