Can't delete zvol

rosede

Dabbler
Joined
Sep 24, 2022
Messages
13
I am a newbie. I just installed TrueNAS-13.0-U6.1. I created a test pool, just to learn how its down. I now want to delete it. I click on the options at the end of the zvol, select delete zvol, type in the volume name, click confirm, but the Delete ZVol button stay's greyed out.

Am I missing a step? I don't have anything on it, no shares, or anything. This was just test and I'd like to remove it.

Thanks

Daryl
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
The name is case-sensitive, might that be tripping you up?
 

rosede

Dabbler
Joined
Sep 24, 2022
Messages
13
I had and extra white space at the end. :frown:

I was able to remove it. Thank you

Daryl
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
That was going to be my next guess. Did the GUI let you tack on whitespace at the end of the zvol's name when you created it? Or was it a CLI typo?
 

rosede

Dabbler
Joined
Sep 24, 2022
Messages
13
That was going to be my next guess. Did the GUI let you tack on whitespace at the end of the zvol's name when you created it? Or was it a CLI typo?
I am using the GUI, so it must have been a typo when I made to volume.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
@anodos, you were looking at another example just the other day of someone fat fingering a space onto the end of a dataset name, did a ticket ever come of that?
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
I just tested it and you can still create a dataset in 13.0-U6.1 with a trailing backspace

Code:
nas% zfs list ssd1/backspacetest
cannot open 'ssd1/backspacetest': dataset does not exist
nas% zfs list "ssd1/backspacetest "
NAME                  USED  AVAIL     REFER  MOUNTPOINT
ssd1/backspacetest     96K   127G       96K  /mnt/ssd1/backspacetest
 
Top