[parted-devel] [PATCH] libparted/dasd: improve lvm/raid flag handling for DASD-CDL

Wang Dong dongdwdw at linux.vnet.ibm.com
Thu May 25 00:32:04 UTC 2017



On 5/24/2017 9:48 PM, Sebastian Parschauer wrote:
> On 24.05.2017 14:54, Wang Dong wrote:
>
> From: André Wild <wild at linux.vnet.ibm.com>
>
>> This commit corrects the reading of lvm/raid flags on DASD/CDL formatted
>> disks. Previously, users were not able to see what was the actual flags
>> stored on the disk. Now the file system check is removed and this issue
>> is corrected.
>>
>> Signed-off-by: André Wild <wild at linux.vnet.ibm.com>
>> Signed-off-by: Wang Dong <dongdwdw at linux.vnet.ibm.com>
>> Signed-off-by: Hendrik Brueckner <brueckner at linux.vnet.ibm.com>
> Acked-by: Sebastian Parschauer <sparschauer at suse.de>
>
> The problem only still exists for swap. parted can't distinguish between
> "Linux native" and "Linux swap" before mkswap is run.
>
> For GPT that's already fixed by:
> c7ce5d48f6fa libparted: set swap flag on GPT partitions
>
> Do you intend to fix that for DASDs as well?
This patch is just to read the flag correctly, which is set before.
And we have not touched the swap/native thing.  Maybe we will check it 
later on.
Thanks for the info.
> Cheers,
> Sebastian
>

-- 
Best regards.

Wang Dong




More information about the parted-devel mailing list