Jump to content

Root folders on ZFS pool become shares automatically?


m-a-x
Go to solution Solved by itimpi,

Recommended Posts

Posted

I've created two ZFS pools and a top level folder in each: 1backup and 2backup.

Immediately I notice that the 2 folders appeared listed as Shares. If I create more folders in those pools, they all end up listed as shares in GUI and present in the /mnt/user/. Is that normal?

 

Another thing I noticed in GUI > Shares is the "Storage info" for these 2 shares (that reside in my two ZFS pools). It says that their Primary location is "Array", not my ZFS pools. What??!!

 

Can anyone clarify this? Am I missing something?

 

 

2024-09-11_00-55-28.png

2024-09-11_00-57-40.png

Posted
2 minutes ago, itimpi said:

It is normal for top level folders on drives to become shares with default settings unless it is a pool for which user shares have been disabled in the pool settings.

 

If I disable the "Enable user share assignment" for a pool, does it mean that I won't be able to create shares on the pool even manually? Complete disable?

 

Also regarding the STORAGE info - why am I seeing that the shares are located on the Array (i.e. Primary storage), not the zfs pool?

Posted
1 minute ago, m-a-x said:

f I disable the "Enable user share assignment" for a pool, does it mean that I won't be able to create shares on the pool even manually? Complete disable?

Yes, so rarely what you want.

 

1 minute ago, m-a-x said:

why am I seeing that the shares are located on the Array (i.e. Primary storage), not the zfs pool?

I guess this is probably a bug as such automatic User Shares are create with default settings and are not taking account of the fact the folder was found on the pool.  

  • Like 1
Posted
1 minute ago, itimpi said:

I guess this is probably a bug as such automatic User Shares are create with default settings and are not taking account of the fact the folder was found on the pool.  

Should I change the Pool settings > Primary Storage from Array to datapool manually then? Or leave it as Array even though this is an incorrect info?

Posted
2 minutes ago, m-a-x said:

Should I change the Pool settings > Primary Storage from Array to datapool manually then? Or leave it as Array even though this is an incorrect info?

You should change it to the settings you want for this share.   Changing the primary and/or secondary settings will not cause anything to move automatically as it will affect where new files for the share should be placed and also determine what action (if any) mover will take,

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...