→ Applies to: SynetoOS 5.x
IMPORTANT
In this specific scenario, no new VMDK is added to the virtual machine. Instead, the procedure involves changing the size of the existing virtual disk (VMDK) from the VMware ESXi interface.
Step 1. Shutdown all VMs
Step 2. Increase VMDK size ("How to increase VMDK size in VMware ESXi")
Step 3. Connect to SynetoOS appliance via SSH as admin (replace <your_ip_address_or_hostname> with the correct ip/hostname)
ssh admin@<your_ip_address_or_hostname>
Step 4. Get root privileges
sudo su -
Step 5. Check if additional disk space is available
config disk show
EXAMPLE OUTPUT
[root@syneto-os-5 admin]# config disk show Type Size Pos. Enc. Name Other SSD 80.00GB 0:0:0:0 scsi-36000c2939ba28228bd4a823689f92f42 S/N: 6000c2939ba28228bd4a823689f92f42 VMware VMware Virtual disk SSD 100.00GB 0:0:1:0 scsi-36000c299ee9d58b459164bb726b7fbf7 S/N: 6000c299ee9d58b459164bb726b7fbf7 VMware VMware Virtual disk
Save the identifier of the disk on which the space expansion was performed.
In this case, it's the second disk, identified as:
scsi-36000c299ee9d58b459164bb726b7fbf7
.
This information will be required in Step 7 (replacing<disk_name>
).
Step 6. Enable autoexpand (replace <pool_name> with the correct information)
zpool set autoexpand=on <pool_name>
EXAMPLE
zpool set autoexpand=on flash zpool set autoexpand=on hybrid
Step 7. Expand the storage pool (replace <pool_name> and <disk_name> with the correct information)
zpool online -e <pool_name> <disk_name>
EXAMPLE
zpool online -e flash scsi-36000c299ee9d58b459164bb726b7fbf7 zpool online -e hybrid scsi-36000c299ee9d58b459164bb726b7fbf7
Step 8. Check if the operation is completed
zpool list
EXAMPLE
[root@syneto-os-ec support]# zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT hybrid 200G 50G 150G - - 12% 44% 1.00x ONLINE -