Hi,
I’m migrating from samba to the SMB service in a zone, and have encountered a
few oddities.
I’m running joyent_20160929T025934Z.
First, the sharemgr command complains every time I run about initializing the
nfs/server service… The errors seem harmless, though annoying:
smbzone# mkdir /shared/Music
smbzone# sharemgr add-share -s /shared/Music -r Music -d "Lossless music" smb
smbzone# sharemgr show -vp
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
SMF Initialization problems..svc:/network/nfs/server:default
NFS plugin problem with SMF repository: unknown -1
default nfs=()
zfs
smb smb=()
Music=/shared/Music "Lossless music"
* /var/smb/cvol
c$=/var/smb/cvol smb=(abe="false" guestok="false")
"Default Share”
The second problem is more annoying. In the above output /shared is mounted via
lofs. Here’s the relevant bit from my smbzone’s JSON:
"filesystems": [
{
"type": "lofs",
"source": "zones/shared",
"target": "/shared"
}
],
The Mac client authenticates to the server (workgroup mode), and gets a list of
shares back - just “music” in lowercase, I’d have expected the capitalized
resource name instead - and trying to mount “music” results in the Mac
complaining:
There was a problem connecting to the server “10.0.1.37”.
Check the server name or IP address, and then try again. If you continue to
have problems, contact your system administrator.
If I replace that share with a share on a local directory, or on a local
delegated dataset, it works fine.
Does anyone have any ideas on what the error might be on the server side?
I don’t want to use a delegated dataset here because I have another zone
wanting to access this dataset, and it can’t see the dataset if this SMB zone
isn’t running. I don’t want a dependency between zones.
Thanks,
Chris
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com