* recursive exports && linux nfs
@ 2000-12-12 9:36 Marc Lehmann
2000-12-15 22:54 ` Pavel Machek
0 siblings, 1 reply; 4+ messages in thread
From: Marc Lehmann @ 2000-12-12 9:36 UTC (permalink / raw)
To: linux-kernel
Hi ;)
I am trying to export the whole filesystem hierarchy on one of my servers
(this includes /fs, which is an automounted directory using autofs).
Now I have two problems:
1) exporting: exportfs does not really exports filesystems that are
not present when exportfs is being called (some of my filesystems
are only available temporarily). Also, exportfs of course forces the mount
of all filesystems that are mountable, which can take considerable time.
2) using: I can do cd /nfs/fs, but the directoy is always empty, and when I
try to step into a subdirectory I always get "No such file or directory".
I am using linux-2.2.18, nfsv3 + nfs-utils-0.2.1.
Thanks a lot for any insights, even if this means "this is not supported"
;)
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@opengroup.org |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
-
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] 4+ messages in thread* Re: recursive exports && linux nfs
2000-12-12 9:36 recursive exports && linux nfs Marc Lehmann
@ 2000-12-15 22:54 ` Pavel Machek
2000-12-17 9:42 ` Marc Lehmann
0 siblings, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2000-12-15 22:54 UTC (permalink / raw)
To: linux-kernel
Hi!
> I am trying to export the whole filesystem hierarchy on one of my servers
> (this includes /fs, which is an automounted directory using autofs).
>
> Now I have two problems:
>
> 1) exporting: exportfs does not really exports filesystems that are
> not present when exportfs is being called (some of my filesystems
> are only available temporarily). Also, exportfs of course forces the mount
> of all filesystems that are mountable, which can take considerable time.
>
> 2) using: I can do cd /nfs/fs, but the directoy is always empty, and when I
> try to step into a subdirectory I always get "No such file or directory".
>
> I am using linux-2.2.18, nfsv3 + nfs-utils-0.2.1.
>
> Thanks a lot for any insights, even if this means "this is not supported"
> ;)
This can't be supported, afaict, because nfs handles have limited
size.
Pavel
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
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] 4+ messages in thread
* Re: recursive exports && linux nfs
2000-12-15 22:54 ` Pavel Machek
@ 2000-12-17 9:42 ` Marc Lehmann
2000-12-17 22:11 ` Pavel Machek
0 siblings, 1 reply; 4+ messages in thread
From: Marc Lehmann @ 2000-12-17 9:42 UTC (permalink / raw)
To: Pavel Machek; +Cc: linux-kernel
On Fri, Dec 15, 2000 at 11:54:46PM +0100, Pavel Machek <pavel@suse.cz> wrote:
> > 2) using: I can do cd /nfs/fs, but the directoy is always empty, and when I
> > try to step into a subdirectory I always get "No such file or directory".
> >
> > Thanks a lot for any insights, even if this means "this is not supported"
> > ;)
>
> This can't be supported, afaict, because nfs handles have limited
> size.
Ehrm, did you really read my mail? Most people told me something like
"recursive exports are not supported" (actually, they are and they work),
and it seems nobody really read what I wrote :(
My problem is that autofs doesn't work. Example:
/ reiserfs
/fs autofs
/fs/big ext2
When I exportfs /, /fs AND /fs/big then I can mount /fs on another box,
but it is always empty, even if something (e.g. /fs/big) is mounted and
can be accessed fine the whole time. Automounting doesn't work, either, of
course.
Another (less grave) problem is that exportfs (and/or rpc.nfsd) require
network access and access to the volume, so they a) mount all automounted
directories (VERY expensive) and require network access (making all
clients NOT survive a reboot).
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@opengroup.org |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
-
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] 4+ messages in thread* Re: recursive exports && linux nfs
2000-12-17 9:42 ` Marc Lehmann
@ 2000-12-17 22:11 ` Pavel Machek
0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2000-12-17 22:11 UTC (permalink / raw)
To: linux-kernel
Hi!
> > > 2) using: I can do cd /nfs/fs, but the directoy is always empty, and when I
> > > try to step into a subdirectory I always get "No such file or directory".
> > >
> > > Thanks a lot for any insights, even if this means "this is not supported"
> > > ;)
> >
> > This can't be supported, afaict, because nfs handles have limited
> > size.
>
> Ehrm, did you really read my mail? Most people told me something like
> "recursive exports are not supported" (actually, they are and they work),
> and it seems nobody really read what I wrote :(
They do not work too well. They break guarantee that handles are
persistent across reboots. Recursive exports are huge kludge. They
have to be.
[Sorry, I did not read your mail too carefully]
> My problem is that autofs doesn't work. Example:
>
> / reiserfs
> /fs autofs
> /fs/big ext2
>
> When I exportfs /, /fs AND /fs/big then I can mount /fs on another box,
> but it is always empty, even if something (e.g. /fs/big) is mounted and
> can be accessed fine the whole time. Automounting doesn't work, either, of
> course.
>
> Another (less grave) problem is that exportfs (and/or rpc.nfsd) require
> network access and access to the volume, so they a) mount all automounted
> directories (VERY expensive) and require network access (making all
> clients NOT survive a reboot).
>
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
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] 4+ messages in thread
end of thread, other threads:[~2000-12-17 22:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-12 9:36 recursive exports && linux nfs Marc Lehmann
2000-12-15 22:54 ` Pavel Machek
2000-12-17 9:42 ` Marc Lehmann
2000-12-17 22:11 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox