Hi,
using YaST, I configured my opensuse machine to a soft RAID1 array. Everything seems to be running fine as to the back-up, cat /proc/mdstat gives the expected output
Personalities : [raid1] [raid0] [raid10] [raid6] [raid5] [raid4]
md2 : active raid1 sdb4[1] sda4[0]
18859960 blocks super 1.0 [2/2] [UU]
bitmap: 0/1 pages [0KB], 65536KB chunk
md1 : active raid1 sdb2[1] sda2[0]
19920824 blocks super 1.0 [2/2] [UU]
bitmap: 0/1 pages [0KB], 65536KB chunk
md0 : active raid1 sdb1[1] sda1[0]
20971448 blocks super 1.0 [2/2] [UU]
bitmap: 0/1 pages [0KB], 65536KB chunk
However, I would like to be able to boot the machine, when one of the two disks have failed. This seemed not to be configured by YaST, aS I was unable to load GRUB when removing the diks with GRUB on it (duhe).
So, checking various resources, i followed a procedure installing the grub on the other disk
grub
root(hd0,0)
setup(hd0)
root(hd1,0)
setup(hd1)
and editing the /boot/grub/menu.lst.
I managed to get along the GRUB, meaning that even if one of the disk was removed, i could get trough. However, while loading the kernel, i suddenly get the error:
(…)
could not find /dev/disk/by-id/md-uuid-foo
Do you want to fall back to /dev/disk/by-id/md-uuid-foo?[yes
o]
Answering yes will provide the same error, answering no gives
cannot set terminal process group (-1): inappropriate ioctl for device
I suppose he is looking for the root on the RAID partition. However i must admit i have absolutely no clue, spending the whole day on it. Could someone provide some advice? Thanks!
ps: in case you haven’t noticed, I am not super familiar with the matter. So please ask, fee free to ask questions. This is usually a good way to wrap your head around the topic