[Eisfair] Frage zu Raid1 auf neuem Eisfair1

Friedhold Schuster f.schuster at gmx.de
Di Aug 27 09:28:19 CEST 2013


Hallo,

Am 27.08.2013 08:53, schrieb Marcus Roeckrath:
>> ich bin mir nicht sicher, ob der Festplattentreiber (sata_sil) bei
>> Deinem Daten-Raid nicht auch in Deine initrd kopiert werden muß. Bei
>> einem boot-baren Raid sieht eine initrd z.B. ja so aus.
>>
>> /sbin/insmod.static scsi_mod
>> /sbin/insmod.static sd_mod
>> /sbin/insmod.static libata
>> /sbin/insmod.static sata_sil
>> /sbin/raidautorun /dev/md1
>
> Friedhold hat nach manuellem Laden des Treibers ein Kernelupdate
> durchgeführt, welches diesen Treiber in die initrd eingetragen haben
> sollte.
>

Stimmt, so ist es.
nach dem booten sind die Festplatte sdb und sdc ja immernoch da:

eis # fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an 
experimental phase. Use at your own discretion.

Disk /dev/sda: 80.0 GB, 80000000000 bytes, 156250000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt


#         Start          End    Size  Type            Name
  1         2048        98337     47M  Linux filesyste boot
  2       100352       360481    127M  Linux swap      swap
  3       362496    154150945   73.3G  Linux filesyste root
  4    154152960    156229486   1014M  Linux filesyste data

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0xcd88b6ee

    Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              64  3907029167  1953514552   fd  Linux raid 
autodetect

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x5717cba0

    Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              64  3907029167  1953514552   fd  Linux raid 
autodetect
eis #

--------------------------------------------------------------------

somit sind ja die beiden Festplatten nach dem booten da. Nur das Raid 
ist nach dem booten weg.

--------------------------------------------------------------
vor dem booten sah es so aus:

        Start          End    Size  Type            Name
  1         2048        98337     47M  Linux filesyste boot
  2       100352       360481    127M  Linux swap      swap
  3       362496    154150945   73.3G  Linux filesyste root
  4    154152960    156229486   1014M  Linux filesyste data

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0xcd88b6ee

    Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              64  3907029167  1953514552   fd  Linux raid 
autodetect

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x5717cba0

    Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              64  3907029167  1953514552   fd  Linux raid 
autodetect

Disk /dev/md0: 2000.4 GB, 2000398778368 bytes, 3907028864 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

also eigentlich alles richtig
--------------------------------------------------



Dankeschön


Mehr Informationen über die Mailingliste Eisfair