How to delete a datastore via CLI in SynetoOS 5

Written By Christian Castagna (Administrator)

Updated at June 27th, 2025

→ 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. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

Step 2. Become Super User

sudo su

 

Step 3. List datastores

zfs list

 

Step 4. Delete a specific datastore (replace <pool_name> and <datastore_name> with the correct information)

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

EXAMPLE

zfs destroy -r -f hybrid/syn-volumes/9328f4d4-4347-429c-8ec9-3d26f5292a1b