I have I drive failed in RAID1. Due to hardware (harddisk) failure, drive was marked as failed (mdadm /dev/md0 --set-faulty), removed from an array (mdadm /dev/md0 -r) and detached. Running lilo: # lilo Fatal: Not all RAID-1 disks are active; use '-H' to install to active disks only # lilo -H Warning: Partial RAID-1 install on active disks only; booting is not failsafe Warning: Faulty disk in RAID-1 array; boot with caution!! Fatal: Unusual RAID bios device code: 0xFF Some guys from Debian (link in URL) already fixed it with a patch. Reproducible: Always Steps to Reproduce: 1. create array RAID1 2. remove /dev/sda from array 3. try to run lilo Actual Results: Warning: Partial RAID-1 install on active disks only; booting is not failsafe Warning: Faulty disk in RAID-1 array; boot with caution!! Fatal: Unusual RAID bios device code: 0xFF Expected Results: lilo installed # cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb1[1] 24426688 blocks [2/1] [_U] bitmap: 175/187 pages [700KB], 64KB chunk unused devices: <none> # ls -l /dev/sd* brw-rw---- 1 root disk 8, 16 05-08 01:27 /dev/sdb brw-rw---- 1 root disk 8, 17 05-08 01:27 /dev/sdb1 brw-rw---- 1 root disk 8, 18 05-08 01:27 /dev/sdb2 brw-rw---- 1 root disk 8, 19 05-08 01:27 /dev/sdb3 # important entries in /etc/lilo.conf boot = /dev/md0 raid-extra-boot=mbr-only emerge --info (attached).
Created attachment 231993 [details] emerge --info
Created attachment 231995 [details, diff] patch from debian.org
Thanks for pointing out this patch -- assigning to maintainers.
This patch isn't in 23.0 yet.
(In reply to comment #4) > This patch isn't in 23.0 yet. Who cares, if no one attached this patch to current tree for 22.8 (which is the only one in the tree)?
(In reply to comment #5) > (which is the only one in the tree)? You're mistaken.
Marking OBSOLETE due to the current lilo-24.2 source containing the Debian fix.