techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 3461
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Apr 11, 10, 12:38    nfs fails to see mounted drive
I have a partition mounted in another partition, for example:

music is /dev/hda1, mounted in /home/user, for:
/home/user/music

I have a second partition mounted in music, say ogg:
/home/user/music/ogg

both are mounted via fstab, ext3.

The problem: with a standard nfs export rule
/home/user/music *(rw,sync,no_root_squash)

when I mounted this on a remote machine, it didn't show the second sub mount partition data. The solution was easy, just add nohide and crossmnt, then restart nfs-kernel-server:

entry in /etc/exports now:
/home/user/music *(rw,sync,no_root_squash,nohide,crossmnt)
Display posts from previous:   

All times are GMT - 8 Hours