I have an OpenIndiana fileserver, running Solaris CIFS service in Domain Mode (or in Samba-speak, security = ads). It serves Windows clients without problem, but when I mount the shares on a FreeBSD 10.1 client using
On the OpenIndiana server, I have created and shared a zfs filesystem. For this troubleshooting exercise, I granted full permissions.
I share the filesystem.
Next, I confirmed it's accessible from Windows clients. Back on the OpenIndiana server, I confirm the share's status:
I should add that on the OIserver,
Now to the FreeBSD client, which is a barebones installation intended to host jails, and is NOT joined to any domain. It is current.
Configured hosts file:
When I run
Listing mounted file systems on the client shows:
If I check free space, testfs is detected and the free space reading is accurate:
But when I navigate to the mount location, it appears empty:
I know there are files there, and I created some new ones from a Windows client.
Questions:
1. I’ve read that SMB protocol used by Solaris is SMB v1, and FreeBSD uses something newer. Could that be the cause? How can I find out?
2. What log(s) should I be viewing to gather more clues?
3. Any thoughts or suggestions on what to try next to gather more info?
Many thanks.
LSDave
mount_smbfs
, the command appears to work but the mountpoint remains empty. On the OpenIndiana server, I have created and shared a zfs filesystem. For this troubleshooting exercise, I granted full permissions.
Code:
OIserver# zfs create -o casesensitivity=mixed -o nbmand=on rpool/testfs
OIserver# touch /rpool/testfs/foo
OIserver# touch /rpool/testfs/foo.bar
OIserver# chmod -R 777 /rpool/testfs
Code:
OIserver# zfs set sharesmb=on rpool/testpool
OIserver# zfs set sharesmb=name=testpool rpool/testpool
Code:
OIserver# sharemgr show –vp
[...]
zfs/rpool/testfs smb=()
[INDENT] testfs=/rpool/testfs[/INDENT]
kinit
tests perfectly. Now to the FreeBSD client, which is a barebones installation intended to host jails, and is NOT joined to any domain. It is current.
Code:
root@LANjailhost:/ # freebsd-version -ku
10.1-RELEASE-p10
10.1-RELEASE-p14
Code:
root@LANjailhost:/ # cat /etc/hosts
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
127.0.0.1 LANjailhost $LANjailhost.redacted.domain.com
# DMZ Hosts
#10.0.0.2 myname.my.domain myname
#10.0.0.3 myfriend.my.domain myfriend
10.0.28.3 webdns
#LAN Hosts
192.168.5.7 oiserver oiserver.redacted.domain.com
192.168.5.107 vault01 vault01.redacted.domain.com
192.168.5.200 LANjailhost.redacted.domain.com
192.168.5.201 btm.redacted.domain.com
mount_smbfs
, I enter the password when prompted and the command appears to succeed:
Code:
mkdir /mnt/testfs
root@LANjailhost:/mnt #mount_smbfs -W {REDACTED} //{PrivilegedWinUser}@oiserver/testfs /mnt/testfs
Password:
root@LANjailhost:/mnt #
Code:
[...]
//{PRIVILEGEDWINUSER}@OISERVER/TESTFS on /mnt/testfs (smbfs)
Code:
root@LANjailhost:/mnt # df -H
[...]
//{PRIVILEGEDWINUSER}@OISERVER/TESTFS 2.1G 48k 2.1G 0% /mnt/testfs
Code:
root@LANjailhost:/mnt # cd testfs/
root@LANjailhost:/mnt/testfs # ls -l
total 0
root@LANjailhost:/mnt/testfs #
Questions:
1. I’ve read that SMB protocol used by Solaris is SMB v1, and FreeBSD uses something newer. Could that be the cause? How can I find out?
2. What log(s) should I be viewing to gather more clues?
3. Any thoughts or suggestions on what to try next to gather more info?
Many thanks.
LSDave