On Sun, Dec 20, 2009 at 11:33 PM, f3ar007 <f3ar007@xxxxxxxxx> wrote: > hi, > > i have a problem mounting two separate directories on the client. the > exports, on the server, are defined as two different directories. and > exportfs -rav outputs the correct ipaddr:/path/to/mount on the server. > when i mount the separate directories on the client "mount -t nfs > ipaddr:/full/path /mnt/hd1" and "mount -t nfs ipaddr:/full/path > /mnt/hd2" both directories on the client /mnt/hd1 and /mnt/hd2 list > the contents of only hd2. for example, on the client, ls /mnt/hd1 > outputs the same directories as ls /mnt/hd2. the server has the > correct mount points /dev/sda1 as /mnt/1tb and /dev/sdb1 as > /mnt/320gb. > > here is the code to clarify: > > # server output of `mount | grep /dev/sd` > /dev/sda1 on /mnt/1tb type vfat (rw,noexec,nosuid,nodev,umask=000) > /dev/sdb1 on /mnt/320gb type vfat (rw,noexec,nosuid,nodev,umask=000) > # notes two different harddrives here, so the directories in each are different. > > # server output of `cat /etc/exports` > /mnt/1tb client-ipaddress(rw,fsid=0,subtree_check,no_root_squash,crossmnt,async) > /mnt/320gb client-ipaddress(rw,fsid=0,subtree_check,no_root_squash,crossmnt,async) I think the problem is that you have specified that both are fsid=0. There should only be one export with fsid=0 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html