Answer the question
In order to leave comments, you need to log in
How to fix mounted disk size error on CentOs?
I mounted the disk (sudo mount -t ext3 /dev/xvdg /tempdata) with a size of 500GB, and df shows that there are only 1 GB in nm. Other discs don't have this problem... What did I do wrong?
lsblk output:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvdg 202:96 0 500G 0 disk /tempdata
df -h output:
Filesystem Size Used Avail Use% Mounted on
/dev/xvdg 1008M 718M 239M 76% /tempdata
Answer the question
In order to leave comments, you need to log in
You most likely have a 500GB disk with a 1GB file system.
Unmount it and do a resize2fs /dev/xvdg
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question