From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Adam Thomas" Subject: Exporting Nested Directories Date: Wed, 27 Jun 2007 14:41:49 -0400 Message-ID: <19d180740706271141i7592b8bcu9b0c646ab62f550f@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1559034520==" To: nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1I3cSa-0004lz-GT for nfs@lists.sourceforge.net; Wed, 27 Jun 2007 11:41:48 -0700 Received: from wr-out-0506.google.com ([64.233.184.238]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I3cSc-0000rG-Mx for nfs@lists.sourceforge.net; Wed, 27 Jun 2007 11:41:52 -0700 Received: by wr-out-0506.google.com with SMTP id 76so234042wra for ; Wed, 27 Jun 2007 11:41:49 -0700 (PDT) List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net --===============1559034520== Content-Type: multipart/alternative; boundary="----=_Part_52130_26813249.1182969709128" ------=_Part_52130_26813249.1182969709128 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_52130_26813249.1182969709128 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline  
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 
 
------=_Part_52130_26813249.1182969709128-- --===============1559034520== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============1559034520== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs --===============1559034520==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Layton Subject: Re: Exporting Nested Directories Date: Wed, 27 Jun 2007 14:57:23 -0400 Message-ID: <20070627145723.9f739db9.jlayton@redhat.com> References: <19d180740706271141i7592b8bcu9b0c646ab62f550f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1I3chj-0006RN-O4 for nfs@lists.sourceforge.net; Wed, 27 Jun 2007 11:57:54 -0700 Received: from mx1.redhat.com ([66.187.233.31]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I3chm-0008VO-V8 for nfs@lists.sourceforge.net; Wed, 27 Jun 2007 11:57:31 -0700 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l5RIvO7i009184 for ; Wed, 27 Jun 2007 14:57:24 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5RIvOnG018117 for ; Wed, 27 Jun 2007 14:57:24 -0400 Received: from tleilax.poochiereds.net (vpn-14-151.rdu.redhat.com [10.11.14.151]) by pobox.corp.redhat.com (8.13.1/8.13.1) with SMTP id l5RIvNGv002187 for ; Wed, 27 Jun 2007 14:57:23 -0400 In-Reply-To: <19d180740706271141i7592b8bcu9b0c646ab62f550f@mail.gmail.com> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net On Wed, 27 Jun 2007 14:41:49 -0400 "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) > /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 ------------------------------------------------------------------------- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Dickson Subject: Re: Exporting Nested Directories Date: Thu, 28 Jun 2007 12:12:35 -0400 Message-ID: <4683DDF3.8060503@RedHat.com> References: <19d180740706271141i7592b8bcu9b0c646ab62f550f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: nfs@lists.sourceforge.net To: Adam Thomas Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1I3wi6-0001Z8-7a for nfs@lists.sourceforge.net; Thu, 28 Jun 2007 09:19:10 -0700 Received: from mx1.redhat.com ([66.187.233.31]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I3wi3-0005cM-8i for nfs@lists.sourceforge.net; Thu, 28 Jun 2007 09:19:08 -0700 In-Reply-To: <19d180740706271141i7592b8bcu9b0c646ab62f550f@mail.gmail.com> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net 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) > /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? 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