From: Dave Uhring <dmuhring@my-deja.com>
Subject: Re: NFS problem, driving me nuts
Date: Wed, 29 Aug 2001 16:02:10 +0128 [thread overview]
Message-ID: <toqm33a8t08q0f@corp.supernews.com> (raw)
In-Reply-To: 9mjfu1$k9r$1@panther.uwo.ca
Gary Molenkamp wrote:
> I'm trying to mount the root partition of one machine (call it A) to
> another machine (call it B) so that B can perform a backup of machine
> A.
>
> The nfs client reports:
> failed, reason given by server: Permission denied
> When I look in the server's logs I see the messages:
>
> [date] A rpc.mountd: authenticated mount request from 192.168.3.2:859
> for / (/)
> [date] A rpc.mountd: getfh failed: Operation not permitted
>
> Every reference I've seen to this error states a possible bug in an
> old distro of RH, but I don't see any current references to this
> error.
>
> I'm using rh 7.0 alpha, with nfs-utils-0.3.1-7 on both the client and
> server. The machines are both Compaq ES40's.
>
> PS. I'm also seeing this error between two XP1000s running RH7.1alpha
>
> Any help/pointers/ideas would be appreciated.
>
> A's exports file:
>
> /home 192.168.3.0/255.255.255.0(rw,no_all_squash,no_root_squash)
> /pkg 192.168.3.0/255.255.255.0(rw,no_all_squash,no_root_squash)
> /share
> 192.168.3.0/255.255.255.0(ro,no_all_squash,no_root_squash)
> / 192.168.3.2(ro,no_all_squash,no_root_squash)
>
> B's fstab file
>
> /dev/sda3 / ext2 defaults 1 1
> /dev/sda2 /boot ext2 defaults 1 2
> /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
> /dev/fd0 /mnt/floppy auto noauto,owner 0 0
> none /proc proc defaults 0 0
> none /dev/pts devpts gid=5,mode=620 0 0
> /dev/sda1 swap swap defaults 0 0
> A:/pkg /pkg nfs rw,hard,intr 0 0
> A:/share /share nfs ro,hard,intr 0 0
> A:/home /home nfs rw,hard,intr 0 0
> A:/ /A nfs ro,hard,intr 0 0
First off, leave out the no_all_squash, it's not documented as an
option in the exports man page, and the no_root_squash alone is
adequate.
Second, the man page shows hostnames rather than IP addresses; and
while the IP addresses may work, following the man page is usually a
good idea.
Third, are you sure that the nfs.server script has been run
successfully on the server host? With a faulty /etc/exports, it
probably didn't start up properly.
next prev parent reply other threads:[~2001-08-29 14:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-29 19:31 NFS problem, driving me nuts Gary Molenkamp
2001-08-29 14:34 ` Dave Uhring [this message]
2001-08-30 2:53 ` Circusjunk
2001-08-30 11:41 ` Gary Molenkamp
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox