2
I use Amazon and I have an EC2 instance running Centos 6.5.
I recently went to change the machine’s disk. I made the procedure of turning off the machine to take a snapshot of the old disk and climb a new one with the larger space.
When I rewired the machine it shows me that the bar partition has 7.8GB. When in fact the new disk is 20GB.
Command df -h:
Filesystem Size Used Avail Use% Mounted on
/dev/xvde 7,8G 7,3G 90M 99% /
tmpfs 828M 0 828M 0% /dev/shm
Command lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvde 202:64 0 20G 0 disk /
xvdj 202:144 0 8G 0 disk
If repair the partition /dev/xvde has 20GB and is mounted correctly so that in the partition information only appears 8GB.
Att.
When you perform
df -a
displays the information correctly?– gato
@Denercarvalho Displays wrong information saying the disk has 8GB
– Joao Fernando Mortani