Re: Looking for a life-save LVM Guru

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 2015-02-28 at 07:25 +0700, Khemara Lyn wrote:

> I have tried with the following:
> 
> 1. Removing the broken PV:
> 
> # vgreduce --force vg_hosting /dev/sdc1
>   Physical volume "/dev/sdc1" still in use

Next time, try "vgreduce --removemissing <VG>" first.

In my experience, any lvm command using --force often has undesirable
side effects.


Regarding getting the lvm functioning again, there is also a --partial
option that is sometimes useful with the various vg* commands with a
missing PV (see man lvm).

And "vgdisplay -v" often regenerates missing metadata (as in getting a
functioning lvm back).

Steve

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux