TritonDataCenter / smartos-live

For more information, please see http://smartos.org/ For any questions that aren't answered there, please join the SmartOS discussion list: https://smartos.topicbox.com/groups/smartos-discuss
1.59k stars 249 forks source link

smb sharing of a lofs FS using kernel smb server fails #533

Open xtreegpt opened 8 years ago

xtreegpt commented 8 years ago

Live Image": "20151224T060557Z" base-64 842e6fa6-6e9b-11e5-8402-1b490459e334 (15.3.0)

zone json

{ "brand": "joyent", "alias": "nas2", "hostname": "nas2", "image_uuid": "842e6fa6-6e9b-11e5-8402-1b490459e334", "max_physical_memory": 1024, "dns_domain": "local", "resolvers": [ "192.168.1.1", "8.8.8.8", "8.8.4.4" ], "filesystems": [{ "type": "lofs", "source": "zones/nas1/movies", "target": "/movies" }], "nics": [{ "nic_tag": "admin", "ip": "192.168.1.220", "netmask": "255.255.255.0", "gateway": "192.168.1.1", "primary": true }] }

I am using the procedure outlined http://tinyurl.com/smartsmb to setup an smb server. I can share any filesystem that is not lofs. When I try to access a lofs file system from Windows I get an open folder error. See jpeg.. I know permissions are OK since I can access the files via winscp just fine using the same UID I am using for SMB access.

lofs_access_error

sigxcpu76 commented 8 years ago

The procedure you refer to uses delegated datasets. Those are different from lofs. To do SMB sharing with lofs, you will need to use samba package from pkgsrc.