All of lore.kernel.org
 help / color / mirror / Atom feed
* Exporting Nested Directories
@ 2007-06-27 18:41 Adam Thomas
  2007-06-27 18:57 ` Jeff Layton
  2007-06-28 16:12 ` Steve Dickson
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Thomas @ 2007-06-27 18:41 UTC (permalink / raw)
  To: nfs


[-- Attachment #1.1: Type: text/plain, Size: 580 bytes --]

I'm trying to export two directories on the same filesystem. The exports
file looks something like this:

/raid 192.168.1.0/23(rw,sync)
/raid/userdir 192.168.1.0/23(rw,sync)

When I try to do this I get a lot of unusual behavior (some clients will
mount, but others won't even though they are within the same IP range).

Are there any restriction with exporting a nested directory like this?

The host is running RHELv3, kernel 2.4.21 with the stock nfs package. The
clients are all recent version of CentOS or Redhat Linux with the most
recent nfs-utils packages.

Thanks,
-Adam

[-- Attachment #1.2: Type: text/html, Size: 830 bytes --]

[-- Attachment #2: Type: text/plain, Size: 286 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #3: Type: text/plain, Size: 140 bytes --]

_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: Exporting Nested Directories
  2007-06-27 18:41 Exporting Nested Directories Adam Thomas
@ 2007-06-27 18:57 ` Jeff Layton
  2007-06-28 16:12 ` Steve Dickson
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Layton @ 2007-06-27 18:57 UTC (permalink / raw)
  To: nfs

On Wed, 27 Jun 2007 14:41:49 -0400
"Adam Thomas" <nfs@adamthomas.us> wrote:

> I'm trying to export two directories on the same filesystem. The exports
> file looks something like this:
> 
> /raid 192.168.1.0/23(rw,sync)
> /raid/userdir 192.168.1.0/23(rw,sync)
> 

That seems erm...a bit strange.

Any host that has access to /raid will have access to /raid/userdir
automatically. Why not just remove the second export here if they're
truly on the same filesystem? The options are exactly the same.

> When I try to do this I get a lot of unusual behavior (some clients will
> mount, but others won't even though they are within the same IP range).
> 

My first thought is that you may be running into some weirdness with
subtree checking here, though I'll confess that I've not looked closely
at that code in a long time.

> Are there any restriction with exporting a nested directory like this?
> 

There are some. Check out the subtree_check option in the exports
manpage, though for RHEL3 that should already be the default.

> The host is running RHELv3, kernel 2.4.21 with the stock nfs package. The
> clients are all recent version of CentOS or Redhat Linux with the most
> recent nfs-utils packages.
> 
> Thanks,
> -Adam
> 

-- 
Jeff Layton <jlayton@redhat.com>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: Exporting Nested Directories
  2007-06-27 18:41 Exporting Nested Directories Adam Thomas
  2007-06-27 18:57 ` Jeff Layton
@ 2007-06-28 16:12 ` Steve Dickson
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Dickson @ 2007-06-28 16:12 UTC (permalink / raw)
  To: Adam Thomas; +Cc: nfs



Adam Thomas wrote:
>  
> I'm trying to export two directories on the same filesystem. The exports 
> file looks something like this: 
>  
> /raid 192.168.1.0/23(rw,sync) <http://192.168.1.0/23(rw,sync)> 
> /raid/userdir 192.168.1.0/23(rw,sync) <http://192.168.1.0/23(rw,sync)> 
>  
> When I try to do this I get a lot of unusual behavior (some clients will 
> mount, but others won't even though they are within the same IP range). 
>  
> Are there any restriction with exporting a nested directory like this? 
No...

Try using the -v mount flag to see why the mount is failing...
Also there could be something in /var/log/message that might
explain the failure...

steved.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

end of thread, other threads:[~2007-06-28 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-27 18:41 Exporting Nested Directories Adam Thomas
2007-06-27 18:57 ` Jeff Layton
2007-06-28 16:12 ` Steve Dickson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.