Managed OpenStack
Latest
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-root
XFS
Leverage the xfs_growfs utility to resize the XFS filesystem.
# xfs_growfs /dev/sda1
Last updated on
Was this page helpful?
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered by
