Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Re: NFS problem, driving me nuts
  2001-08-29 19:31 NFS problem, driving me nuts Gary Molenkamp
@ 2001-08-29 14:34 ` Dave Uhring
  2001-08-30  2:53 ` Circusjunk
  1 sibling, 0 replies; 4+ messages in thread
From: Dave Uhring @ 2001-08-29 14:34 UTC (permalink / raw)


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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* NFS problem, driving me nuts
@ 2001-08-29 19:31 Gary Molenkamp
  2001-08-29 14:34 ` Dave Uhring
  2001-08-30  2:53 ` Circusjunk
  0 siblings, 2 replies; 4+ messages in thread
From: Gary Molenkamp @ 2001-08-29 19:31 UTC (permalink / raw)


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
-- 
 "If only you could see what I have seen with your eyes"
					-Roy Batty


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NFS problem, driving me nuts
  2001-08-29 19:31 NFS problem, driving me nuts Gary Molenkamp
  2001-08-29 14:34 ` Dave Uhring
@ 2001-08-30  2:53 ` Circusjunk
  2001-08-30 11:41   ` Gary Molenkamp
  1 sibling, 1 reply; 4+ messages in thread
From: Circusjunk @ 2001-08-30  2:53 UTC (permalink / raw)


On 29 Aug 2001 19:31:13 GMT, gary@csd.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
>-- 
> "If only you could see what I have seen with your eyes"
>					-Roy Batty


A's Export file bothers me having the Network's in them 
are system A and B on the same Sub net ? 

What are you using for name resolution ? 

why is / explicitly set to one Ip ( I would use a Host name )  and the
other three set to a network ? 





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NFS problem, driving me nuts
  2001-08-30  2:53 ` Circusjunk
@ 2001-08-30 11:41   ` Gary Molenkamp
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Molenkamp @ 2001-08-30 11:41 UTC (permalink / raw)



Thanks for the pointers.  It seemed the no_all_squash was messing
everything up from the beginning.  Removing it fixed all of the problem.

BTW:  It is a documented option in the RH 7.0 man pages for exports.



In article <3b8dd444.10101570@news>,  <Circusjunk@hotmail.com> wrote:
>On 29 Aug 2001 19:31:13 GMT, gary@csd.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
>>-- 
>> "If only you could see what I have seen with your eyes"
>>					-Roy Batty
>
>
>A's Export file bothers me having the Network's in them 
>are system A and B on the same Sub net ? 
>
>What are you using for name resolution ? 
>
>why is / explicitly set to one Ip ( I would use a Host name )  and the
>other three set to a network ? 
>
>
>


-- 
 "If only you could see what I have seen with your eyes"
					-Roy Batty


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-30 11:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-29 19:31 NFS problem, driving me nuts Gary Molenkamp
2001-08-29 14:34 ` Dave Uhring
2001-08-30  2:53 ` Circusjunk
2001-08-30 11:41   ` Gary Molenkamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox