HI I use SLES 10 SP 2 and 32 SLED 11 in a LAN.
We use LDAP login and NFS filesystem.
Problem: NFS do not load at boot.
We have on SLES studentserver (10.44.154.41):
|
Code:
|
studentserver:~ # cat /etc/exports
/home *(fsid=0,rw,sync,root_squash) |
and
|
Code:
|
studentserver:~ # chkconfig -l | grep nfs
nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nfsboot 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nfsserver 0:off 1:off 2:off 3:on 4:off 5:on 6:off
studentserver:~ # |
When the clients boots they do not find the studentserver (10.44.154.41). I check the filesystem on m08:
|
Code:
|
m08:~/Desktop # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda6 31454268 4065900 27388368 13% /
udev 506464 192 506272 1% /dev
/dev/sda1 1035692 14684 968396 2% /boot
/dev/sda7 43542792 32840 43509952 1% /local
m08:~/Desktop # |
This is the filesystem on the client local HD.
Then I mount fstab:
|
Code:
|
m08:~/Desktop # mount -a
mount.nfs: mount system call failed
m08:~/Desktop # mount -a
mount.nfs: mount system call failed
m08:~/Desktop # |
I ping the server:
|
Code:
|
m08:~/Desktop # ping -c2 10.44.154.41
PING 10.44.154.41 (10.44.154.41) 56(84) bytes of data.
64 bytes from 10.44.154.41: icmp_seq=1 ttl=64 time=0.210 ms
64 bytes from 10.44.154.41: icmp_seq=2 ttl=64 time=0.193 ms
--- 10.44.154.41 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.193/0.201/0.210/0.016 ms
m12:~/Desktop # |
Then I check the last 2 lines in fstab:
|
Code:
|
m08:~/Desktop # tail -n2 /etc/fstab
devpts /dev/pts devpts mode=0620,gid=5 0 0
10.44.154.41:/home /home nfs wsize=16384,rsize=16384,hard,intr 0 0
m24:~/Desktop # |
Then I mount fstab again:
|
Code:
|
m08:~/Desktop # mount -a
m08:~/Desktop # |
Checking filesystem:
|
Code:
|
m08:~/Desktop # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda6 31454268 4065916 27388352 13% /
udev 506464 192 506272 1% /dev
/dev/sda1 1035692 14684 968396 2% /boot
/dev/sda7 43542792 32840 43509952 1% /local
10.44.154.41:/home 488360960 26878608 461482352 6% /home
m08:~/Desktop # |
From now on everything is fine until the clients shuts off, with the crontab command.
In Cool solutions I found:
"Suse NFS Client unable to get locks, especially after umount / remount"
|
Code:
|
m01:~/Desktop # chkconfig -l | grep nfs
nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nfsserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off
m01:~/Desktop # |
This is happening to 28 - 30 clients every day. It no system in which client logs in NFS at boot.
I definitely need some help here.
Firak