[linux-lvm] Adding a mirror after-the-fact

Luca Berra bluca at comedia.it
Wed Aug 15 21:30:04 UTC 2001


On Wed, Aug 15, 2001 at 10:56:23AM +0200, Heinz J . Mauelshagen wrote:
> On Tue, Aug 14, 2001 at 05:11:59PM -0400, Jason Tackaberry wrote:
> > I know this isn't strictly an LVM question, but ...
> > 
> > Suppose I have a volume group with 1 physical volume, say a 9GB disk.
> > Now, after some time, I decide I want to mirror this VG with another 9GB
> > disk.  What options do I have?  AFAICS, the only way to do this would be
> > to start from scratch?  This is a pretty simple and presumably common
> > thing to want to do, so I hope I'm wrong.  :)
> 
> Yes, you are (with 2.4 kernels) ;-)
> 
> You could either mirror the whole disk using MD *without* persistent superblocks
> 
raid superblock is at end of disk, so you could also
create an lv with only the last PE of the PV and NEVER USE it

L.

-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \



More information about the linux-lvm mailing list