Skip to content

Grow the boot volume of an oracle VM Ubuntu instance

Grow the boot volume of an oracle VM Ubuntu instance

Section titled “Grow the boot volume of an oracle VM Ubuntu instance”

Backup current partition table

Terminal window
sfdisk -d /dev/sdb > sdb_partition_bak.dmp

Execute a dry-run to see the changes that will apply. Install with apt-get install cloud-utils if you don’t have it already.

Terminal window
growpart -N /dev/sdb 1

If all looks good:

Terminal window
growpart /dev/sdb 1

Resize file system now:

Terminal window
resize2fs /dev/sdb1

See the change now:

Terminal window
df -h