Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automounts not re-mounting



I have a web server that is part of our OD domain. I recently stumbled on the feature whereby Apache will correctly locate a user's home directory when presented with a "~/username/" request, even if the user's home directory is on another server. Very cool.

The problem I am having is that when the home directory server is rebooted, the web server loses track of the mount points from that server, and Apache is unable to access the users' Sites folders.

From an earlier discussion, I learned how to force the webserver to refresh its mounts using this command:

automount -m /automount/Servers -fstab -mnt /private/var/automount/ Network/Servers -m /automount/static -static -mnt /private/var/automount

But this only works up to a point. There are actually two shared folders coming from the home directory server and when I run the above command, only one is accessible. When I look at "/Network/ Servers", I can see both folders, however only one has any contents. The other shows up as empty.

Rebooting the server solves the problem, but I would like to have a less harsh solution. If I thought it would help, I would create a cron job with the "automount" command above, but as I said, it doesn't seem to work reliably.

Any suggestions would be greatly appreciated!

Tom

------------------------------------------------------------------------ ----
Tom Donovan Hawthorn School District 73
Mgr. of Tech. Systems, Webmaster Vernon Hills, IL
------------------------------------------------------------------------ ----



_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.