How to increase OS disk space in SynetoOS 5

Written By Christian Castagna (Administrator)

Updated at February 6th, 2025

→ Applies to: SynetoOS 5.x

 

Step 1. Login to VMware ESXi GUI

Step 2. Modify the settings of SynetoOS VM within VMware, increasing the disk size from 40GB to 80GB

The operation must be performed when SynetoOS VM is switched off.

 

Step 3. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

Step 4. Become Super User

sudo su

 

Step 5. Use this command to identify the filesystem disk

lsblk

Example output:

[root@syneto-os-echo ~]# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0   80G  0 disk 
├─sda1   8:1    0    1G  0 part /boot
├─sda2   8:2    0    4G  0 part 
└─sda3   8:3    0   75G  0 part /
sdb      8:16   0  3.5T  0 disk 
├─sdb1   8:17   0  3.5T  0 part 
└─sdb9   8:25   0    8M  0 part 
sdc      8:32   0  3.5T  0 disk 
├─sdc1   8:33   0  3.5T  0 part 
└─sdc9   8:41   0    8M  0 part 
sdd      8:48   0  3.5T  0 disk 
├─sdd1   8:49   0  3.5T  0 part 
└─sdd9   8:57   0    8M  0 part 
sde      8:64   0  3.5T  0 disk 
├─sde1   8:65   0  3.5T  0 part 
└─sde9   8:73   0    8M  0 part 
sdf      8:80   0  3.5T  0 disk 
├─sdf1   8:81   0  3.5T  0 part 
└─sdf9   8:89   0    8M  0 part 
sdg      8:96   0  3.5T  0 disk 
├─sdg1   8:97   0  3.5T  0 part 
└─sdg9   8:105  0    8M  0 part 
sdh      8:112  0  3.5T  0 disk 
├─sdh1   8:113  0  3.5T  0 part 
└─sdh9   8:121  0    8M  0 part 
sdi      8:128  0  3.5T  0 disk 
├─sdi1   8:129  0  3.5T  0 part 
└─sdi9   8:137  0    8M  0 part 
sdj      8:144  0  3.5T  0 disk 
├─sdj1   8:145  0  3.5T  0 part 
└─sdj9   8:153  0    8M  0 part 
sdk      8:160  0  3.5T  0 disk 
├─sdk1   8:161  0  3.5T  0 part 
└─sdk9   8:169  0    8M  0 part 
sdl      8:176  0  3.5T  0 disk 
├─sdl1   8:177  0 71.6G  0 part 
└─sdl2   8:178  0  3.4T  0 part 
sdm      8:192  0  3.5T  0 disk 
├─sdm1   8:193  0 71.6G  0 part 
└─sdm2   8:194  0  3.4T  0 part 
sr0     11:0    1 1024M  0 rom 

 

 

Step 6. Additional check to verify space available on disk

df -h

 

Step 7. List the partitions

fdisk -l /dev/sda

Example output:

[root@syneto-os-echo ~]# fdisk -l /dev/sda
Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6d79aa1d
Device     Boot    Start       End   Sectors Size Id Type
/dev/sda1  *        2048   2099199   2097152   1G 83 Linux
/dev/sda2        2099200  10487807   8388608   4G 82 Linux swap / Solaris
/dev/sda3       10487808 167772159 157284352  75G 83 Linux

 

Step 8. Access fdisk for the specific disk

fdisk /dev/sda

 

Step 9. Press p to see the partition table

Example output:

Command (m for help): p
Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6d79aa1d

Device     Boot    Start       End   Sectors Size Id Type
/dev/sda1  *        2048   2099199   2097152   1G 83 Linux
/dev/sda2        2099200  10487807   8388608   4G 82 Linux swap / Solaris
/dev/sda3       10487808 167772159 157284352  75G 83 Linux

 

Step 10. Press d to delete the partition table

Step 11. If the partition on which to expand the space is sda3, press 3

Step 12. Press n to create the partition table

Step 13. Press p for primary partition

Step 14. Enter the partition number 3

Step 15. Press enter without entering values

Step 16. When asked to remove the XFS signature answer n

Step 17. Save changes with w

Step 18. Exit from fdisk with q

Step 19. Update the system space with this command 

xfs_growfs /