Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add note on e2fsck

...

As the last step, we still need to tell the filesystem to use the entire partition. This can be done using the command resize2fs. In this example:

sudo e2fsck -f /dev/vdb1  # mandatory disk check to ensure there are no errors prior to resizing

sudo resize2fs /dev/vdb1vdb1  # resize the filesystem to fit the new larger partition

Remount the partition with

...