[lvm-devel] [PATCH] Fix read-only warning for partial volume
Takahiro Yasui
takahiro.yasui at hds.com
Wed Jun 30 19:37:11 UTC 2010
On 06/30/10 12:46, Alasdair G Kergon wrote:
> On Wed, Jun 30, 2010 at 12:25:00PM -0400, Takahiro Yasui wrote:
>> Partial mode. Incomplete volumes will be activated.
>
> log_print("Partial mode. Incomplete logical volumes will be processed.");
>
> Yes, the focus is on LVs not VGs
Thank you for committing it.
> As MISSING_PV handling has become default behaviour, what *extra* does
> --partial offer?
The latest lvm command works as you mentioned only when a logical volume
is on valid physical volumes, but lvchange or vgchange fails if a logical volume
contains invalid devices. In that case, we still need --partial option.
For example, LV is on PV1 and PV2 for linear, stripe or mirror, and PV2 is
missing. With --partial option, we can activate LV and read/write it. This is
very important especially for mirror volume.
It is ideal that a logical volume can be activated without --partial option.
And in that case, we don't need --partial option.
Thanks,
Taka
More information about the lvm-devel
mailing list