Re: lvm - problem replacing failed disk

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

 



On Thu, Jun 15, 2006 at 03:41:20PM -0600, Steven Mosimann wrote:
> (1) Replaced the failed disk with one of the same size  
> (2) Used pvcreate to make the same physical volumes on the new disk
> that were present on the failed disk.  Example of the actual command I
> used was:
>   pvcreate --uuid xxxxx /dev/sdb1
> where xxxxx was the pv uuid from pvdisplay 

Missing the --restorefile arg there (for safety - if it was originally
created by lvm2 with default options it'll make no difference).
 
Missing a 'vgcfgrestore' step.

> (3) Used vgchange -a y -P to activate the volume group

No need for -P here.  That's what you use if you *don't* do steps 1 and 2 etc.

Alasdair
-- 
agk@redhat.com

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux