Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* NFS and Alpha
@ 2000-09-28 16:40 James Fowler
  2000-09-29  0:50 ` Blake Carlson
  0 siblings, 1 reply; 4+ messages in thread
From: James Fowler @ 2000-09-28 16:40 UTC (permalink / raw)
  To: axp-list

I have been working on this for a while.  The HOWTO says that it is
simple.  I believe that I have followed everything in the HOWTO and it is
still not working. I want to export my /home directory from my alpha.  I
am running RH6.1 (with the upgrades to 6.2) with kernel 2.2.17 compiled
with NFS support.

My /etc/exports looks like this (I was trying anything):
/home   192.168.1.6(rw,root_squash)
/home   192.168.1.1(rw,root_squash)
/home   192.168.1.7(rw,root_squash)
/home   24.21.78.235(rw,root_squash)

My /etc/hosts.deny:
ALL

My /etc/hosts.allow:
portmap: 192.168.1.0/255.255.255.0
portmap: 192.168.1.1/255.255.255.0
portmap: 192.168.1.6

The error messages I get when trying to mount it by machine
on 192.168.1.1:
[root@masq /root]# mount -t nfs george.house:/home /mnt/ahm
mount: george.house:/home failed, reason given by server: Permission
denied
(this doesn't change when I use different -o on the mount command)

on 192.168.1.6:
[root@abit santiago]# mount -t nfs george.house:/home /mnt/ahm
mount: george.house:/home failed, reason given by server: Permission
denied

I then tried to export from abit.house (192.168.1.6).  When I try to mount
that on george.house (192.168.1.254) I get:
[root@george rpm]# mount -t nfs abit.house:/mnt/DOS_hde1 /mnt/zips
mount: RPC: Program not registered

I have tried /sbin/exportfs it seemed to be broken - so I killed the
services by hand and restarted them (portmap, nfsd, mountd, and I have
tried it both with and without statd).
I have installed:
[root@george RPMS]# rpm -qa |grep nfs
knfsd-clients-1.4.7-7
knfsd-1.4.7-7

Any ideas, or help would be appreciated.  Thanks,
James
------------------------------------------------------------------------------
James Fowler
Technology & Education					
jamesf@sequoia.net						ICQ: 22088266
-----------------------------------------------------------------------------





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

* Re: NFS and Alpha
  2000-09-28 16:40 James Fowler
@ 2000-09-29  0:50 ` Blake Carlson
  2000-09-29  1:25   ` James Fowler
  0 siblings, 1 reply; 4+ messages in thread
From: Blake Carlson @ 2000-09-29  0:50 UTC (permalink / raw)
  To: axp-list

James -

Try using nfsd instead of knfsd. Also, exportfs *should* work.
To add new mount points:

1) Unexport everything (verbose) -->   exportfs -uav   
2) Export exerything   (verbose) -->   exportfs -av

Also, the exports file should be one line per mount point.

/home host1(rw) host2(rw) host3(rw)
/data host1(rw) host2(rw) host3(rw)

Good Luck -
Blake

On Thu, 28 Sep 2000, James Fowler wrote:

> I have been working on this for a while.  The HOWTO says that it is
> simple.  I believe that I have followed everything in the HOWTO and it is
> still not working. I want to export my /home directory from my alpha.  I
> am running RH6.1 (with the upgrades to 6.2) with kernel 2.2.17 compiled
> with NFS support.
> 
> My /etc/exports looks like this (I was trying anything):
> /home   192.168.1.6(rw,root_squash)
> /home   192.168.1.1(rw,root_squash)
> /home   192.168.1.7(rw,root_squash)
> /home   24.21.78.235(rw,root_squash)
> 
> My /etc/hosts.deny:
> ALL
> 
> My /etc/hosts.allow:
> portmap: 192.168.1.0/255.255.255.0
> portmap: 192.168.1.1/255.255.255.0
> portmap: 192.168.1.6
> 
> The error messages I get when trying to mount it by machine
> on 192.168.1.1:
> [root@masq /root]# mount -t nfs george.house:/home /mnt/ahm
> mount: george.house:/home failed, reason given by server: Permission
> denied
> (this doesn't change when I use different -o on the mount command)
> 
> on 192.168.1.6:
> [root@abit santiago]# mount -t nfs george.house:/home /mnt/ahm
> mount: george.house:/home failed, reason given by server: Permission
> denied
> 
> I then tried to export from abit.house (192.168.1.6).  When I try to mount
> that on george.house (192.168.1.254) I get:
> [root@george rpm]# mount -t nfs abit.house:/mnt/DOS_hde1 /mnt/zips
> mount: RPC: Program not registered
> 
> I have tried /sbin/exportfs it seemed to be broken - so I killed the
> services by hand and restarted them (portmap, nfsd, mountd, and I have
> tried it both with and without statd).
> I have installed:
> [root@george RPMS]# rpm -qa |grep nfs
> knfsd-clients-1.4.7-7
> knfsd-1.4.7-7
> 
> Any ideas, or help would be appreciated.  Thanks,
> James
> ------------------------------------------------------------------------------
> James Fowler
> Technology & Education					
> jamesf@sequoia.net						ICQ: 22088266
> -----------------------------------------------------------------------------
> 
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 




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

* Re: NFS and Alpha
  2000-09-29  0:50 ` Blake Carlson
