Philip Robar
Contributor
- Joined
- Jun 10, 2014
- Messages
- 116
I've read the TrueNAS 12 and Mac discussions that seem to be related to the problems I seeing by searching on "smb fruit". Some reports might be related, but I didn't find this specific problem mentioned.
In a fresh install of TrueNAS 12.0 Release some of my SMB shares have fruit settings and some don't which appears to be keeping Time Machine backups from working and causes some shares to mount with no access permitted. (Red circles with a dash on all of the folders.)
The Apple SMB extensions are enabled in the SMB service GUI (By default, I didn't set it?) and the GUI setting for all of my shares are identical except for the TimeMachine share: "Default share parameters" and "Allow Guest Access". The Time Machine share has "Multi-user time machine" set and Guest access is not set.
The only the services that I have enabled are ssh, SMB and SMART.
I don't remember the order in which I created the shares was, but I'm pretty sure that the three TV shares (which have no fruit settings) were first. Deleting and recreating the three TV shares resulted in them having fruit settings and being accessible.
In a fresh install of TrueNAS 12.0 Release some of my SMB shares have fruit settings and some don't which appears to be keeping Time Machine backups from working and causes some shares to mount with no access permitted. (Red circles with a dash on all of the folders.)
The Apple SMB extensions are enabled in the SMB service GUI (By default, I didn't set it?) and the GUI setting for all of my shares are identical except for the TimeMachine share: "Default share parameters" and "Allow Guest Access". The Time Machine share has "Multi-user time machine" set and Guest access is not set.
The only the services that I have enabled are ssh, SMB and SMART.
I don't remember the order in which I created the shares was, but I'm pretty sure that the three TV shares (which have no fruit settings) were first. Deleting and recreating the three TV shares resulted in them having fruit settings and being accessible.
Code:
root@truenas[~]# testparm -a
Load smb config files from /usr/local/etc/smb4.conf
Loaded services file OK.
WARNING: some services use vfs_fruit, others don't. Mounting them in conjunction on OS X clients results in undefined behaviour.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
aio max threads = 2
bind interfaces only = Yes
disable spoolss = Yes
dns proxy = No
enable web service discovery = Yes
kernel change notify = No
load printers = No
logging = file
map to guest = Bad User
max log size = 51200
nsupdate command = /usr/local/bin/samba-nsupdate -g
registry shares = Yes
server role = standalone server
server string = TrueNAS Server
unix extensions = No
username map = /usr/local/etc/smbusername.map
username map cache time = 60
idmap config *: range = 90000001-100000000
fruit:nfs_aces = No
idmap config * : backend = tdb
directory name cache size = 0
dos filemode = Yes
[TV2]
comment = TV1
ea support = No
guest ok = Yes
kernel share modes = No
path = /mnt/TV2/TV2
posix locking = No
read only = No
vfs objects = aio_fbsd streams_xattr shadow_copy_zfs ixnas
nfs4:chown = true
[TV1]
comment = TV1
ea support = No
guest ok = Yes
kernel share modes = No
path = /mnt/TV1/TV1
posix locking = No
read only = No
vfs objects = aio_fbsd streams_xattr shadow_copy_zfs ixnas
nfs4:chown = true
[TV3]
comment = TV3
ea support = No
guest ok = Yes
kernel share modes = No
path = /mnt/space/TV3
posix locking = No
read only = No
vfs objects = aio_fbsd streams_xattr shadow_copy_zfs ixnas
nfs4:chown = true
[Space]
comment = Space
ea support = No
guest ok = Yes
kernel share modes = No
path = /mnt/space/space
posix locking = No
read only = No
vfs objects = aio_fbsd fruit streams_xattr shadow_copy_zfs ixnas
fruit:metadata = stream
fruit:resource = stream
nfs4:chown = true
[TimeMachine]
comment = Time Machine
ea support = No
kernel share modes = No
path = /mnt/space/TimeMachine/%U
posix locking = No
read only = No
vfs objects = aio_fbsd tmprotect fruit streams_xattr shadow_copy_zfs ixnas
ixnas:default_user_quota = 1T
ixnas:zfs_auto_homedir = true
fruit:locking = none
fruit:time machine = yes
fruit:resource = stream
fruit:metadata = stream
nfs4:chown = true
[Media]
comment = Media other than Movies and TV
ea support = No
guest ok = Yes
kernel share modes = No
path = /mnt/space/media
posix locking = No
read only = No
vfs objects = aio_fbsd fruit streams_xattr shadow_copy_zfs ixnas
fruit:resource = stream
fruit:metadata = stream
nfs4:chown = true
Last edited: