Portál AbcLinuxu, 10. května 2025 07:15
NFS: server 192.168.100.1 not responding
Výpis konfigurace:
/etc/dhcpd.conf
option domain-name "ltsp.org"; option domain-name-servers 192.168.100.1; option subnet-mask 255.255.255.0; #option broadcast-address 192.168.100.255; option routers 192.168.100.1; option root-path "192.168.100.1:/opt/ltsp/i386"; default-lease-time 600; max-lease-time 7200; subnet 192.168.100.0 netmask 255.255.255.0 { host terminal { hardware ethernet xx:xx:xx:xx:xx:xx; fixed-address 192.168.100.2; filename "lts/vmlinuz"; } }
/etc/exports
/opt/ltsp/i386 192.168.100.0/255.255.255.0(ro,no_root_squash,sync) /var/opt/ltsp/swapfiles 192.168.100.0/255.255.255.0(rw,no_root_squash,async)
/etc/hosts
192.168.100.1 server.ltsp.org server 192.168.100.2 terminal.ltsp.org terminal
/etc/hosts.allow
bootpd: 0.0.0.0 in.tftpd: 192.168.100. portmap: 192.168.100.
iptables -L
Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination To je pouze dočasně, dokud to nerozchodím.
/var/log/messages
Apr 26 16:45:59 localhost kernel: nfsd: unexporting all filesystems Apr 26 16:47:15 localhost rpc.mountd: authenticated mount request from diverman.ltsp.org:659 for /opt/ltsp/i386 (/opt/ltsp/i386) Apr 26 16:47:20 localhost rpc.mountd: authenticated unmount request from diverman.ltsp.org:660 for /opt/ltsp/i386 (/opt/ltsp/i386) Apr 26 16:48:12 localhost rpc.mountd: authenticated mount request from terminal.ltsp.org:939 for /opt/ltsp/i386 (/opt/ltsp/i386) Apr 26 16:51:51 localhost rpc.mountd: authenticated mount request from terminal.ltsp.org:939 for /opt/ltsp/i386 (/opt/ltsp/i386) Apr 26 16:53:24 localhost kernel: nfsd: last server has exited Apr 26 16:53:24 localhost kernel: nfsd: unexporting all filesystems Apr 26 16:59:26 localhost rpc.mountd: authenticated mount request from terminal.ltsp.org:939 for /opt/ltsp/i386 (/opt/ltsp/i386) Apr 26 17:08:16 localhost rpc.mountd: authenticated mount request from terminal.ltsp.org:939 for /opt/ltsp/i386 (/opt/ltsp/i386) Apr 26 17:14:34 localhost rpc.mountd: authenticated mount request from terminal.ltsp.org:939 for /opt/ltsp/i386 (/opt/ltsp/i386)
2049/tcp open nfs =>
NFS je otevřený.
mount -t nfs 192.168.100.1:/opt/ltsp/i386 /mnt/test
na serveru funguje.
Pomůžete mi někdo najít chybu? dík...
deb http://ftp.cz.debian.org/debian jessie main contrib non-free
Na otázku zatím nikdo bohužel neodpověděl.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.