Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

I can't delete a Dataset

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

Anto9990000

Neophyte
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 ?
 

John Digital

Neophyte Sage
Joined
Jan 7, 2015
Messages
1,029
Stop all jails and sharing services smb nfs.
 

sretalla

Wizened Sage
Joined
Jan 1, 2016
Messages
6,302
Try escaping the spaces with backslash...

zfs destroy Stockage/Medias\ Plex
 
Top