LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Pulling my hair out over NFS FSID's (http://www.linuxquestions.org/questions/linux-general-1/pulling-my-hair-out-over-nfs-fsids-769504/)

damartin 11-16-2009 02:49 PM

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

damartin 11-17-2009 07:40 AM

Have i given enough information on this issue?

damartin 11-18-2009 01:07 AM

Can anyone confirm that the reason that when i mount either /mnt/v1 or /mnt/v2 and get the same filesystem is because of fsid's being the same? (the UUID of both drives is 0000:0000 or something like this!)


All times are GMT -5. The time now is 01:13 AM.