Re: NFS and partitioned md

From: Trond Myklebust
Date: Mon Jun 26 2006 - 17:50:54 EST


On Mon, 2006-06-26 at 23:20 +0200, Martin Filip wrote:
> Trond Myklebust pÃÅe v Po 26. 06. 2006 v 16:58 -0400:
> > On Mon, 2006-06-26 at 22:52 +0200, Martin Filip wrote:
> > > Hello to LKML,
> > >
> > > few days ago I've changed my sw RAID5 to use md_d devices, which are
> > > "partitonable". (major 254, minor dependant on partiton no)
> > >
> > > The problem is with kernel space NFS daemon. When I create loopback
> > > device and export it - everything works OK, but when exported directory
> > > is directly something goes really wrong and it's not possible to mount
> > > it.
> >
> > Could we at the very least see a copy of your /etc/exports
> > and /etc/fstab please?
> of course... thought It's irelevant when it works with other devices...
>
> $ cat /etc/exports
> /mnt/data/public *(ro,all_squash,async)
>
> mounted via
> mount -t nfs 192.168.0.2:/mnt/data/public /mnt/tmp/

You are running with the 'all_squash' export option: does the anonymous
user actually have the required permissions to access /mnt/data/public?

Cheers,
Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/