On Fri, Jun 30, 2000, Cristina Stanciulescu wrote:
Hallo noch einmal!
Jetzt läuft, fast. Der kernel weiß, dass er das root filesystem über NFS mounten soll und versucht es auch, aber es klappt nicht ganz.
Hier meine /etc/exports auf dem server:
/tftpboot/192.1.1.22 192.1.1.22 (rw,no_root_squash) /usr 192.1.1.22 (ro,no_root_squash) /home 192.1.1.22 (rw,no_root_squash) /dev/sda8 192.1.1.22 (rw,no_root_squash)
und meine /tftpboot/192.1.1.22/etc/fstab lautet:
192.1.1.66:/tftpboot/192.1.1.22 / nfs defaults 1 1 192.1.1.66:/tftpboot/192.1.1.22/bin /bin nfs defaults 1 2 192.1.1.66:/usr /usr nfs defaults 1 2 192.1.1.66:/tftpboot/192.1.1.22/sbin /sbin nfs defaults 1 2 192.1.1.66:/home /home nfs defaults 1 2 192.1.1.66:/tftpboot/192.1.1.22/lib /lib nfs defaults 1 2 192.1.1.66:/tftpboot/192.1.1.22/etc /etc nfs defaults 1 2 192.1.1.66:/tftpboot/192.1.1.22/var /var nfs defaults 1 2 none /proc proc defaults 0 0 192.1.1.66:/dev/sda8 swap swap defaults 0 0
In /tfttpboot/192.1.1.22/etc/rc.d/rc.sysinit steht:
action "Mounting local filesystems" mount -av
Und jetzt das ergebnis: Beim booten funktioniert nicht: 1. Activating swap partitions [FAILED] 2. canŽt create lock file /etc/mtab~~: Read-only file-system 3. Mounting local filesystems 192.1.1.66:/tftpboot/192.1.1.22/bin on /bin type nfs (rw,addr=192.1.1.66) [FAILED] 4. Fast jede zweite zeile beschwert er sich dass das file system "read-only" ist
Ich glaube, ich habe zu wenig verständnis des bootprozesses, und weiß nicht welche konfigurationsfiles und wie ich ändern muß.
Na, und ich bein auch kein Experte. Aber ich denke mal, es hat nichts mit dem Bootprozeß zu tun, sondern mit dem mounten über nfs. Da ist was ro was rw sein sollte. Bootet die Maschine denn jetzt trotz der Fehlermeldungen oder nicht? Wenn ja, gib ein mount ein. Dann müßtest Du einen Eintrag für /etc finden, der auf ro steht aber rw sein müßte. Wenn Du das / Dateisystem mountest, warum mountest Du dann auch /etc, /lib, /var... zusätzlich noch? Wenn Du / rw mountest kriegst Du doch alles drunter mit. Dann nur noch /home und /usr einhängen. Es kann sein, daß Du /etc und so auch exportieren mußt. Das kannst Du ausprobieren, wenn z. B. per Rettungssystem startes und dann das exportierte Dateisystem von Hand in das locale / (mount ... /mnt) einhängst. Dann siehst Du, was tatsächlich wie exportiert wird. Gunther -- Dipl.-Ing. Gunther Kuhlmann Gunther_Kuhlmann@mentorg.com Tel.: +44 (0)12 52 / 74 83 25 PGP: E6 BC 78 6B E6 09 C7 16 AB 5D 9A 9A D7 1C 01 FB -- --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com