Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Dynamic automounting of NFS volumes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Dynamic automounting of NFS volumes
Authored by: artgeek on Feb 19, '03 05:09:12PM

Darwin mounts things weirdly. I think you are on the right track with fstab, though, you just need to load it into NetInfo before it will stick, with ->

niload fstab . < 'your.fstabfile'

Backup NetInfo first!

Sounds like your 'lost' mounts are static, and can't be automounted again when Darwin occasionaly lets the NFS links go -> dynamic mounts should solve this problem. Probably a good idea to just load your NFS info into NetInfo /mounts by hand (NI Manager), and not include that info in the /etc/fstab flat file. As I understand /etc/fstab will cause those mounts to be static, NetInfo uses automounter -> though i'm still learning this stuff. So please test this for your desired results. Please post your findings, too :)

You can name the file you are loading into NetInfo anything you like. Use a '/dev/disk' format with /etc/fstab -> 'LABEL' appears broken (last i checked). This solved getting swap and Users to mount consistantly on a separate internal disk. I'm still working on my NFS too!

good luck.

Check these links for a start:

http://www.macosxhints.com/article.php?story=20021230053007256&query=fstab

http://www.macosxhints.com/article.php?story=20021011053443661

http://www.humbug.org.au/talks/fstab/fstab.html

http://www.opendarwin.org/



[ Reply to This | # ]