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

Phil Susi psusi at ubuntu.com
Thu Apr 20 20:02:32 UTC 2017


On 4/17/2017 10:07 PM, Wang Dong wrote:
> dasd_read just reads what the device got.
> Previously, no matter what flag the disk got, if it has a file system,
> the flag will never be read, although it got one. it is not good.
> what we did is just reading what the disk got regardless of the 
> existence of file system.

What?  Flags have nothing to do with what filesystem is present.

> But when to set a flag on disk, if a file system exists, a warning will
> raised. Because some flag does not work well along with file system, ex. 
> lvm/raid.

Is there something goofy that dasd does with these flags?  For MBR and
GPT, they just set the partition type code, and filesystems do not know
or care about that, so why do you say that this can cause damage to your
filesystem?




More information about the parted-devel mailing list