On Saturday 29 March 2008, Joel Johnson wrote: > I have previously [1] reported an issue I encountered when using previous > installation images. I checked the Lenny beta1 installation images > (netinst) and the same problem still occurs. Namely, newly created md > devices are find, but scanning and activating existing md devices makes > partman think that the md device is partitionable.
This is indeed a very annoying issue and one I've seen a few times myself (e.g. in #470374). > This is a regression from the Etch installer. I doubt that as AFAIK the relevant code has not changed. > I see several related bug reports against partman-md, and am wondering if > plans are in the works for resolution of this. I'll take a look at it when > I get some time, but want to see if progress is being made elsewhere. The problem so far has been that the issue is not 100% reproducible, but your analysis seems to offer a good starting point. Nobody is actively working on this, although I may give it a shot again with your info. Feel free to dive into it if you are motivated to do so. The main question here is what is different/wrong in the way partman calls libparted in this situation and how can we avoid it. One possible cause could be that even though the RAID device(s) are activated, we don't create the proper partman state files for it/them under /var/lib/partman/devices/ and that the call to parted ends up wrong because of that. Comparing the state files for a newly created RAID device and a reactivated one could give a clue. Cheers, FJP
signature.asc
Description: This is a digitally signed message part.