Postępując zgodnie z tym poradnikiem postanowiłem stworzyć sobie macierz raid1 na już zainstalowanym systemie. Wszystko przebiegało poprawnie do momentu restartu. Po wybraniu w grubie odpowiedniej pozycji, na ekranie pojawiają się następujące komunikaty:
Kod: Zaznacz cały
Decompressing Linux... Parsing ELF... done.
Booting the kernel.
Loading, please wait ...
(tu następuje przerwa około 20 sekund)
Gave up waititng for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Chceck rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/md0 does not exist. Dropping to shell (ash)
Natomiast jeżeli wydam polecenie:
Kod: Zaznacz cały
mdadm --assemble --scan
Czy może ma ktoś pomysł, dlaczego na starcie /dev/md0 nie jest widoczne i konieczne jest jego ręczne wyszukanie, aby system mógł się uruchomić?
/etc/mdadm/mdadm.conf
Kod: Zaznacz cały
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md/0 metadata=1.2 UUID=142f0369:d3bd8f82:e561a779:97d52d28 name=rzym:0
ARRAY /dev/md/1 metadata=1.2 UUID=cbdbf322:e538fad3:426e3f33:ebee7ba5 name=rzym:1
Kod: Zaznacz cały
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry 'Debian GNU/Linux on raid' --class debian --class gnu-linux {
insmod mdraid1x
insmod part_msdos
insmod ext2
set root='(md/0)'
echo 'Loading Linux ...'
linux /boot/vmlinuz-3.9-1-686-pae root=/dev/md0 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.9-1-686-pae }
Kod: Zaznacz cały
cat /etc/debian_version
jessie/sid
uname -r
3.9-1-686-pae