Re: Bugs in knfsd -- Problem re-exporting an NFS share

From: Neil Brown (neilb@cse.unsw.edu.au)
Date: Fri Dec 29 2000 - 16:30:48 EST


On Friday December 29, Frank.Olsen@stonesoft.com wrote:
> Hi -- could you please CC me if you reply to this mail.
>
> My problem is that I get an error when setting up the following
> configuration:
>
> A: /exports/A - Redhat 7.0
> B1/B2: mount /exports/A on /export/A from A - Redhat 6.2
> C: mount /exports/A on /mnt/A from B1 or B2 - Redhat 6.2
>
> I use knfsd/nfs-utils on each machine.
>
> bash# ls /mnt/A
> /mnt/A/A.txt: No such file or directory
>

This is not a supported configuration. You cannot export NFS mounted
filesystems with NFS. The protocol does not cope, and it
implementation doesn't even try.
NFS is for export local filesystems only.

>
> I searched for a while on deja.com, and there seemed to be some indications
> that knfsd was bugged and that using the user-mode code would work.
> However, no one replied specifically to my message, so I'm still not sure.
>
> BTW, what I tried to do was to set up a HA configuration of machines B1/B2
> using A as a "shared disk".
> This is just to try out the HA software without buying more
> hardware.

Try "nbd" the network block device. That should be able to give a
more realistic imitation of a share disk.

NeilBrown

>
> Thanks in advance for any help!
>
> Best regards,
> Frank Olsen
>
> PS Happy new year!
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 21:00:13 EST