Re: nfs problems
Hi,
I just remembered something: nfs might not let you export cdroms. I had
this with redhat about a year ago. You also can not proxy nfs (that
is: install a nfs server and mount a nfs mounted filesystem). I do not
know what the status is now.
I do know that the exports file is vary annoying, especially with
spaces. Try adding (ro) as option.
On Thu, 15 Mar 2001, Forrest English wrote:
> oh, the test thing is because initially i thought it might have been a
> problem with trying to export a cdrom. and i made a test dir and
> export. anyhow, i switched it back to the cdrom in both cases.
>
> thneed:~# rpcinfo -p
> program vers proto port
> 100000 2 tcp 111 portmapper
> 100000 2 udp 111 portmapper
> 100021 1 udp 32768 nlockmgr
> 100021 3 udp 32768 nlockmgr
> 100024 1 udp 895 status
> 100024 1 tcp 897 status
> 100003 2 udp 2049 nfs
> 100003 2 tcp 2049 nfs
> 100005 1 udp 906 mountd
> 100005 2 udp 906 mountd
> 100005 1 tcp 909 mountd
> 100005 2 tcp 909 mountd
>
> the server shows that, so it looks like everything is running alright to
> me, and the client still has
>
> grickle:~# mount /nfscdrom
> mount: 192.168.1.10:/cdrom failed, reason given by server: Permission
> denied
>
> i never had any problems with the nfs-kernel-server, but since this is a
> 2.4 machine, i don't think thats an option, is it?
Why not? I have the least problems with the kernel server now that I am
running 2.4. The patches for 2.2.18 did not work well enough.
Greetz,
Sebastiaan
>
> --
> Forrest English
> http://truffula.net
>
> "When we have nothing left to give
> There will be no reason for us to live
> But when we have nothing left to lose
> You will have nothing left to use"
> -Fugazi
>
> On Thu, 15 Mar 2001, Sebastiaan wrote:
>
> >
> >
> > On Wed, 14 Mar 2001, Forrest English wrote:
> >
> > > ok, here's what i do on the server.
> > >
> > > /etc/exports file contains
> > > /cdrom 192.168.2.30
> > >
> > > and the client's fstab contains....
> > > 192.168.1.10:/cdrom /nfscdrom nfs rsize=1024,wsize=1024 0 0
> > >
> > > i on the server, i then did... /etc/init.d/nfs-server reload
> > >
> > > and mounting on the client reports....
> > >
> > > grickle:~# mount /nfscdrom
> > > mount: thneed:/test failed, reason given by server: Permission denied
> > Hmm, you try to mount /cdrom on the server, but it reports that you try to
> > mount /test. Have you loaded nfs-common-utils? What does 'rpcinfo -p' on
> > the server say? At least rpc.mountd and rpc.nfsd should have been
> > loaded. Also did I discover that sometimes portmapper is not load
> > automatically, so by doing:
> > /etc/init.d/portmapper restart
> > /etc/init.d/nfs-common restart
> > /etc/init.d/nfs-server restart
> >
> > and
> > rpcinfo -p should display something like:
> > 10000 2 tcp 111 portmapper
> > 10000 2 ucp 111 portmapper
> > 389 2 tcp ??? mountd
> > 389 2 ucp ??? mountd
> > 385 2 tcp ??? nfsd
> > 385 2 ucp ??? nfsd
> >
> > I cannot remember exactly, just check the most right colom.
> >
> >
> > Greetz,
> > Sebastiaan
> >
> > >
> > > could someone please elighten me on what the heck i'm doing wrong?
> > >
> > > --
> > > Forrest English
> > > http://truffula.net
> > >
> > > "When we have nothing left to give
> > > There will be no reason for us to live
> > > But when we have nothing left to lose
> > > You will have nothing left to use"
> > > -Fugazi
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> > >
> > >
> >
> >
>
>
Reply to: