AW: AW: fremdes RAID1 einbinden
Hallo!
>
> Dafür ist /etc/init.d/mdadm-raid verantwortlich. Dort wird ausgewertet,
> ob in /etc/default/mdadm AUTOSTART=YES gesetzt ist und gesetzt den Fall
> werden existierende RAID-Sets laut der bereits erwähnten Konfiguration
> aus /etc/mdadm/mdadm.conf assembliert bzw. wenn diese Konfig nicht
> vorhanden ist, wird auf mdrun ausgewichen.
Die mdadm-raid wurde bei mir aber in keinem Runlevel gestartet. Sowas
ähnliches hatte ich aber schon geahnt.
>
> Poste bitte mal die Ausgabe folgender Befehle:
server01:~# cat /etc/default/mdadm
# This file is automatically generated.
# Run 'dpkg-reconfigure mdadm' to modify it.
START_DAEMON=true
MAIL_TO="root"
AUTOSTART=true
server01:~# cat /etc/mdadm/mdadm.conf
DEVICE partitions
MAILADDR root
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=28b9d87a:7e5a23ae:ab4db260:41d97994
devices=/dev/sda1,/dev/sdb1 auto=yes
server01:~# grep CONFIG_MD /boot/config-$( uname -r)
CONFIG_MD=y
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID5=m
CONFIG_MD_RAID6=m
CONFIG_MD_MULTIPATH=m
CONFIG_MDA_CONSOLE=m
server01:~# fdisk -l /dev/sda /dev/sdb
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 24321 195358401 fd Linux raid
autodetect
Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 24321 195358401 fd Linux raid
autodetect
Gruß
Roger.
Reply to: