Linux LVM users
 help / color / mirror / Atom feed
From: Tupshin Harper <tupshin@tupshin.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] moving LVM to a new box
Date: Wed, 09 Feb 2005 06:21:24 -0800	[thread overview]
Message-ID: <420A1C64.7040305@tupshin.com> (raw)
In-Reply-To: <1107958513l.12640l.4l@tangerine-64>

Jean-Luc Coulon (f5ibh) wrote:

> Le 09.02.2005 14:50:28, Sutto Zoltan a �crit :
>
>> I have a newly installed/configured/updated FC3 with LVM2 on a P3 box.
>> How can I move this working system to a new P4 box with a larger 
>> SATA  disk without reinstalling/upgrading/configuring the whole OS.
>>
>> Any help would be appreciated
>
>
> If I suppose you can install and boot you old disk in you new system  
> together with the new disk, you can do the following (I suppose the 
> old  disk is /dev/hda with a /dev/hda1 partition, and new one /dev/sda 
> with  a /dev/sda1 partition, I suppose your volume group is vg0):
>
> make backups  ;-)
>
> - pvcreate /dev/sda1
> - vgextend vg0 /dev/sda1
> - move all the lv data with pvmove /dev/hda1.
> - vgreduce vg0 /dev/hda2
> - you will have to configure lilo/grub to install and point on your 
> new  disk.
>
> I've done such a way but it was not with lvm2. Maybe there are some  
> pvmove issues with lvm2.

I just did exactly this for a new box, using lvm2, and it worked great. 
(re-emphasize "make backups"). The only issue I has was that pvmove 
failed until I realized that a necessary kernel module (dm_mirror, I 
believe) wasn't loaded.

-Tupshin

  reply	other threads:[~2005-02-09 14:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-09 13:50 [linux-lvm] moving LVM to a new box Sutto Zoltan
2005-02-09 14:15 ` Jean-Luc Coulon (f5ibh)
2005-02-09 14:21   ` Tupshin Harper [this message]
2005-02-09 19:01   ` M. Matt Colgin
  -- strict thread matches above, loose matches on Subject: below --
2005-02-12  0:42 Sutto Zoltan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=420A1C64.7040305@tupshin.com \
    --to=tupshin@tupshin.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox