My home directory on clem is mounted at /mnt/nfs on mavis. (Works fine.) This is the fstab on mavis, my personal box. Because clem dual boots, there are also smbfs entries which are, for this discussion, irrevelant.
[root@mavis root]# cat /etc/fstab
/dev/hda2 / ext3 defaults 1 1
/dev/hda1 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdb2 /mnt/hdb ext3 noauto,users,rw 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
//clem/c /mnt/clemc smbfs noauto,users,rw,credentials=/home/rj/credentials,umask=000
//clem/a /mnt/clema smbfs noauto,users,rw,credentials=/home/rj/credentials,umask=000
clem:/home/rj /mnt/nfs nfs rsize=8192,wsize=8192,timeo=14,intr
To make the directory available, I have this in clem's /etc/exports [root@clem root]# cat /etc/exports /home/rj 192.168.1.8(rw,sync)
This works fine. Now then, over on clem I have this old Win95 drive that is partitioned into 5, all 5 partitions mounted at mount points under /home/rj (/home/rj/mnt/c1, /home/rj/mnt/c5 etc). Here is the fstab from clem:
[root@clem root]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdc1 /home/rj/mnt/c1 vfat auto,users,ro
/dev/hdc5 /home/rj/mnt/c5 vfat auto,users,ro
/dev/hdc6 /home/rj/mnt/c6 vfat auto,users,ro
/dev/hdc7 /home/rj/mnt/c7 vfat auto,users,ro
/dev/hdc8 /home/rj/mnt/c8 vfat auto,users,rw,uid=rj,gid=rj
[root@clem root]#
Notice that the last entry is different than the other four. If & when I get it to work like I want, they'll all look alike.
At mavis, I can see the mount points [rj@mavis mnt]$ ls -l /mnt/nfs/mnt total 20 drwxrwxr-x 2 rj rj 4096 Jun 9 20:18 c1 drwxrwxr-x 2 rj rj 4096 Jun 9 20:18 c5 drwxrwxr-x 2 rj rj 4096 Jun 9 20:18 c6 drwxrwxr-x 2 rj rj 4096 Jun 9 20:18 c7 drwxrwxr-x 2 rj rj 4096 Jun 9 20:18 c8 [rj@mavis mnt]$
But I can't see inside: [rj@mavis mnt]$ ls -l /mnt/nfs/mnt/c8 total 0 [rj@mavis mnt]$
However, at clem, I can do what I want to with the same drive: [rj@clem rj]$ ls -l /home/rj/mnt/c8 | head -16 total 387628 -rwxr-xr-x 1 rj rj 1127137 Feb 16 1998 0136.mov -rwxr-xr-x 1 rj rj 2141 Nov 7 1998 205_240_207_91.html -rwxr-xr-x 1 rj rj 14983 Mar 22 1998 28800-baud.shtml -rwxr-xr-x 1 rj rj 45056 Nov 8 1997 2.html -rwxr-xr-x 1 rj rj 15688 Aug 23 1998 384.gif -rwxr-xr-x 1 rj rj 20360 Aug 23 1998 385.gif -rwxr-xr-x 1 rj rj 1131 Nov 5 1998 3comside.htm -rwxr-xr-x 1 rj rj 2945024 Apr 11 1998 3d295069.exe -rwxr-xr-x 1 rj rj 29582 Dec 25 1997 562fifty.mid -rwxr-xr-x 1 rj rj 51615 Nov 13 1997 9045b.gif -rwxr-xr-x 1 rj rj 219493 Nov 13 1997 9045c.gif -rwxr-xr-x 1 rj rj 81556 Sep 22 1998 911ch1.wav -rwxr-xr-x 1 rj rj 167743 Feb 25 1998 9685.zip -rwxr-xr-x 1 rj rj 3198745 Jul 29 1998 9918a.exe -rwxr-xr-x 1 rj rj 37712 Jan 7 1999 a9928src.zip [rj@clem rj]$
or this:
[rj@clem rj]$ tree