FAI 4.3.2: Fehler bei setup-storage 1.7

Thomas Lange lange at informatik.uni-koeln.de
Mon May 18 17:07:56 CEST 2015


>>>>> On Thu, 07 May 2015 21:18:48 +0200, looper <looper at gmx.li> said:

    > ----------------------------------------------------------------
    > root at fai:~# parted -s /dev/sda mkpart logical "linux-swap" 525337600B 
    > 2672821247B
    > Warning: The resulting partition is not properly aligned for best 
    > performance.
    > Error: Error informing the kernel about modifications to partition 
    > /dev/sda2 -- Invalid argument.  This means Linux won't know about any 
    > changes you made to /dev/sda2 until you reboot -- so you shouldn't mount 
    > it or use it in any way before rebooting.
    > Error: Partition(s) 2 on /dev/sda have been written, but we have been 
    > unable to inform the kernel of the change, probably because it/they are 
    > in use.  As a result, the old partition(s) will remain in use.  You 
    > should reboot now before making further changes.
    > root at fai:~# echo $?
    > 1
    > root at fai:~#

    > ----------------------------------------------------------------
    > Leider weiß ich absolut nicht, warum der parted-Befehl für das swap hier 
    > fehl schlägt. Die gleiche Fehlermeldung erscheint, wenn ich die 
    > Festplatte vorher lösche.

OK, ich glaube wir haben es gefunden.
Du nutzt den 3.2 kernel. Ich vermute mal, deine nfsroot hat kein
/lib/modules/3.2.0-4-amd64 Verzeichnis. somit kann der Kernel keine
Module nachladen. Test das mal auf dem Client mit

  modprobe ext4

Das wird wahrscheinlich fehlschlagen. Du muss den kernel booten, der
auch in der nfsroot drin ist, damit sollte es dann klappen.

Ist es eine wheezy oder eine jessie nfsroot?
-- 
regards Thomas


More information about the linux-fai mailing list