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

Re: Bug#497110: improved dmraid support in D-I



Frans Pop ha scritto:

> *.size is the disk size in sectors.
> hda_{0,1,2,3}_sil.dat are all identical, but there are some differences 
> between .dat files for hda and hdb.
> *.offset files are numbers close to the end of the disk, so apparently the 
> SATA RAID signature is saved 4 times near the end of the disk for 
> redundancy.

In this case yes (Silicon Image fakeraid), but this isn't true always.


> Question is if the disk size is encoded in the .dat files. IMO the main 

Yes, you can find Silicon Image metadata layout on dmraid source,
1.0.0.rc14/lib/format/ataraid/sil.h

> reason to use the procedure you devised would be to generate disk images 
> of a different size (80GB was a bit of a pain for the conversion from 
> vbox to VirtualBox format for example).

Uhmm, there are some unknown metadata sectors, I think this isn't possible.


Giuseppe.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: