How to make a copy of a VM from a clone in SynetoOS 4

Written By Christian Castagna (Administrator)

Updated at May 28th, 2025

→ Applies to: SynetoOS 4.x

In some scenarios, you may want to keep both the clone and create a new original VM. This guide will walk you through the steps to do this.

 

Step 1. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

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

un sh

 

Step 3. Get root privileges

sudo su -

 

Step 4. Create an empty datastore ("How to create an empty datastore in SynetoOS 4")

Step 5. List datastores 

zfs list

EXAMPLE

Syneto:/var/storage/support$ zfs list
NAME                  USED  AVAIL  REFER  MOUNTPOINT
hybrid                7.51T 20.6T   136K  /hybrid
hybrid/datastores/VM1 512G  20.6T   511G  /hybrid/backups/7e/hybrid/datastores/VM1_2024_06_06_20_00


Identify the clone in the zfs list output and record the MOUNTPOINT path associated with the datastore on which the operations are to be performed.

EXAMPLE

/hybrid/backups/7e/hybrid/datastores/VM1_2024_06_06_20_00

 

Step 6. Open background shell ("How to run a background shell in SynetoOS 4")

Step 7. Use rsync command to copy data between the clone and the datastore form Step 4 (replace <pool_name>, <clone_path> and <datastore_name> with the correct information)

rsync -av --progress --stats /<pool_name>/datastores/<clone_path> /<pool_name>/datastores/<datastore_name>

EXAMPLE

rsync -av --progress --stats /hybrid/backups/7e/hybrid/datastores/VM1_2024_06_06_20_00 hybrid/datastores/VM1