@ 2000-09-29  1:25   ` James Fowler
  0 siblings, 0 replies; 4+ messages in thread
From: James Fowler @ 2000-09-29  1:25 UTC (permalink / raw)
  To: axp-list

Thank you Blake!  I think I wasn't using the exportfs command correctly
all along.  Guess it really is simple.  Thanks again.
James

On Thu, 28 Sep 2000, Blake Carlson wrote:

> James -
> 
> Try using nfsd instead of knfsd. Also, exportfs *should* work.
> To add new mount points:
> 
> 1) Unexport everything (verbose) -->   exportfs -uav   
> 2) Export exerything   (verbose) -->   exportfs -av
> 
> Also, the exports file should be one line per mount point.
> 
> /home host1(rw) host2(rw) host3(rw)
> /data host1(rw) host2(rw) host3(rw)
> 
> Good Luck -
> Blake
> 
> On Thu, 28 Sep 2000, James Fowler wrote:
> 
> > I have been working on this for a while.  The HOWTO says that it is
> > simple.  I believe that I have followed everything in the HOWTO and it is
> > still not working. I want to export my /home directory from my alpha.  I
> > am running RH6.1 (with the upgrades to 6.2) with kernel 2.2.17 compiled
> > with NFS support.
> > 
> > My /etc/exports looks like this (I was trying anything):
> > /home   192.168.1.6(rw,root_squash)
> > /home   192.168.1.1(rw,root_squash)
> > /home   192.168.1.7(rw,root_squash)
> > /home   24.21.78.235(rw,root_squash)
> > 
> > My /etc/hosts.deny:
> > ALL
> > 
> > My /etc/hosts.allow:
> > portmap: 192.168.1.0/255.255.255.0
> > portmap: 192.168.1.1/255.255.255.0
> > portmap: 192.168.1.6
> > 
> > The error messages I get when trying to mount it by machine
> > on 192.168.1.1:
> > [root@masq /root]# mount -t nfs george.house:/home /mnt/ahm
> > mount: george.house:/home failed, reason given by server: Permission
> > denied
> > (this doesn't change when I use different -o on the mount command)
> > 
> > on 192.168.1.6:
> > [root@abit santiago]# mount -t nfs george.house:/home /mnt/ahm
> > mount: george.house:/home failed, reason given by server: Permission
> > denied
> > 
> > I then tried to export from abit.house (192.168.1.6).  When I try to mount
> > that on george.house (192.168.1.254) I get:
> > [root@george rpm]# mount -t nfs abit.house:/mnt/DOS_hde1 /mnt/zips
> > mount: RPC: Program not registered
> > 
> > I have tried /sbin/exportfs it seemed to be broken - so I killed the
> > services by hand and restarted them (portmap, nfsd, mountd, and I have
> > tried it both with and without statd).
> > I have installed:
> > [root@george RPMS]# rpm -qa |grep nfs
> > knfsd-clients-1.4.7-7
> > knfsd-1.4.7-7
> > 
> > Any ideas, or help would be appreciated.  Thanks,
> > James
> > ------------------------------------------------------------------------------
> > James Fowler
> > Technology & Education					
> > jamesf@sequoia.net						ICQ: 22088266
> > -----------------------------------------------------------------------------
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> > 
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 

------------------------------------------------------------------------------
James Fowler
Technology & Education					
jamesf@sequoia.net						ICQ: 22088266
-----------------------------------------------------------------------------





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

* Re: NFS and Alpha
@ 2000-09-29 17:56 David Rysdam
  0 siblings, 0 replies; 4+ messages in thread
From: David Rysdam @ 2000-09-29 17:56 UTC (permalink / raw)
  To: axp-list

I had this same problem (on Intel).  Then I realized
the error message is actually meaningless--it's not a
"permissions" problem at all.  NFS wasn't compiled
into my kernel (server on the server end, filesystem
on the client end).

--- James Fowler <santiago@eng.utah.edu> wrote:
> I have been working on this for a while.  The HOWTO
> says that it is
> simple.  I believe that I have followed everything
> in the HOWTO and it is
> still not working. I want to export my /home
> directory from my alpha.  I
> am running RH6.1 (with the upgrades to 6.2) with
> kernel 2.2.17 compiled
> with NFS support.
> 
> My /etc/exports looks like this (I was trying
> anything):
> /home   192.168.1.6(rw,root_squash)
> /home   192.168.1.1(rw,root_squash)
> /home   192.168.1.7(rw,root_squash)
> /home   24.21.78.235(rw,root_squash)
> 
> My /etc/hosts.deny:
> ALL
> 
> My /etc/hosts.allow:
> portmap: 192.168.1.0/255.255.255.0
> portmap: 192.168.1.1/255.255.255.0
> portmap: 192.168.1.6
> 
> The error messages I get when trying to mount it by
> machine
> on 192.168.1.1:
> [root@masq /root]# mount -t nfs george.house:/home
> /mnt/ahm
> mount: george.house:/home failed, reason given by
> server: Permission
> denied
> (this doesn't change when I use different -o on the
> mount command)
> 
> on 192.168.1.6:
> [root@abit santiago]# mount -t nfs
> george.house:/home /mnt/ahm
> mount: george.house:/home failed, reason given by
> server: Permission
> denied
> 
> I then tried to export from abit.house
> (192.168.1.6).  When I try to mount
> that on george.house (192.168.1.254) I get:
> [root@george rpm]# mount -t nfs
> abit.house:/mnt/DOS_hde1 /mnt/zips
> mount: RPC: Program not registered
> 
> I have tried /sbin/exportfs it seemed to be broken -
> so I killed the
> services by hand and restarted them (portmap, nfsd,
> mountd, and I have
> tried it both with and without statd).
> I have installed:
> [root@george RPMS]# rpm -qa |grep nfs
> knfsd-clients-1.4.7-7
> knfsd-1.4.7-7
> 
> Any ideas, or help would be appreciated.  Thanks,
> James
>
------------------------------------------------------------------------------
> James Fowler
> Technology & Education					
> jamesf@sequoia.net						ICQ: 22088266
>
-----------------------------------------------------------------------------
> 
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/




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

end of thread, other threads:[~2000-09-29 17:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-29 17:56 NFS and Alpha David Rysdam
  -- strict thread matches above, loose matches on Subject: below --
2000-09-28 16:40 James Fowler
2000-09-29  0:50 ` Blake Carlson
2000-09-29  1:25   ` James Fowler

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