I installed CentOS 6.9 instance with 50GB HDD in Openstack. It shows only 8GB for the root partition. But I need to allocate entire HDD size (50GB) for root.
fileSystem details
How can I fix this??
centos6linuxpartition
I installed CentOS 6.9 instance with 50GB HDD in Openstack. It shows only 8GB for the root partition. But I need to allocate entire HDD size (50GB) for root.
fileSystem details
How can I fix this??
Best Answer
Are you using any LVM devices inside the 42 GB partition?
If not, you could proceed like this (as root):
yum -y install parted
lvremove
List partitions:
parted -l
, you get an output like thisRemove the partition:
Verify it's deleted:
resize the partition:
Verify it worked:
Quit:
(parted) quit
and reboot and verify everything works.