Re: LILO 22.6.1-9.3 not compatible with SW RAID1 metdata >= 1.0

From
Neil Brown <hidden>
Date
2007-03-29 06:33:34
On Monday March 26, jpiszcz@lucidpixels.com wrote:
Neil,

Using: Debian Etch.

I picked this up via http://anti.teamidiot.de/nei/2006/10/softraid_lilo/ 
via google cache.  Basically, LILO will not even run correctly if the 
metadata is not 0.90.  After I had done that, LILO ran successfully for 
the boot md device, but I still could not boot my system until I made all of
the root raid array volumes with 0.90 metadata.

Any chance the LILO guys will fix this so it works with all forms of MD 
metadata?
I'm not sure why you address this to me.  I don't have any control
over lilo.  I don't even use it any more (not that grub is immensely
better in this area, just different).

I'm surprised that LILO cares about the metadata.  It should just try
to map blocks on a file to blocks on the device.  That obviously needs
to know something about how md works, but the metadata shouldn't be an
issue.
If the filesystem in on an md device, then check that it is raid1 and
reject if not.  If it is, find the underlying devices from
GET_DISK_INFO (they might be partitions or whole devices) and possibly
add the data_offset found in sysfs is the kernel is new enough to have
that entry in sysfs.  Add to that various partition mappings and you
should have a reliable mapping from file-block to device-block,
without needing to know about metadata.

NeilBrown
Thread (1 message) 1 message, 1 author, last reply 2007-03-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help