mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Bugs in knfsd -- Problem re-exporting an NFS share
@ 2000-12-30 20:43 Andrzej Krzysztofowicz
  2001-01-03  4:09 ` Neil Brown
  0 siblings, 1 reply; 12+ messages in thread
From: Andrzej Krzysztofowicz @ 2000-12-30 20:43 UTC (permalink / raw)
  To: Frank.Olsen, Neil Brown; +Cc: kernel list


> On Friday December 29, Frank.Olsen@stonesoft.com wrote:
> > Hi -- could you please CC me if you reply to this mail.
> > 
> > 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.

As I understand problem is somewhere else.
If this is intentionally unsupported configuration - OK. So why the error
appears ? The directory should be empty then.

If the configuration is unsupported at the moment and the  A.txt file is
located on A, some code that attempts to read re-exported files/directories
should be turned off (eg. #if 0).

If the A.txt file is local for B1/B2 hosts, it is (IMHO) an obvious bug.
Sucgh a file should be hidden at the act of mounting. For both local and
remote access.

Neil, could you tell us where the A.txt file is *really* located ?

Regards 
   Andrzej

BTW. AFAIR, I observed similar behaviour (files are visible but
     inaccessible) while mounting a local filesystem at a busy directory
     (eg.: mount /dev/fd0 .;ls -l) even in 2.2...

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk
-
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/

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Bugs in knfsd -- Problem re-exporting an NFS share
@ 2000-12-29 17:33 Frank.Olsen
  2000-12-29 21:30 ` Neil Brown
  0 siblings, 1 reply; 12+ messages in thread
From: Frank.Olsen @ 2000-12-29 17:33 UTC (permalink / raw)
  To: linux-kernel

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


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.

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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2001-01-06 19:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-30 20:43 Bugs in knfsd -- Problem re-exporting an NFS share Andrzej Krzysztofowicz
2001-01-03  4:09 ` Neil Brown
2001-01-03 10:37   ` Jorge L. deLyra
2001-01-03 10:52     ` Andi Kleen
2001-01-03 11:14       ` Jorge L. deLyra
2001-01-03 12:06         ` Andi Kleen
2001-01-03 12:49           ` Jorge L. deLyra
2001-01-03 13:01             ` Andi Kleen
2001-01-03 13:56               ` Jorge L. deLyra
2001-01-06 19:22                 ` Jorge L. deLyra
  -- strict thread matches above, loose matches on Subject: below --
2000-12-29 17:33 Frank.Olsen
2000-12-29 21:30 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®