Cannot see fils in bound folders.

J. Bruce Fields bfields at fieldses.org
Sun Jun 10 18:43:14 EDT 2007


On Sun, Jun 10, 2007 at 11:23:20PM +0200, Jörg Bernau wrote:
> Well I set up a kerberized NFSv4 server successfully on an NSLU2.

Cool!  And you have krb5 working?

> Well, my fstab on serverside is:
> 
> /dev/sdb1               /                               reiserfs
> acl,user_xattr          1  1
> /dev/sdb3               /media/sda3                     reiserfs
> acl,user_xattr          1  1
> /media/sda3/home        /home                           none
> bind                    0  0
> /media/sda3/home        /exports/home                   none
> bind                    0  0
> /media/sda3/DATEN       /exports/DATEN                  none
> bind                    0  0
> 
> my /etc/exports is:
> 
> /exports                *.joerg-bernau.de
> (fsid=0,no_root_squash,insecure,no_subtree_check)

There should be no whitespace between the *.joerg-bernau.de and the
export options.  (See the "exports" man page.)

> /exports/NFSv4          *.joerg-bernau.de

You can't export /exports/NFSv4 with different export options from
/exports unless it's on a different filesystem.  (From the above fstab
it appears to be on the same filesystem as /exports.)

> /home *(rw,crossmnt,insecure,sync,root_squash,subtree_check)

The "crossmnt" option should be on the /exports directory, not on this
directory.  And you want to export /exports/home, not /home.

--b.


More information about the NFSv4 mailing list