Pulling my hair out over NFS FSID's
I have fc10 2.6.27 with two USB 1.5Tb external drives on FAT32. They are mounted as /mnt/v1 and /mnt/v2 using the LABEL= to make sure they mount up correctly each boot (random device names depending on the order i switched them on). I have exported /mnt/v1 and /mnt/v2 over NFS.
When I mount these from another machine I get the first of the two mount points (as appears in /etc/exportfs) duplicated on both mounts. eg mount lister64:/mnt/v1 /data/v1 && mount lister64:/mnt/v2 /data/v2 gives the contents of /mnt/v1 in both /data/v1 and /data/v2.
I assumed that this is because the fsid is the same (0??) for both mount points - is that assumption correct? If so - I went onto adding the option fsid=1 and fsid=2 into the /etc/exportfs file and re-exporting.
With fsid set to anything other then 0 I am unable to mount at all - and syslogs shows mountd[xxxx]: refused mount request from xx.xx.xx.xx for /mnt/v1 (/): not exported.
What am I doing wrong?? I have spent days on this - I hope it's me being dumb!. Any hints appreciated!
/etc/exportfs:
/mnt/v1 192.168.8.*(fsid=1,ro,insecure)
/mnt/v2 192.168.8.*(fsid=2,ro,insecure)
/etc/fstab:
LABEL=V1 /mnt/v1 vfat defaults 0 0
LABEL=V2 /mnt/v2 vfat defaults 0 0
|