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!

Datasets missing in GUI

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
spammeatwill
Starter
Starter
Posts: 23
Joined: 08 May 2013 11:24
Status: Offline

Datasets missing in GUI

Post by spammeatwill »

Hi,

I have just added a new dataset to my N4F and now the list only shows datasets in the same pool.

I have the following in disk:

Code: Select all

N4F: ~ # zfs list
NAME             USED  AVAIL  REFER  MOUNTPOINT
pool1           2.64T   945G   218K  /mnt/pool1
pool1/dataset1  2.64T   945G  2.64T  /mnt/pool1/dataset1
pool2           2.17T  1.40T  1.40T  /mnt/pool2
pool2/dataset1   775G  1.40T   775G  /mnt/pool2/dataset1
pool2/dataset2  8.43G   492G  8.43G  /mnt/pool2/dataset2
But the GUI only shows pool2/dataset1 and pool2/dataset2, pool1/dataset1 is missing!

Edit 1:
I noticed that some settings on pool2 datasets have changed! eg, description is empty, and some flags have been cleared. I traced the code back to a config.xml file, and there I can see only two datasets! :-(
I have tried to synchronize the GUI with no luck, it always shows the same two datasets.

I am worried for this is a production server. What can I do to debug this?

Thanks
9.2.0.1 - Shigawire (revision 925)
x64-embedded on Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz

spammeatwill
Starter
Starter
Posts: 23
Joined: 08 May 2013 11:24
Status: Offline

Re: Datasets missing in GUI

Post by spammeatwill »

Hi.

It seems the web GUI does not support having the same dataset name in two different pools.

I can reproduce this everytime in the synchronization page - I only see two datasets and I should see three.

By tracing the code from this page, I found out that the $zfs array uses dataset name as key without caring about the pool, so it overwrites pool1/dataset1 configuration with pool2/dataset1 configuration.

Can someone confirm this?

Edit: I have tried upgrading to latest 9.2.0.1 and the behaviour is the same.

Edit 2: I forgot to tell how I solved this for me. I have renamed the pool1/dataset1 to pool1/p1d1 and then synchronization worked. After taht I had to edit my shares to point to the new path.
9.2.0.1 - Shigawire (revision 925)
x64-embedded on Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz

taxitain
NewUser
NewUser
Posts: 7
Joined: 19 Aug 2013 01:11
Status: Offline

Re: Datasets missing in GUI

Post by taxitain »

Hi, take a look on french forum

viewtopic.php?f=35&t=10119
Nas4free 10.2.0.2 2118 - HP Proliant N40L - 8 Go RAM - 4x2T zfs RAIDZ1 + 1x6T - Extented GUI

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: Datasets missing in GUI

Post by daoyama »

This is current limitation.
The dataset name is search key for configuration. You cannot use same name at this time.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

Post Reply

Return to “ZFS (only!)”