[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem to start Thinclient (nfs not working fine)



file name : /var/lib/tftpboot/ltsp/i386/pxelinux.0
mount call failed: 13

(see ps "aux | grep nfs" and "more /etc/exports" at the end of the mail).

I restart nfs service

tjener:~# /etc/init.d/nfs-kernel-server restart
 * Stopping NFS kernel daemon

    [ ok ]
 * Unexporting directories for NFS kernel daemon...

       [ ok ]
 * Exporting directories for NFS kernel daemon...

       [ ok ]
 * Starting NFS kernel daemon

then it wokrs. The thin client load corretly without error messages.

If I reboot the server the problem cames out again.

-------------
tjener:~# more /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes  gss/krb5i(rw,sync)
#
/opt/ltsp/i386
192.168.0.0/255.255.255.0(ro,async,no_root_squash,subtree_check)
127.0.0.1(ro,async,no_root_squash,subtree_check,insecure)
/skole/tjener/home0 @ltsp-server-hosts(rw,async,no_subtree_check)
@workstation-hosts(rw,async,no_subtree_check)
@server-hosts(rw,async,no_subtree_check)
/opt/ltsp 10.0.2.0/255.255.254.0(ro,async,no_root_squash,subtree_check)


---BEFORE NFS RESTART---
tjener:~# ps aux | grep nfs
root      4283  0.0  0.0      0     0 ?        S    13:52   0:00 [nfsd]
root      4284  0.0  0.0      0     0 ?        S    13:52   0:00 [nfsd]
root      4285  0.0  0.0      0     0 ?        S    13:52   0:00 [nfsd]
root      4286  0.0  0.0      0     0 ?        S    13:52   0:00 [nfsd]
root      4287  0.0  0.0      0     0 ?        S    13:52   0:00 [nfsd]
root      4288  0.0  0.0      0     0 ?        S    13:52   0:00 [nfsd]
root      4289  0.0  0.0      0     0 ?        S    13:52   0:00 [nfsd]
root      4290  0.0  0.0      0     0 ?        S    13:52   0:00 [nfsd]
nobody    6313  0.0  0.5   7360  3008 ?        SN   13:57   0:00 su
nobody -s /bin/sh -c /usr/bin/find / -ignore_readdir_race      \(
-fstype NFS -o -fstype nfs -o -fstype nfs4 -o -fstype afs -o -fstype
binfmt_misc -o -fstype proc -o -fstype smbfs -o -fstype autofs -o
-fstype iso9660 -o -fstype ncpfs -o -fstype coda -o -fstype devpts -o
-fstype ftpfs -o -fstype devfs -o -fstype mfs -o -fstype shfs -o
-fstype sysfs -o -fstype cifs -o -fstype lustre_lite -o -fstype tmpfs
-o -fstype usbfs -o -fstype udf -o      -type d -regex
'\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)'
\) -prune -o -print0
nobody    6314  0.0  0.0   1640   464 ?        SN   13:57   0:00 sh -c
/usr/bin/find / -ignore_readdir_race      \( -fstype NFS -o -fstype
nfs -o -fstype nfs4 -o -fstype afs -o -fstype binfmt_misc -o -fstype
proc -o -fstype smbfs -o -fstype autofs -o -fstype iso9660 -o -fstype
ncpfs -o -fstype coda -o -fstype devpts -o -fstype ftpfs -o -fstype
devfs -o -fstype mfs -o -fstype shfs -o -fstype sysfs -o -fstype cifs
-o -fstype lustre_lite -o -fstype tmpfs -o -fstype usbfs -o -fstype
udf -o      -type d -regex
'\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)'
\) -prune -o -print0
nobody    6315  2.7  0.2   3656  1296 ?        RN   13:57   0:04
/usr/bin/find / -ignore_readdir_race ( -fstype NFS -o -fstype nfs -o
-fstype nfs4 -o -fstype afs -o -fstype binfmt_misc -o -fstype proc -o
-fstype smbfs -o -fstype autofs -o -fstype iso9660 -o -fstype ncpfs -o
-fstype coda -o -fstype devpts -o -fstype ftpfs -o -fstype devfs -o
-fstype mfs -o -fstype shfs -o -fstype sysfs -o -fstype cifs -o
-fstype lustre_lite -o -fstype tmpfs -o -fstype usbfs -o -fstype udf
-o -type d -regex
\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)
) -prune -o -print0

---AFTER NFS RESTART---

tjener:~# ps aux | grep nfs
root      7024  0.2  0.0      0     0 ?        S    14:03   0:00 [nfsd]
root      7025  0.0  0.0      0     0 ?        S    14:03   0:00 [nfsd]
root      7026  0.1  0.0      0     0 ?        S    14:03   0:00 [nfsd]
root      7027  0.1  0.0      0     0 ?        S    14:03   0:00 [nfsd]
root      7028  0.2  0.0      0     0 ?        S    14:03   0:00 [nfsd]
root      7029  0.0  0.0      0     0 ?        S    14:03   0:00 [nfsd]
root      7030  0.1  0.0      0     0 ?        S    14:03   0:00 [nfsd]
root      7031  0.2  0.0      0     0 ?        S    14:03   0:00 [nfsd]
root      7433  0.0  0.1   3328   692 pts/1    D+   14:05   0:00 grep nfs



Reply to: