How to delete a virtual machine in SynetoOS 5

Written By Christian Castagna (Administrator)

Updated at February 4th, 2025

Table of Contents

→ Applies to: SynetoOS 5.x

WARNING: The delete operation will delete all data/snapshots present in the datastore and will no longer be recoverable.

 

Step 1. Login to SynetoOS GUI

Step 2. From Virtualization menu, click on Virtual machines

 

Step 3. Select the VM you want to delete

 

Via GUI

Step 1. Make sure to perform the 3 steps listed at the beginning of this article

Step 2. Click on the three dots button (⋮)

 

Step 3. Click on Delete

 

Via CLI

Step 1. Make sure to perform the 3 steps listed at the beginning of this article

Step 2. Write down the Volume ID

 

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. List datastore

zfs list

 

Step 6. Delete datastore (replace <pool_name> and <volume_id> with the correct information)

zfs destroy -r -f <pool_name>/syn-volumes/<volume_id>

 

Step 7 (optional). Clean up the GUI after VM removal ("How to delete a VM with an unregistered icon in SynetoOS 5")