Re: nfs mount not mounting on boot



NetComrade wrote:
On Mon, 11 Dec 2006 21:14:09 +0100, "J.O. Aho" <user@xxxxxxxxxxx>
wrote:

NetComrade wrote:
We have an entry in /etc/fstab that looks fairly basic

10.0.1.125:/mnt/backup1/ /mnt/backup nfs 0 0

Looking here and compare to what I have, I think there should be more options here, but doubt it should change anything, but always worth to test.

10.0.1.125:/mnt/backup1/ /mnt/backup nfs default 0 0


It does not mount on boot, and needs to be mounted by hand, which
disrupts out backups in a rare occasion of a reboot.
You need to enable the net mount service

chkconfig -level 35 netfs on

default init was changed from 5 to 3 vi /etc/inittab, and netfs indeed
was not in rc3.d

There is progress, but still doesn't mount :) Running S25netfs by hand
does it though.

Dec 11 23:58:47 cs-db6 mount: mount: backgrounding
"10.0.1.125:/mnt/backup1"


[root@cs-db6 ~]# chkconfig --list

nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off

You have all what's needed for a proper nfs client turned on, is the network started before netfs? you can look into /etc/rc.d/rc3.d/, the values after S should be higher the later in the bootup sequence something is started.


xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off

As far as I can remember, this is the fontserver for X Windows System, as long as you don't supply fonts for other computers in the network here, then you don't need to run it on any other runlevel than 5.


iptables 0:off 1:off 2:on 3:off 4:on 5:off 6:off

You know that you turned off the "firewall" on the machine?


xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off

As you aren't running any services handled by xinetd, you can turn this one off on all runlevels.


--

//Aho
.



Relevant Pages

  • [opensuse] Re: special boot problem - network setting
    ... seems like openSUSE network config break the provider system configuration ... Failed services in runlevel 3: acpid network auditd xinetd ... eth0 device: Silicon Integrated Systems SiS900 PCI Fast ...
    (SuSE)
  • Re: [opensuse] How to mount USB drive in single user mode?
    ... without remote network". ... Single User Mode is runlevel s ... # runlevel 2 is Local multiuser without remote network ... Of course there is another single-user mode, 'S', diferent from runlevel 1, and both are named in SuSE systems as "single user mode". ...
    (SuSE)
  • Re: how do I configure a USB device?
    ... This is what made me think that I only have to run a script to call rcirda ... to /etc/init.d/irda This is the runlevel startscript I mentioned. ... Insserv generates these runlevel scripts by creating symbolic links in the ... as network ...
    (alt.os.linux.suse)
  • Re: GUI (KDE) disappeared.
    ... was reset to something beside 5 (Full multiuser with network and xdm). ... # runlevel 0 is System halt ...
    (alt.os.linux.suse)
  • Re: cant log in
    ... What is actually done is booting to "single user mode", ... where the operating system shuts down and a "warm" reboot is initiated. ... # runlevel S is single-user ... # runlevel 1 is multi-user without network ...
    (alt.os.linux.suse)