Volume Resize
#
Check upCheck your volume status
#
Extend the volumePlease navigate to Project > Volumes > Volumes, select the Extend Volume
from the Actions column
#
Linux- check the new size.
- run command
sudo growpart /dev/sda 1
to extend the volume size. - run command
sudo resize2fs /dev/sda1
to extend the file system size.
$ df -hFilesystem Size Used Avail Use% Mounted ontmpfs 392M 1.2M 391M 1% /run/dev/sda1 77G 76G 1.3G 99% /tmpfs 2.0G 0 2.0G 0% /dev/shmtmpfs 5.0M 0 5.0M 0% /run/lock/dev/sda16 881M 112M 707M 14% /boot/dev/sda15 105M 6.1M 99M 6% /boot/efitmpfs 392M 12K 392M 1% /run/user/1000
$ sudo growpart /dev/sda 1CHANGED: partition=1 start=2099200 old: size=165672927 end=167772126 new: size=207615967 end=209715166
$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSsda 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/sda1resize2fs 1.47.0 (5-Feb-2023)Filesystem at /dev/sda1 is mounted on /; on-line resizing requiredold_desc_blocks = 10, new_desc_blocks = 13The filesystem on /dev/sda1 is now 25951995 (4k) blocks long.
$ df -hFilesystem Size Used Avail Use% Mounted ontmpfs 392M 1.2M 391M 1% /run/dev/sda1 96G 77G 20G 80% /tmpfs 2.0G 0 2.0G 0% /dev/shmtmpfs 5.0M 0 5.0M 0% /run/lock/dev/sda16 881M 112M 707M 14% /boot/dev/sda15 105M 6.1M 99M 6% /boot/efitmpfs 392M 12K 392M 1% /run/user/1000
#
Windowscheck the new size by run command compmgmt.msc
to open the Disk Management