Filesystem Doesn't Reflect Instance Resize (Ephemeral)
Problem
An OpenStack instance, leveraging an ephemeral, non-boot-from-volume disk for its root partition, has been resized, but, the file system does not reflect the increased size (e.g. according to the**df** output).
Environment
Platform9 Managed OpenStack - All Versions
Nova
Cause
The respective filesystem has yet to be expanded within the guest OS.
Resolution
Ext2/3/4
Leverage the resize2fs utility to resize the EXT filesystem.
# resize2fs /dev/sda1- If the root partition is provisioned using LVM, you may need to expand the associated LV and then specify the path to it on the filesystem, e.g.# resize2fs /dev/mapper/vg-rootXFS
Leverage the xfs_growfs utility to resize the XFS filesystem.
PreviousOstackhost Fails to Resize, Create and Migrate Instance with Error "ComputeHostNotFound
NextHost Evacuate Deleted disk Files and Rebuilt VMs
Last updated
