Truenas gui will allow you to create a dataset with spaces in the name however the gui will not allow you to delete it. You have to go into the shell and either rename it or delete it. The gui should either not allow you to create it or give you a way to delete it.
Sounds like a legit bug, i’d file a bugreport on jira for that one…
In what TrueNAS version did you create a dataset with a space in the name? I just tested against both 24.10 and a 25.04 nightly and they both prevent that.
Will do
ElectricEel-24.10.1
Did you put the “space” somewhere in the middle of the dataset name, or at the end (or even start) of it?
@davistw: Same question to you.
Yup, " dataset", “data set”, and "dataset " all get an “Invalid format or character” validation error and the Save button is greyed out.
Interesting. On Core 13.3-U1, using the GUI, I am able to create datasets with spaces in the name (anywhere, start, middle, or end), and the GUI lets me delete them just fine.
I can’t reproduce this in 24.10. I created datasets with spaces in name and terminating spaces as well (via shell). I could delete as long as I typed the dataset name correctly.
We do some validation now in UI in SCALE IIRC (to prevent user-footshooting).
I go to pool and select add zvol name the zvol “test test1” with a space, enter size and click save. It will create a dataset with the name “test test1” that can not be deleted with the gui.
I miss spoke it was a zvol I created with a space. i just tried it again and created a zvol with “test test1” as the name.
Intersting but core and scale are different worlds.
Zvol names with spaces in them can also be deleted. Can you provide precise step-by-step instructions for what you’re doing (including truenas version)?
OK this must have been an ID10T or PEBKAC error…
It worked like a champ. I must have done this 5 times and each time it would not let me delete it…I have NO CLUE…
Sorry for the alarm. (I will slink off with my head down now)