If you are unable to delete a datastore or a share via the graphical interface, you can proceed as follows:

1. Login as "admin" over SSH or VMware display console using current password and type on restricted shell


un sh

2. Login as "root"

sudo su

3. List datastores and locate the path to be deleted

zfs list

4. Delete datastore or share:

zfs destroy -r -f flash/shares/smb/testsnap