Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Third Step, Informing the OS and resizing the file system

Install growpart cloud utility command:

Code Block
# centos|rhel
sudo yum install -y cloud-utils-growpart
# debian|ubuntu
sudo apt install cloud-guest-utils

...

For moving and resizing partitions on disk 1 (/dev/sda), growpart cloud utility command that we used on disk 2 (/dev/sdb) would in most cases not be the desired tool for this job.
GParted would probably be a more useful tool for achieving this:
https://gparted.org/display-doc.php%3Fname%3Dmoving-space-between-partitions

...