From: "Sutto Zoltan" <sutto.zoltan@rutinsoft.hu>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] moving LVM to a new box
Date: Sat, 12 Feb 2005 01:42:34 +0100 [thread overview]
Message-ID: <000701c5109b$be941c00$0202a8c0@sutihome> (raw)
>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.
/dev/hda2->/dev/sda2
The new box booted correctly with the old disk.
Loading the necessary modules to be able to access SATA drive (ata_piix.ko).
When I tried to move my PV to a new partition using
pvmove /dev/hda2
I got kernel panic. After reseting I have complitly lost my VG.
What did I wrong?
I forgot to say that my root partition was on the VG I tried to move to the
new disk.
Did this cause the problem?
Zoltan Sutto
Ps.: Installing/etc...
next reply other threads:[~2005-02-12 0:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-12 0:42 Sutto Zoltan [this message]
-- strict thread matches above, loose matches on Subject: below --
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
2005-02-09 19:01 ` M. Matt Colgin
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='000701c5109b$be941c00$0202a8c0@sutihome' \
--to=sutto.zoltan@rutinsoft.hu \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.