Hi,
ich versuche hier gerade einem xen gast (lenny) mit einem Eintrag in der /ect/fstab Zugriff auf das NFS eines anderen Host zu geben.
Ich kriege von SysVInit immer nur ein "No route to host", kann aber _nach_ dem login mit mount -a prblemlos zugreifen.
Damit ich das ganze debuggen kann, habe ich mal ifconfig -a und route sowie mount -a in die /etc/rc.local aufgenommen, hier ist das Ergebnis:
Und hier noch die fstab:
Hat lenny ein Problem mit 255.255.0.0 als Netmask oder woran liegt das???
Und warum kann ich nach dem login mounten???
ich versuche hier gerade einem xen gast (lenny) mit einem Eintrag in der /ect/fstab Zugriff auf das NFS eines anderen Host zu geben.
Ich kriege von SysVInit immer nur ein "No route to host", kann aber _nach_ dem login mit mount -a prblemlos zugreifen.
Damit ich das ganze debuggen kann, habe ich mal ifconfig -a und route sowie mount -a in die /etc/rc.local aufgenommen, hier ist das Ergebnis:
Code:
Setting up networking....
Configuring network interfaces...Starting portmap daemon....
Starting NFS common utilities: statd.
mount.nfs: mount to NFS server '192.168.14.1' failed: System Error: No route to host
done.
Starting portmap daemon...Already running..
Starting NFS common utilities: statd.
INIT: Entering runlevel: 2
Starting system log daemon....
Starting kernel log daemon....
Starting NFS common utilities: statd.
Starting periodic command scheduler: crond.
running rc.local
eth0 Link encap:Ethernet HWaddr 00:16:3e:5e:ad:a8
inet addr:192.168.15.2 Bcast:192.168.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:168 (168.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:736 (736.0 B) TX bytes:736 (736.0 B)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.0.0 U 0 0 0 eth0
mounting all filesystems
mount: mount point /dev/pts does not exist
mount.nfs: mount to NFS server '192.168.14.1' failed: System Error: No route to host
Debian GNU/Linux lenny/sid test_machine tty1
test_machine login: root
Last login: Tue Jul 22 09:03:44 UTC 2008 on tty1
Linux test_machine 2.6.18-6-xen-amd64 #1 SMP Fri Jun 6 06:38:05 UTC 2008 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
test_machine:~# mount -a
mount: mount point /dev/pts does not exist
test_machine:~# ls -al /data
total 100120
drwxrwxrwx 4 root root 4096 Jul 28 14:13 .
drwxr-xr-x 22 root root 4096 Jul 31 19:08 ..
drwxr-xr-x 14 root root 4096 Jul 28 14:29 openccs_installed
-rw-r--r-- 1 root root 102400000 Jul 22 07:50 test
drwxr-xr-x 10 1000 1000 4096 Jul 24 14:25 virtual
test_machine:~#
Und hier noch die fstab:
Code:
test_machine:~# cat /etc/fstab
/dev/hda1 / ext3 defaults 1 1
proc /proc proc defaults 0 0
sysfs /dev/pts devpts defaults 0 0
192.168.14.1:/data /data nfs rw
Hat lenny ein Problem mit 255.255.0.0 als Netmask oder woran liegt das???
Und warum kann ich nach dem login mounten???