On 11/ 4/10 03:54 AM, Richard L. Hamilton wrote:
On 10/28/10 08:40 AM, Richard L. Hamilton wrote:
I have sharesmb=on set for a bunch of filesystems,
including three that weren't mounted.
  Nevertheless,
  all of those are advertised.  Needless to say,
the one that isn't mounted can't be accessed
  remotely,
even though since advertised, it looks like it could
  be.
When you say "advertised" do you mean that it appears
in
/etc/dfs/sharetab when the dataset is not mounted
and/or
you can see it from a client with 'net view' on a
client?

I'm using a recent build and I see the smb share
disappear
from both when the dataset is unmounted.

I could see it in Finder on a Mac client; presumably were
I on a Windows client, it would have appeared with "net view".
I've since turned off the sharesmb property on those filesystems,
so I may need to reboot (which I'd much rather not) to re-create
the problem.

That's fine.  If you see it again, try

        svcadm restart smb/server

My guess is that smbd had stale cache entries for those shares.
This area was reworked in snv_149 and that smbd cache was eliminated.

But if recent builds don't have the problem, that's the main thing.

The following update was pushed to snv_149:

PSARC/2010/154 Unified sharing system call
6968897 sharefs: Unified sharing system call

Alan
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to