From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9b51,3ba15c238690c69d X-Google-Attributes: gidf9b51,public X-Google-Thread: 111c93,3ba15c238690c69d X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-08-29 14:02:28 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Dave Uhring Newsgroups: comp.os.linux.alpha,comp.os.linux.setup Subject: Re: NFS problem, driving me nuts Followup-To: comp.os.linux.alpha Date: Wed, 29 Aug 2001 16:02:10 +0128 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <9mjfu1$k9r$1@panther.uwo.ca> User-Agent: KNode/0.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.os.linux.alpha:3700 comp.os.linux.setup:42859 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.