On Apr 10, 2009, at 10:16 AM, Robert Thurlow wrote:

> Steven Schlansker wrote:
>
>> I've set up all my ZFS filesystems (about 3000 of them - I made a  
>> separate one for each user as I've heard recommended) and I'm  
>> trying to share them all
>
> Hi Steven,
>
> This is the right place, and you've found what looks like a
> real problem I haven't seen before.  Validation is good, right? :-)

At least it means I haven't completely lost it yet!

>
>
> We have had trouble in the past with large numbers of shares, and
> we're not done with the work to address it yet.  I wondered about
> the start method timing out, but that timeout is an hour, and
> you're seeing 5 minutes.

One time I did see it timeout after an hour - that particular time I  
was creating a bunch of ZFS filesystems at the same time, and it was  
going /really/ slowly (one FS about every 30 seconds).  I'm guessing  
some sort of global zfs lock was probably holding up the start script,  
and it timed out...

But either way, I'm not seeing that now.

>
>
> I would try to get things stable with just one share in dfstab;
> you do have to have at least one for the server to not disable
> itself.  If you can get the server functional and then add
> shares, we can see if the problem returns and see if it's about
> scale.  If you just can't get going at all, it's a different
> problem.
>
> Rob T


I changed dfstab, ignoring the warning at the top completely, to


# Do not modify this file directly.
# Use the sharemgr(1m) command for all share management
# blah blah blah...
share -F nfs -o ro /tmp

and then svcadm enable network/nfs/server

Same thing.  It starts up, complains that there's no shares, then  
shuts down.

Interestingly enough, it rewrote my dfstab to:
share -F nfs -o sec=sys,ro /tmp

so someone somewhere did see the line and rewrote it.

I also tried using a share command directly in my conversation with  
Tom earlier - same symptoms.

Thanks for the help!  Hopefully we can get this going soon, I've got a  
very finicky NFS server which really needs to be retired soon and  
replaced by this guy ;-)
Steven

Reply via email to