[linux-lvm] [PATCH] lvm metadata handling, warn only once about missing PV

Jens Wilke jens.wilke at de.ibm.com
Fri Jun 9 10:30:39 UTC 2006


On Friday 09 June 2006 12:07, Dieter Stüken wrote:
> Jens Wilke wrote:
> > With patch:
> >
> > # vgchange -ay -P
> >   Partial mode. Incomplete volume groups will be activated read-only.
> >   Missing PV with uuid 'egDxmo-sVp7-OQGB-6mgt-84mk-xioM-ahdzBw' in VG
> > main 2 logical volume(s) in volume group "main" now active
>
> the metadata backup also shows the device name as a hint.
> Is this saved by the on-disk MD, too? Might be helpful to see.

Dieter,

Yes, the on-disk and backup metadata is identical so we have the
device hint. But I don't think that it is really a good idea to show it,
because this would make up a bit pitfall and confusing in stress
situations.

But it would be usefull to add a list of lvs that are partially available
or degraded in case of mirrors, so you have a quick info what is
the actual state of your system.

Best,

Jens

-- 
  Jens Wilke
  Linux on zSeries - Application Development Tools + GCC
  phone +49-(0)7031-16-3936 - tl *120-3936 - email jens.wilke at de.ibm.com
  IBM Germany Lab, Schoenaicher Str. 220, 71032 Boeblingen




More information about the linux-lvm mailing list