Skip to main content
Version: 2.5

Volume Resize

Check up

Check your volume status

/assets/volumes/volume_extend-01.jpg

Extend the volume

Please navigate to Project > Volumes > Volumes, select the Extend Volume from the Actions column

/assets/volumes/volume_extend-02.jpg /assets/volumes/volume_extend-03.jpg /assets/volumes/volume_extend-04.jpg

Linux

  1. check the new size.
  2. run command sudo growpart /dev/sda 1 to extend the volume size.
  3. run command sudo resize2fs /dev/sda1 to extend the file system size.
$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 392M 1.2M 391M 1% /run
/dev/sda1 77G 76G 1.3G 99% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda16 881M 112M 707M 14% /boot
/dev/sda15 105M 6.1M 99M 6% /boot/efi
tmpfs 392M 12K 392M 1% /run/user/1000

$ sudo growpart /dev/sda 1
CHANGED: partition=1 start=2099200 old: size=165672927 end=167772126 new: size=207615967 end=209715166

$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 100G 0 disk
├─sda1 8:1 0 99G 0 part /
├─sda14 8:14 0 4M 0 part
├─sda15 8:15 0 106M 0 part /boot/efi
└─sda16 259:0 0 913M 0 part /boot

$ sudo resize2fs /dev/sda1
resize2fs 1.47.0 (5-Feb-2023)
Filesystem at /dev/sda1 is mounted on /; on-line resizing required
old_desc_blocks = 10, new_desc_blocks = 13
The filesystem on /dev/sda1 is now 25951995 (4k) blocks long.

$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 392M 1.2M 391M 1% /run
/dev/sda1 96G 77G 20G 80% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda16 881M 112M 707M 14% /boot
/dev/sda15 105M 6.1M 99M 6% /boot/efi
tmpfs 392M 12K 392M 1% /run/user/1000

Windows

check the new size by run command compmgmt.msc to open the Disk Management

/assets/volumes/volume_extend-06.jpg /assets/volumes/volume_extend-07.jpg /assets/volumes/volume_extend-08.jpg /assets/volumes/volume_extend-09.jpg /assets/volumes/volume_extend-10.jpg /assets/volumes/volume_extend-11.jpg