NFS mount won't mount at boot, but mount -a works fine.

NFS mount won't mount at boot, but mount -a works fine.

Post by BT » Sat, 25 Sep 2004 03:03:55



I'm trying to get an NFS share to mount at boot time, but it won't. However,
mount -a works just fine. I've tried playing with the retry= option with no
luck. nsswitch.conf is hosts: files dns, and I have an entry for the host in
/etc/hosts. The client machine is SUSE 8 (2.4 kernel), the server is SUSE 9
(2.6 kernel). My fstab entry looks like this:

 storage01:/array/    /home/array    nfs     rw,auto,sync

Does anyone have any ideas on this?

Thanks,
Brian

 
 
 

NFS mount won't mount at boot, but mount -a works fine.

Post by Ian Northeas » Sat, 25 Sep 2004 05:10:37



> I'm trying to get an NFS share to mount at boot time, but it won't.
> However, mount -a works just fine. I've tried playing with the retry=
> option with no luck. nsswitch.conf is hosts: files dns, and I have an
> entry for the host in /etc/hosts. The client machine is SUSE 8 (2.4
> kernel), the server is SUSE 9 (2.6 kernel). My fstab entry looks like
> this:

>  storage01:/array/    /home/array    nfs     rw,auto,sync

> Does anyone have any ideas on this?

chkconfig nfs on.

Regards, Ian

 
 
 

NFS mount won't mount at boot, but mount -a works fine.

Post by BT » Sat, 25 Sep 2004 06:37:00


Thanks a lot, that worked. I wasn't familiar with that one.

Thanks,
Brian



> > I'm trying to get an NFS share to mount at boot time, but it won't.
> > However, mount -a works just fine. I've tried playing with the retry=
> > option with no luck. nsswitch.conf is hosts: files dns, and I have an
> > entry for the host in /etc/hosts. The client machine is SUSE 8 (2.4
> > kernel), the server is SUSE 9 (2.6 kernel). My fstab entry looks like
> > this:

> >  storage01:/array/    /home/array    nfs     rw,auto,sync

> > Does anyone have any ideas on this?

> chkconfig nfs on.

> Regards, Ian

 
 
 

1. NFS cant mount from one network, mounts from another fine???

Hello,

        This one is driving me batty! I have a basic nfsv2/udp server setup on a
machine with two network interfaces. Mounting the exported nfs volume
from clients on one network runs perfect. From clients on the other
interface mounts always fail after 30 secs with mount failed: RPC timed out.

         The clients and network config match on each network (except
for the network addresses themselves). Machines can ping the server from
both networks. DNS works fine.

        I have looked and cannot find where one of the daemons for NFS services
binds to a particular port so I am lost as to why it works fine from one
place and not the other.

eth0:
10.0.0.1/255.255.255.0
eth1:
1xx.xxx.xxx.219/255.255.255.0   (real address masked)

        Mount attempts from machines on the 1xx.xxx.xxx.o network run great.
Those from 10.0.0.0 fail with the RPC timed out. I ran rpcinfo and all
of the required (lockd, statd, nfsd, portmapper, etc) are all there. I
have tried mounting tcp, udp, v2, v3 all fail. The server is setup as
udp/v2 (default).

        Can anyone tell me why mounting and nfs transactions would run great from
one netowrk and fail from the other?

Thanks

-Jeff

2. How to set DISPLAY to the correct machine?

3. nfs mount problem: mount: can't get address for nfs-server.kauai

4. Newbie needs HELP, please

5. NFS mounts in Red Hat 8.0 not mounted at boot

6. Plotter / HPGL ???

7. Starbuck won't boot, rescue disk won't mount

8. Unix Programming FAQ (v1.37)

9. /var/mail: to NFS mount or not to NFS mount?

10. Can't NFS mount more than 261 mounts?

11. nfs mount to a nfs mount fails

12. mount works but mount -a doesn't

13. Apache not serving from CIFS-mounted share, works if it's mounted as SMBFS