mounting locally nfs fails...

mounting locally nfs fails...

Post by Andreas Richte » Fri, 23 Nov 2001 21:15:33



because the rpc does not answer...

I wrote to the fstab

192.191.192.200:/home/aaa/ /fileserver/home/aaa/ nfs defaults 1 1

where 192.192.192.200 is the ip of the system itself.

I think, "default" is the problem, but I do not know what is the solution.

When I mount the nfs after booting is complete, it works, of course. But I
want it to be mounted automatically during bootup...

Andreas Richter

 
 
 

mounting locally nfs fails...

Post by Dean Thompso » Fri, 23 Nov 2001 21:41:19


Hi!,


> because the rpc does not answer...

> I wrote to the fstab

> 192.191.192.200:/home/aaa/ /fileserver/home/aaa/ nfs defaults 1 1

> where 192.192.192.200 is the ip of the system itself.

> I think, "default" is the problem, but I do not know what is the solution.

> When I mount the nfs after booting is complete, it works, of course. But I
> want it to be mounted automatically during bootup...

The man page would suggest something like the following for your setup:

192.191.192.200:/home/aaa   /fileserver/home/aaa   nfs  
rsize=8192,wsize=8192,timeo=14,intr

All of the above would be on the one line.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

mounting locally nfs fails...

Post by Andreas Richte » Fri, 23 Nov 2001 22:47:43


Quote:> 192.191.192.200:/home/aaa   /fileserver/home/aaa   nfs
> rsize=8192,wsize=8192,timeo=14,intr

Same error-message, because of the try of mounting is BEFORE the nfs-server
is started, I think. The nfs must be mounted AFTER stzarting the
nfs-daemon. But what option would do this??
 
 
 

mounting locally nfs fails...

Post by Eric P. McC » Sat, 24 Nov 2001 05:24:09


(Please don't change the subject when following up, it breaks
threading in some newsreaders.)


> > 192.191.192.200:/home/aaa   /fileserver/home/aaa   nfs
> > rsize=8192,wsize=8192,timeo=14,intr
> Same error-message, because of the try of mounting is BEFORE the nfs-server
> is started, I think. The nfs must be mounted AFTER stzarting the
> nfs-daemon. But what option would do this??

If RedHat tries to mount filesystems before starting the NFS
utilities, RedHat is broken.  So I somewhat doubt this is your
problem, but you can verify it by checking the ordering of files in
/etc/rcX.d (where `X' is your system's default runlevel, see
/etc/inittab).

You should see something like:

/etc/rc2.d/S19nfs-common -> /etc/init.d/nfs-common
/etc/rc2.d/S35mountall.sh -> /etc/init.d/mountall.sh
/etc/rc2.d/S45mountnfs.sh -> /etc/init.d/mountnfs.sh

(Where `-> ...' indicates a symbolic link to `...'.  I _think_ recent
RedHats work that way.)  The `S' means `start,' and the `19' (or 35 or
45) is the order, with lower numbers starting first.

By the way, `rsize=8192,wsize=8192,timeo=14,intr' is the same as
`defaults' on my system; YMMV.

--

"I woke up this morning and realized what the game needed: pirates,
pimps, and gay furries."  - Rich "Lowtax" Kyanka

 
 
 

mounting locally nfs fails...

Post by Dean Thompso » Sat, 24 Nov 2001 21:13:49


Hi!,


> > 192.191.192.200:/home/aaa   /fileserver/home/aaa   nfs
> > rsize=8192,wsize=8192,timeo=14,intr

> Same error-message, because of the try of mounting is BEFORE the nfs-server
> is started, I think. The nfs must be mounted AFTER stzarting the
> nfs-daemon. But what option would do this??

Eric's right, changing the subject will break newsreader threads.  You might
like to check the run levels, but Redhat shouldn't normally break its NFS
mounts at all.  The system should only try to do a "mountall" instruction,
when it is booting up into multi-user mode and that the networking has been
established.

I know certainly that RH6.2 and RH7.1 work without any problem when it comes
to NFS mounting from the fstab entry.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+