→ Applies to: SynetoOS 4.x
Ensure VMs are powered off before migration in order to avoid data inconsistency.
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Change into Solaris shell (in case you're directed to an unsupported shell)
un sh
Step 3. Get root privileges
sudo su -
Step 4. List datasets
zfs listEXAMPLE OUTPUT
NAME USED AVAIL REFER MOUNTPOINT flash 79.8G 3.30T 25K /flash flash/_metadata 1.71M 3.30T 152K /flash/_metadata flash/syn-volumes 79.7G 3.30T 34K /flash/syn-volumes flash/datastores 6.75G 3.30T 34K /flash/datastores flash/datastores/SICSRVSISTEMI 6.75G 3.30T 6.75G /flash/datastores/SICSRVSISTEMI
Step 5. Migrate VMs between datasets (replace <current_path> and <new_path> with the correct information)
syncoid --no-sync-snap -o recordsize=64k <current_path> <new_path>IMPORTANT
The new path must NOT exist. The dataset is automatically created with the name set by the user by the syncoid tool.
EXAMPLEsyncoid --no-sync-snap -o recordsize=64k flash/datastores/SICSRVSISTEMI flash/datastores/SICSRVSISTEMI-64k
Step 6. Create Metadata ("How to Create Metadata in SynetoOS 4")