How to rename datastore and mountpoint in SynetoOS 4

Written By Christian Castagna (Administrator)

Updated at February 10th, 2025

→ Applies to: SynetoOS 4.x

WARNING: The rename operation requires to switch off the VM in the datastore.

 

Step 1. Login to VMware ESXi GUI (replace <your_ip_address_or_hostname> with the correct ip/hostname)

https://<your_ip_address_or_hostname>

 

Step 2. Power off the VM

Step 3. Login to SynetoOS 4 GUI (replace <your_ip_address_or_hostname> with the correct ip/hostname)

https://<your_ip_address_or_hostname>

 

Step 4. Click on Datastores in the left menu

 

Step 5. Click on Change host

 

Step 6. Deselect the host and click on Update

 

Step 7. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

Step 8 (optional). Change into Solaris shell (in case you're directed to an unsupported shell)

un sh

 

Step 9. Get root privileges

sudo su -

 

Step 10. List datastores

zfs list

EXAMPLE OUTPUT

NAME                           USED  AVAIL  REFER  MOUNTPOINT

flash                          24.2G  13.6G  27.5K  /flash
flash/datastores               24.1G  13.6G  51.5K  /flash/datastores
hybrid/backups/xyzwi/LinuxVM   194K  18.9G    24K  /hybrid/backups/xyzwi/LinuxVM

 

Step 11. Rename and change the mountpoint (replace <pool_name>,<datastore_name> and  <new_datastore_name> with the correct information)

zfs rename <pool_name>/datastores/<datastore_name> pool_name>/datastores/<new_datastore_name>

 

Step 12. Login to SynetoOS 4 GUI (replace <your_ip_address_or_hostname> with the correct ip/hostname)

https://<your_ip_address_or_hostname>

 

Step 13. Click on Change host

 

Step 14. Select the host and click on Update

 

Step 15. Login to VMware ESXi GUI (replace <your_ip_address_or_hostname> with the correct ip/hostname)

https://<your_ip_address_or_hostname>

 

Step 16. Register the VM

Step 17. Power on the VM