aerosol
21.02.06, 16:00
Hi,
ich habe vor etwas per /etc/fstab zu mounten. Es handelt sich hier um ein getunneltes NFS per SSH. Den SSH Tunnel starte ich in dem rcsshd skript am Ende mit. Jedoch kommt beim booten immer der Fehler:
Importing Net File System (NFS-) mount: RPC: Remote system Error - Connection refused.
Ok man könnte nun davon ausgehen das mit meinem tunnel etwas nicht stimmt:
ssh -2 -i /root/.ssh/id_dsa_nfs -l root Server -L 250:localhost:2049 -L 251:localhost:884 -f sleep 60m
wenn ich mich nun allerdings einlogge und dann "mount -a" eingebe mountet er das ohne Porbleme!!!
Ich dachte ich starte den nfs Dienst einfach erstmal etwas später evtl ist der Tunnel ja noch nicht so schnell und habe folgende Änderungen vorgenommen:
/etc/rc.d/rcX.d/
lrwxrwxrwx 1 root root 8 2005-10-24 11:38 S01fbset -> ../fbset*
lrwxrwxrwx 1 root root 9 2005-10-24 11:38 S01random -> ../random*
lrwxrwxrwx 1 root root 7 2005-11-22 09:13 S03dbus -> ../dbus*
lrwxrwxrwx 1 root root 21 2005-12-13 15:52 S03dkms_autoinstaller -> ../dkms_autoinstaller*
lrwxrwxrwx 1 root root 9 2005-10-24 11:39 S03resmgr -> ../resmgr*
lrwxrwxrwx 1 root root 12 2005-10-24 11:39 S04boot.udev -> ../boot.udev*
lrwxrwxrwx 1 root root 10 2005-10-24 12:41 S05network -> ../network*
lrwxrwxrwx 1 root root 7 2005-10-24 11:48 S06sshd -> ../sshd*
lrwxrwxrwx 1 root root 9 2005-10-24 11:39 S06syslog -> ../syslog*
lrwxrwxrwx 1 root root 6 2005-11-04 11:35 S07nmb -> ../nmb*
lrwxrwxrwx 1 root root 8 2005-10-24 11:46 S08canna -> ../canna*
lrwxrwxrwx 1 root root 8 2005-10-24 11:45 S08mdnsd -> ../mdnsd*
lrwxrwxrwx 1 root root 15 2005-10-24 11:39 S08splash_early -> ../splash_early*
lrwxrwxrwx 1 root root 10 2005-11-22 09:13 S09distccd -> ../distccd*
lrwxrwxrwx 1 root root 8 2005-10-24 11:44 S12acpid -> ../acpid*
lrwxrwxrwx 1 root root 12 2005-12-13 15:52 S12alsasound -> ../alsasound*
lrwxrwxrwx 1 root root 7 2005-10-24 11:46 S12cups -> ../cups*
lrwxrwxrwx 1 root root 6 2005-10-24 11:44 S12kbd -> ../kbd*
lrwxrwxrwx 1 root root 12 2005-10-24 11:44 S12microcode -> ../microcode*
lrwxrwxrwx 1 root root 6 2005-11-04 09:15 S12ntp -> ../ntp*
lrwxrwxrwx 1 root root 17 2005-10-24 11:44 S12running-kernel -> ../running-kernel*
lrwxrwxrwx 1 root root 9 2005-10-24 11:44 S12splash -> ../splash*
lrwxrwxrwx 1 root root 6 2005-11-04 11:35 S13smb -> ../smb*
lrwxrwxrwx 1 root root 12 2005-11-16 11:49 S14nfsserver -> ../nfsserver*
lrwxrwxrwx 1 root root 7 2005-10-24 11:46 S14nscd -> ../nscd*
lrwxrwxrwx 1 root root 10 2005-10-24 11:46 S14postfix -> ../postfix*
lrwxrwxrwx 1 root root 8 2005-10-24 11:46 S14smbfs -> ../smbfs*
lrwxrwxrwx 1 root root 7 2006-02-15 13:01 S15cron -> ../cron*
lrwxrwxrwx 1 root root 10 2005-10-24 11:44 S15nfsboot -> ../nfsboot*
lrwxrwxrwx 1 root root 12 2006-02-15 13:01 S16haldaemon -> ../haldaemon*
lrwxrwxrwx 1 root root 13 2006-02-15 13:01 S17powersaved -> ../powersaved*
lrwxrwxrwx 1 root root 10 2005-10-24 11:44 S18portmap -> ../portmap*
lrwxrwxrwx 1 root root 6 2005-10-24 11:44 S19nfs -> ../nfs*
Allerdings brachte dies auch keine Abhilfe :(
Ich benutze SuSE 10.0.
jemand eine Idee???
MfG
aerosol
/etc/fstab
localhost:/home /mnt nfs rw,port=250,mountport=251 0 0
ich habe vor etwas per /etc/fstab zu mounten. Es handelt sich hier um ein getunneltes NFS per SSH. Den SSH Tunnel starte ich in dem rcsshd skript am Ende mit. Jedoch kommt beim booten immer der Fehler:
Importing Net File System (NFS-) mount: RPC: Remote system Error - Connection refused.
Ok man könnte nun davon ausgehen das mit meinem tunnel etwas nicht stimmt:
ssh -2 -i /root/.ssh/id_dsa_nfs -l root Server -L 250:localhost:2049 -L 251:localhost:884 -f sleep 60m
wenn ich mich nun allerdings einlogge und dann "mount -a" eingebe mountet er das ohne Porbleme!!!
Ich dachte ich starte den nfs Dienst einfach erstmal etwas später evtl ist der Tunnel ja noch nicht so schnell und habe folgende Änderungen vorgenommen:
/etc/rc.d/rcX.d/
lrwxrwxrwx 1 root root 8 2005-10-24 11:38 S01fbset -> ../fbset*
lrwxrwxrwx 1 root root 9 2005-10-24 11:38 S01random -> ../random*
lrwxrwxrwx 1 root root 7 2005-11-22 09:13 S03dbus -> ../dbus*
lrwxrwxrwx 1 root root 21 2005-12-13 15:52 S03dkms_autoinstaller -> ../dkms_autoinstaller*
lrwxrwxrwx 1 root root 9 2005-10-24 11:39 S03resmgr -> ../resmgr*
lrwxrwxrwx 1 root root 12 2005-10-24 11:39 S04boot.udev -> ../boot.udev*
lrwxrwxrwx 1 root root 10 2005-10-24 12:41 S05network -> ../network*
lrwxrwxrwx 1 root root 7 2005-10-24 11:48 S06sshd -> ../sshd*
lrwxrwxrwx 1 root root 9 2005-10-24 11:39 S06syslog -> ../syslog*
lrwxrwxrwx 1 root root 6 2005-11-04 11:35 S07nmb -> ../nmb*
lrwxrwxrwx 1 root root 8 2005-10-24 11:46 S08canna -> ../canna*
lrwxrwxrwx 1 root root 8 2005-10-24 11:45 S08mdnsd -> ../mdnsd*
lrwxrwxrwx 1 root root 15 2005-10-24 11:39 S08splash_early -> ../splash_early*
lrwxrwxrwx 1 root root 10 2005-11-22 09:13 S09distccd -> ../distccd*
lrwxrwxrwx 1 root root 8 2005-10-24 11:44 S12acpid -> ../acpid*
lrwxrwxrwx 1 root root 12 2005-12-13 15:52 S12alsasound -> ../alsasound*
lrwxrwxrwx 1 root root 7 2005-10-24 11:46 S12cups -> ../cups*
lrwxrwxrwx 1 root root 6 2005-10-24 11:44 S12kbd -> ../kbd*
lrwxrwxrwx 1 root root 12 2005-10-24 11:44 S12microcode -> ../microcode*
lrwxrwxrwx 1 root root 6 2005-11-04 09:15 S12ntp -> ../ntp*
lrwxrwxrwx 1 root root 17 2005-10-24 11:44 S12running-kernel -> ../running-kernel*
lrwxrwxrwx 1 root root 9 2005-10-24 11:44 S12splash -> ../splash*
lrwxrwxrwx 1 root root 6 2005-11-04 11:35 S13smb -> ../smb*
lrwxrwxrwx 1 root root 12 2005-11-16 11:49 S14nfsserver -> ../nfsserver*
lrwxrwxrwx 1 root root 7 2005-10-24 11:46 S14nscd -> ../nscd*
lrwxrwxrwx 1 root root 10 2005-10-24 11:46 S14postfix -> ../postfix*
lrwxrwxrwx 1 root root 8 2005-10-24 11:46 S14smbfs -> ../smbfs*
lrwxrwxrwx 1 root root 7 2006-02-15 13:01 S15cron -> ../cron*
lrwxrwxrwx 1 root root 10 2005-10-24 11:44 S15nfsboot -> ../nfsboot*
lrwxrwxrwx 1 root root 12 2006-02-15 13:01 S16haldaemon -> ../haldaemon*
lrwxrwxrwx 1 root root 13 2006-02-15 13:01 S17powersaved -> ../powersaved*
lrwxrwxrwx 1 root root 10 2005-10-24 11:44 S18portmap -> ../portmap*
lrwxrwxrwx 1 root root 6 2005-10-24 11:44 S19nfs -> ../nfs*
Allerdings brachte dies auch keine Abhilfe :(
Ich benutze SuSE 10.0.
jemand eine Idee???
MfG
aerosol
/etc/fstab
localhost:/home /mnt nfs rw,port=250,mountport=251 0 0