[OpenIndiana-discuss] [smb] cannot share 'tank/test': smb add share failed

Dang Zhiqiang c_dddd at 163.com
Thu Apr 3 02:50:32 UTC 2014


I think I find the question.
I need enable smb/client:default and smb/server:default befor import tank.
# svcs -a |grep smb
disabled       10:38:35 svc:/network/smb/client:default
disabled       10:38:36 svc:/network/smb/server:default
online         10:38:56 svc:/network/shares/group:smb
# svcadm enable svc:/network/smb/client:default
# svcadm enable svc:/network/smb/server:default
# zpool import tank
nothing report.
so, I think befor enalbe smb/client and smb/server, import tank may success, and not report error.

At 2014-04-01 15:53:07,"Dang Zhiqiang" <c_dddd at 163.com> wrote:
>OS information:
># cat /etc/release 
>             OpenIndiana Development oi_151.1.9 X86 (powered by illumos)
>        Copyright 2011 Oracle and/or its affiliates. All rights reserved.
>                        Use is subject to license terms.
>                           Assembled 17 January 2014
>
>At 2014-04-01 15:49:21,"Dang Zhiqiang" <c_dddd at 163.com> wrote:
>
>Hi,
>When I set sharesmb=on, I obtain the following message, very strangem, how to fix it?
>
>
># zfs create tank/test
># zfs set sharesmb=on tank/test
># zfs set sharesmb=guestok=true tank/test
>
>
>win 7 visit test is ok.
>
>
># zpool export tank
># restart
>
>
># zpool import tank
>cannot share 'tank/test': smb add share failed
># dmesg |tail -n 1
>Apr  1 15:30:00 host2 smbd[991]: [ID 413393 daemon.error] dyndns: failed to get domainname
># zfs list tank/test
>NAME        USED  AVAIL  REFER  MOUNTPOINT
>tank/test    36K   274G    36K  /tank/test
>
>
>win 7 visit test is ok.
>
>
># zpool export tank
>cannot unmount '/tank/test': Device busy
># zpool export -f tank
># zpool import tank
># zpool export tank
># zpool import tank 
>
>
>_______________________________________________
>OpenIndiana-discuss mailing list
>OpenIndiana-discuss at openindiana.org
>http://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the OpenIndiana-discuss mailing list