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

Re: copying lvm with the same name



On Wed, 2009-03-18 at 12:26 -0600, Frank Cox wrote:
> At this point, since the second hard drive seems to be in good condition, I
> think I would like to re-format it and either add it to the existing volume on
> sda2 to make one big logical drive, or just reformat it and make a second lvm
> on it again and add it my directory tree.  Which approach would be better?  And
> how do I extend a lvm to cover both drives if that's what I end up doing?

Probably most flexible to add the 2nd drive to the existing VG. Use
pvcreate to set up the partition(s) as PVs, then use vgextend to add
them to the VG. You can then use lvcreate and/or lvextend to create new
LVs or extend existing LVs as you see fit.

-Chris


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