Moved SMB Homes share to new pool

jimd

Cadet
Joined
Dec 20, 2020
Messages
2
When I created my SMB Homes share many moons ago, the SMB Homes share was on a pool named "data0". I needed to move the Homes share to a new pool named "data1". I did the zfs send/recv bit with no issue. The only issue I had is that TrueNAS will not allow you to change the location of the dataset in the GUI. The only workaround I could figure out was to rename the "Homes" share to something other than "Homes" like "Homes1".

When I run the testparm -s command, it shows

Code:
[homes]
    ea support = No
    path = /mnt/data1/Homes/%U
    read only = No
    vfs objects = zfs_space zfsacl streams_xattr
    fruit:resource = stream
    fruit:metadata = stream
    nfs4:chown = true

Note that the section is named "homes" and not "homes1".

The home directories appear to be working fine on the SMB clients, but I'm wondering if TrueNAS will have issues if there is no share named "Homes" (which per the documentation can only be set once). I have unmounted the original Homes dataset but have not destroyed it yet. I've searched the forums but I couldn't find any posts about this topic.

Configuration:
  • Software: TrueNAS-12.0-RELEASE
  • Hardware: Mini XL+
  • User accounts are via LDAP, no user accounts on the TrueNAS server
  • SMB Home directories are used to provide per-user storage and not for domain login
 
Top