This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

zfs-dataset not shown in GUI

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
drnicolas
Advanced User
Advanced User
Posts: 180
Joined: 15 Aug 2013 14:03
Location: Wiesbaden, Germany
Status: Offline

zfs-dataset not shown in GUI

Post by drnicolas »

While tracking down another problem, I found a problem with my datasets.

All datasets have the path /mnt/vStorage/datasetxyz

but the file explorer shows me one subdirectory named "BACKUP" which does not look to be a dataset at first view because there is no corresponding item under the zfs-dataset list .
Otherwise the text list under ZFS->Datasets->Informationen shows clearly that there is a dataset with name "BACKUP" and that it was created 27.12.2013.

Can I delete this dataset manually without using the GUI ?
HP Proliant N54L - Bios Mod -16GB non-ECC-RAM - ZFS RAIDZ1 (3x3TB) - 1VM running XigmaNAS 11.2.0.4.6026

sodalimon
Starter
Starter
Posts: 25
Joined: 26 Feb 2013 07:17
Status: Offline

Re: zfs-dataset not shown in GUI

Post by sodalimon »

drnicolas wrote:While tracking down another problem, I found a problem with my datasets.

All datasets have the path /mnt/vStorage/datasetxyz

but the file explorer shows me one subdirectory named "BACKUP" which does not look to be a dataset at first view because there is no corresponding item under the zfs-dataset list .
Otherwise the text list under ZFS->Datasets->Informationen shows clearly that there is a dataset with name "BACKUP" and that it was created 27.12.2013.

Can I delete this dataset manually without using the GUI ?
Yes you can...
On the shell, use zfs destroy poolName/datasetName

On the other hand, your problem is not absolutely clear to me.

First of all, one needs to make sure they synchronize the nas4free gui with the real zfs state. Sometimes they go out of sync. When one uses shell to manipulate pools or datasets, the gui should be acknowledged. This is the way to do it. Disks -> ZFS -> Configuration -> Synchronize

ZFS->Datasets->Informationen brings actual ZFS state. And it seems your GUI zfs-dataset list is not synchronized...


On the other hand...
By file explorer, do you mean the client side (SMB etc.)?
If that's the case, then that means your sharing options are not set the way you want them to be.
For a typical example:
Services->CIFS / SMB
Enable on the settings tab.
Go to the shares tab.

In this section you manage individual shares.
For example /mnt/zpool/media is shared as Media.
The directories and datasets under that path can be accessed by \\MyServer\Media
For example, /mnt/zpool/movies would be accessible over \\MyServer\Media\movies
/mnt/zpoo/pictures via \\MyServer\Media\pictures

However, if you share only /mnt/zpool/media/movies on \MyServer\Movies, /mnt/zpool/pictures would not be accessible via that share (of course you can setup one for that as well. Like, /mnt/zpool/media/pictures to \MyServer\Pictures).

SMB sharing is designed to let you share whatever path you like.
Datasets on the other hand, are not automatically shared upon creation.
SMB treats datasets as plain directories as they are.

Could it be that your system has been set to only share the BACKUP dataset via SMB. Thus you cannot access the others using the file explorer...

I'm not sure if I addressed your specific problem. And please forgive me if I took your time with stuff that you already knew.

Edit: The second part of my reply is irrelevant, now I see :) after reading your original post properly... I now can see you already have setup your datasets and shares... Just didn't want to delete though. Maybe someone else might find it useful.

Post Reply

Return to “ZFS (only!)”