Results 1 to 3 of 3
I have a machine (mercury) on which /home/hyperhacker/video is a mounted external hard drive while the rest of /home/hyperhacker is on the internal hard disk. I have a second machine ...
- 10-21-2010 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 24
NFS autofs can't see mounted subdirectory
I have a machine (mercury) on which /home/hyperhacker/video is a mounted external hard drive while the rest of /home/hyperhacker is on the internal hard disk. I have a second machine (konata) using autofs to automatically mount mercury:/home/hyperhacker in /mnt/mercury as needed. This works, except /mnt/mercury/video shows up empty.
mercury:/etc/exports has:
and I've tried a few variations in konata:Code:/home/hyperhacker konata(ro,subtree_check) /home/hyperhacker/video konata(ro,subtree_check)
/mnt/mercury mounts automatically, but /mnt/mercury/video still shows up empty. I can only manually mount it:Code:$ cat /etc/auto.master [...] +auto.master /mnt /etc/auto.mercury /mnt/mercury/video /etc/auto.mercury.video $ cat /etc/auto.mercury * mercury:/home/hyperhacker $ cat /etc/auto.mercury.video * mercury:/home/hyperhacker/video
Then the contents show up, so mounting works. Just autofs doesn't seem to handle it... probably I've done something wrong in the config?Code:$ sudo mount mercury:/home/hyperhacker/video /mnt/mercury/video
Last edited by HyperHacker; 10-21-2010 at 04:20 AM. Reason: typo in config, but fixing it didn't help.
- 10-23-2010 #2Just Joined!
- Join Date
- Oct 2010
- Location
- Reston, VA
- Posts
- 26
Not sure. Have you tried listing the directories in the reverse order?
/mnt/mercury/video /etc/auto.mercury.video
/mnt /etc/auto.mercury
-Gooney0
- 10-23-2010 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 24
No good. Still can't see anything in /mnt/mercury/video unless I explicitly mount it.


Reply With Quote