We currently do not have the code implemented to support CIFS mounting
inside an lx-branded zone. We already have an open bug to add this support:

https://smartos.org/bugview/OS-4205

Sorry,
Jerry


On Thu, Sep 8, 2016 at 12:25 AM, 贺德嘉 <[email protected]> wrote:

> Hi All,
>
> I’ve been trying a lot to mount a samba share on an lx branded zone, but
> it doesn’t work.
>
> First, I setup a built-in samba server in a native zone, referring to
> https://wiki.smartos.org/display/DOC/Configuring+SMB+in+SmartOS
>
> Then I login to another native zone, type the commands below:
> svcadm enable smb/client
> svcadm enable rpc/bind
> svcadm enable idmap
> mkdir /mnt
> mount -F smbfs //admin:[email protected]/testcifs /mnt
>
>
>
> And it worked.
>
> Then I tried 2 lx zones, which are:
> a3c7b9ba-279d-11e6-aecd-07e1aa0cc545  ubuntu-14.04        20160601
> linux    lx-dataset    2016-06-01
> 07b33b7a-27a3-11e6-816f-df7d94eea009  centos-7            20160601
> linux    lx-dataset    2016-06-01
>
>
> Both of them perform the same, commands&prompt are listed below:
> # yum install samba-client samba-common cifs-utils
> # mount -t cifs -o user=admin,passwd=admin //10.20.1.162/testCifs /mnt
> mount error: cifs filesystem not supported by the system
> mount error(19): No such device
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>
> # /native/usr/lib/fs/smbfs/mount -F smbfs //admin:[email protected]/
> testCifs /mnt
> can't set locale ''
> mount: iconv_open(UCS-2/UTF-8): syserr = Invalid argument
>
>
> # mount.cifs -o user=alice,passwd=alice //10.20.1.168/store /store
> mount error: cifs filesystem not supported by the system
> mount error(19): No such device
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> 
> Can anyone help? Many thanks in advance!
> 
> Best,
> Dejia He
> ————————
> www.briphant.com
> Briphant Technologies Co., Ltd.
> 



-------------------------------------------
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

Reply via email to