xfs
[Top] [All Lists]

Re: Another case of "getfh failed: Operation not permitted"

To: Tad Dolphay <tbd@xxxxxxx>
Subject: Re: Another case of "getfh failed: Operation not permitted"
From: Jarkko Santala <jake@xxxxxxx>
Date: Thu, 12 Jul 2001 21:26:01 +0300 (EET DST)
Cc: Eric Sandeen <sandeen@xxxxxxx>, "linux-xfs@xxxxxxxxxxx" <linux-xfs@xxxxxxxxxxx>
In-reply-to: <200107121815.NAA08768@fsgi158.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Thu, 12 Jul 2001, Tad Dolphay wrote:

> >
> > On Thu, 12 Jul 2001, Eric Sandeen wrote:
> >
> > > Jarkko Santala wrote:
> > >
> > > > I'm running Linux 2.4.6 + linux-2.4.6-xfs-07052001.patch on a RedHat 7.1
> > > > based system. When I tried to mount an xfs filesystem (which sits
> > > > on top of lvm) exported from this box with NFS, I get a "Permission
> > > > denied" on the client side and "rpc.mountd: getfh failed: Operation not
> > > > permitted" on the server side.
> > >
> > > Hm, this again... at one point this was chalked up to the
> > > nfsd_operations patch that Mandrake was using, but it showed up on SuSE
> > > as well - but I never got very far with that.  Is your RH7.1 system
> > > pretty much stock (nfs-utils version, etc)?  I'll build up a kernel w/
> > > that patch and take another look.
> >
> > It is pretty much stock, nfs-utils version is 0.3.1-5. There's of course
> > the reiserfs stuff, xfs utils, new samba, but AFAIK nothing that should
> > have any affect on this.
> >
> > I'm right now trying to compile with kgcc, doubt if it will help though.
> >
>
> Could you also supply the /etc/exports contents from the server and the
> mount command from the client? Also have you tried "exportfs -arv" on the
> server?

You probably got my previous mail already, that it works, at least for
now, with kgcc compiled kernel. But here's stuff you asked anyway:

---cut---
vaasi:~$ cat /etc/exports
#
# Vitun NFS
#
/xfs    curry(rw)
---cut---
curry:~# mount vaasi:/xfs /mnt/vaasi/xfs
---cut---

I tried all kinds of exportfs commands on the server, including that one,
plus stopping and restarting nfs stuff, rebooting many times, mount &
umounting the xfs volume, xfs_check and so on. Nothing helped then.

        -jake

-- 
Jarkko Santala <jake@xxxxxxx>  System Administrator  Cell. +358407204512
SSH Communications Security Corp, Helsinki, Finland   http://www.ssh.com
        "If only you had a personality instead of an attitude."


<Prev in Thread] Current Thread [Next in Thread>