Hackerboard Wiki HaboBlog
Hackerboard bei Facebook Hackerboard bei Google+ Hackerboard bei Twitter

[HaBo]

 
Linux/UNIX Linuxverfechter finden hier Weggefährten.

lenny nfs mount

Diskussion: lenny nfs mount im Forum Linux/UNIX, in der Kategorie Operating Systems; Anzeige Hi, ich versuche hier gerade einem xen gast (lenny) mit einem Eintrag in der /ect/fstab Zugriff auf das NFS ...

Antwort
Alt 31.07.08, 21:19   #1 (permalink)
Member of Honour
 
Registriert seit: 03.10.01
blueflash Leistung: Facit NTK
Likes: 1
Standard lenny nfs mount

Anzeige

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:

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???
blueflash ist offline   Mit Zitat antworten
Antwort
   
- Anzeige -

Werbung ist gerade online    

[HaBo] » Operating Systems » Linux/UNIX » lenny nfs mount
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind aus
Pingbacks sind aus
Refbacks sind aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Sicherheit von pam-mount GeeF Linux/UNIX 0 09.08.08 17:51
Problem mit mount und usrquota sw33tlull4by Linux/UNIX 0 08.02.08 22:48
Pc-Mount-Script Penta Code Kitchen 1 15.05.07 12:21
mount als user RedEagle Linux/UNIX 4 22.08.06 09:47
Zugriffsrechte für User bei mount ecologys Linux/UNIX 3 04.11.04 18:31


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61