bug#21522: assertion metadata_length > 0 in add_logical_part_metadata failed

Phil Susi <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
On 9/23/2015 8:15 PM, Brian C. Lane wrote:
> This isn't actually a bug, logical partitions need to have at least 1
> sector between them for metadata storage. parted enforces this when
> creating logical partitions, but other tools do not.

While parted lays out the disk this way, it doesn't have to be.  The EBR
for each chained logical volume can be placed anywhere in the extended
partition.  In his case, it looks like both are at the start of the
extended partition.  This is perfectly ok and parted should accept it.

Now that I have both EBRs I'm able to reproduce the crash and will try
to fix it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.