Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Replace lvm-disk without being able to connect two disks at the same time
@ 2008-07-07  0:47 Eckhard Kosin
  2008-07-08 11:59 ` Bryn M. Reeves
  0 siblings, 1 reply; 2+ messages in thread
From: Eckhard Kosin @ 2008-07-07  0:47 UTC (permalink / raw)
  To: linux-lvm

Hi all,

on my laptop I have to replace the disk.  The filesystem is on lvm2.
The old disk has 40GB, the new one 250GB.  Of course on the new disk vg
and lv sizes will differ from the old one.  With the laptop there is no
possibility to plug in the old and the new disk at the same time.

So my plan is as follows:

      * Backup all data.
      * Remove old disk and plugin new disk.
      * Create vgs  and lvs on the new disk as desired.
      * Restore all data.

However I suspect that in the last step the new lvm-metadata will be
overwritten by the metadata of the old disk.  Which files I have to
exclude from the restore to do not touch the new metadata?

Or is there a better strategy to replace a lvm-disk without the
possibility to connect the new disk and the old disk at the same time to
the box?

    Thanks for any advise

          Ecki

-- 
  Eckhard Kosin
  Kaspar-Kerll-Str. 41
D-81245 München, Germany
  Tel.: (+49)(+89) 88 88 479
  Tel., Fax: (+49)(+89) 835 844
  mailto:Eckhard.Kosin@online.de

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

end of thread, other threads:[~2008-07-08 12:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-07  0:47 [linux-lvm] Replace lvm-disk without being able to connect two disks at the same time Eckhard Kosin
2008-07-08 11:59 ` Bryn M. Reeves

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