Page 1 of 1

Datasets missing in GUI

Posted: 15 Jan 2014 16:41
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

Re: Datasets missing in GUI

Posted: 15 Jan 2014 19:05
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.

Re: Datasets missing in GUI

Posted: 18 Dec 2015 13:37
by taxitain
Hi, take a look on french forum

viewtopic.php?f=35&t=10119

Re: Datasets missing in GUI

Posted: 19 Dec 2015 09:06
by daoyama
This is current limitation.
The dataset name is search key for configuration. You cannot use same name at this time.