[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#497110: improved dmraid support in D-I



Frans Pop ha scritto:
> On Sunday 07 September 2008, Frans Pop wrote:
>> I've done some testing using Giuseppe's businesscard image in
>> VirtualBox ...
> 
> I was very surprised that you don't actually need BIOS support for dmraid. 
> Apparently it really only scans the harddisks for some specific headers 
> and bases the rest on that. 

Yes,fakeRAID metadata is stored somewhere close to the end of the harddrive,
and is used by dmraid to figure out what your raid setup is. On a real machine,
it is the BIOS job to write them, dmraid-empty-disk has the fake signature and
this is good for testing.


> Makes me wonder if we could not have a tool 
> to generate such images from scratch...

I'm working on this, but it is not very simple for me.
Approximately "dmraid -rD" generates three files, from this we can extrapolate
metadata, and with a hex editor we can add the fake signature to the
qemu/virtualbox drive



Giuseppe.


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: