I can't delete a Dataset

Anto9990000

Cadet
Joined
Dec 20, 2020
Messages
5
I can't delete a dataset anymore.
I tried to delete it in GUI, as soon as than I type in the name and i want to press buttom "DELETE DATASET" it remains greyed out. Like that https://imgur.com/BanISq4
Also the Dataset "Medias Plex" remains visible in Storage, zfs list and even sharing folders but if i'm running a command line in shell to delete it or rename it i've a error message:
"Cannot open: dataset does not exist" as in this screen shot below
https://imgur.com/a/AQjxgwQ



The commands lines i used:
Code:
# zfs destroy "Stockage/Medias Plex"


Code:
# zfs rename "Stockage/Medias Plex" "Stockage/MediasPlex"


My purpose was to remove the space between Medias and Plex and then in order to could delete it. I think to the problem comes from this space.

How do i might fix it ?
 
Joined
Jan 7, 2015
Messages
1,150
Stop all jails and sharing services smb nfs.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
Try escaping the spaces with backslash...

zfs destroy Stockage/Medias\ Plex
 
Top