Bug#397973: #397973 [powerpci/mac] partman-md appears to not write back the raid flag to partitions.
On Fri, Jan 12, 2007 at 07:51:40PM +0100, Frans Pop wrote:
> This issue may possibly be fixed by partman-base (101). Please test.
Well, i have done an d-i install, created the devices by hand, chosen in
expert mode unstable, which i suppose will pull in the above version, but
haven't really found out a way to test it (please add the version to syslog
when they get installed, this would be very helpful), and have to say that the
problem still persists.
I create two 1GB raid partitions, and try to create a RAID1 device, and find
the "No RAID partitions available" dialog.
When i go into parted, i notice that the raid flag has gone, replaced with a
swap flag, which seems strange. Both of them used to be swap partitions prior
to the test though.
I set the raid flags back, go back to partman, who mentions me a dialog
"please make sure you are happy with the partitions table and commit it"
(paraphrased i forgot to copy, but you get the meaning), and the raid
flags are gone again.
To work around this, you have to go into parted, after the first partman-md
dialog, and set the raid flags.
The funny thing is that the raid flag is shown in the main partman manual
partitioning dialog, so i suppose it is in the database, unless these flags
are detected and not taken from the partman datas or something.
Without this, i would have thought that partman had the non-raid stored in its
data, and when doing the write to disk, did write the non-raid flag (well,
erased the flag i guess).
It would be really helpful if this could be reproduced on an x86 box, with a
mac partition table (expert mode, chose pmac as partition table format for the
So, unless i made a mistake, i confirm that this bug is still present.