I have 512GB attached to my linux centos 7.9 server I'm trying to know how much total disk size used from overall disk size from inside the server
I tried to use df -h --total command to show the total disk and used percentage but it shows 224GB total disk size and 13% used which is wrong because
In Azure monitoring it's showing 76% from the space used can anyone help with that ?
I tried many commands like fdisk, lsblk,parted.. etc but no accurate results
the full output of "df -h --total":
df -h --total
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 136M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda2 30G 25G 5.8G 81% /
/dev/sdb1 126G 4.1G 116G 4% /mnt/resource
shm 64M 0 64M 0%
total 224G 29G 189G 14% -
lsblk:
NAME FSTYPE LABEL UUID MOUNTPOINT NAME SIZE OWNER GROUP MODE
sda sda 30G root disk
├─sda1 ├─sda1 1M root disk
└─sda2 xfs centos_root 425e9325-f7cd-4d90-8548-4a79e37eb5b6 / └─sda2 30G root disk
sdb sdb 128G root disk
└─sdb1 ext4 6242553c-4d61-4420-b149-b2a3cb52c912 /mnt/resource └─sdb1 128G root disk
sdc sdc 512G root disk