Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] PV Move
@ 2003-08-07 12:38 Rupert Hair
  2003-08-07 13:00 ` Dieter Stueken
  2003-08-07 13:02 ` Joe Thornber
  0 siblings, 2 replies; 4+ messages in thread
From: Rupert Hair @ 2003-08-07 12:38 UTC (permalink / raw)
  To: linux-lvm

I have just received a nice new disk and I would like to use it to
replace one of my PVs.  This would be no problem (it is well documented
in the HOWTO) but I would like to put the new disk in place of the old
one on the IDE cable.  (i.e. one of my PVs is currently /dev/hdd1 and I
would like to copy the data from that onto the new disk and then put the
new disk on /dev/hdd)

So my question is really can I change where LVM is expecting to find a
PV?

Thanks in advance.

Rupert

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] PV Move
  2003-08-07 12:38 [linux-lvm] PV Move Rupert Hair
@ 2003-08-07 13:00 ` Dieter Stueken
  2003-08-07 13:40   ` Rupert Hair
  2003-08-07 13:02 ` Joe Thornber
  1 sibling, 1 reply; 4+ messages in thread
From: Dieter Stueken @ 2003-08-07 13:00 UTC (permalink / raw)
  To: linux-lvm

Rupert Hair wrote:
> So my question is really can I change where LVM is expecting to find a
> PV?

everywhere! just put the new disk on any free IDE port you have.
Or use some temporary IDE pci-card. After you extracted the old
disk from your lvm (don't forget the final vgremove), you may
swap all disk around as you like. LVM will find them, regardless
to which devices they are connected. This is one of the most impressive
features of LVM anyway!

May be hda can not be moved that easily because of the MBR to boot fom.
But that has nothing to do with LVM.

Dieter.
-- 
Dieter St�ken, con terra GmbH, M�nster
     stueken@conterra.de
     http://www.conterra.de/
     (0)251-7474-501

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] PV Move
  2003-08-07 12:38 [linux-lvm] PV Move Rupert Hair
  2003-08-07 13:00 ` Dieter Stueken
@ 2003-08-07 13:02 ` Joe Thornber
  1 sibling, 0 replies; 4+ messages in thread
From: Joe Thornber @ 2003-08-07 13:02 UTC (permalink / raw)
  To: linux-lvm

On Thu, Aug 07, 2003 at 06:37:35PM +0100, Rupert Hair wrote:
> I have just received a nice new disk and I would like to use it to
> replace one of my PVs.  This would be no problem (it is well documented
> in the HOWTO) but I would like to put the new disk in place of the old
> one on the IDE cable.  (i.e. one of my PVs is currently /dev/hdd1 and I
> would like to copy the data from that onto the new disk and then put the
> new disk on /dev/hdd)
> 
> So my question is really can I change where LVM is expecting to find a
> PV?

LVM identifies PVs by the metadata on the disk, not its location in
the /dev/ tree.  As such you are free to move disks around as much as
you want, just run vgscan after moving them.

- Joe

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] PV Move
  2003-08-07 13:00 ` Dieter Stueken
@ 2003-08-07 13:40   ` Rupert Hair
  0 siblings, 0 replies; 4+ messages in thread
From: Rupert Hair @ 2003-08-07 13:40 UTC (permalink / raw)
  To: linux-lvm

> LVM will find them, regardless
> to which devices they are connected. This is one of the most
> impressive features of LVM anyway!

It certainly is!  Thanks Dieter and Joe.

Rupert

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-07 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-07 12:38 [linux-lvm] PV Move Rupert Hair
2003-08-07 13:00 ` Dieter Stueken
2003-08-07 13:40   ` Rupert Hair
2003-08-07 13:02 ` Joe Thornber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox