All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] shift PV from disk to raid device?
@ 2008-12-08 23:41 Kai Schaetzl
  2008-12-09 10:30 ` Bryn M. Reeves
  0 siblings, 1 reply; 26+ messages in thread
From: Kai Schaetzl @ 2008-12-08 23:41 UTC (permalink / raw)
  To: linux-lvm

To make a long story short I accidentally put an LVM PV on top of /dev/sda 
instead of /dev/md2 (a Linux RAID 1 partition with the mirror missing) and 
noticed only after I was done with creating logical volumes and filling 
them with content. After adding the second RAID device and syncing I now 
get the duplicate PV uuid warning. The reason is obvious, I have the same 
PV on both drives. Apart from that warning "everything" works, but I would 
like to fix it.

If possible I would like to avoid wiping the complete PV, recreating all 
of it and copying all the content of the logical volumes back to it.
Is there a way to "shift" the PV from /dev/sda to /dev/md2 and leave 
everything else intact? Maybe after breaking the array?

Kai

-- 
Kai Sch�tzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com

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

end of thread, other threads:[~2008-12-10  0:31 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-08 23:41 [linux-lvm] shift PV from disk to raid device? Kai Schaetzl
2008-12-09 10:30 ` Bryn M. Reeves
2008-12-09 13:09   ` Kai Schaetzl
2008-12-09 14:24     ` Bryn M. Reeves
2008-12-09 17:22       ` Kai Schaetzl
2008-12-09 16:54   ` Stuart D. Gathman
2008-12-09 16:56     ` Stuart D. Gathman
2008-12-09 17:36     ` Bryn M. Reeves
2008-12-09 18:16       ` Kai Schaetzl
2008-12-09 18:32       ` Kai Schaetzl
2008-12-09 18:03     ` Kai Schaetzl
2008-12-09 18:06       ` Bryn M. Reeves
2008-12-09 18:20         ` Kai Schaetzl
2008-12-09 18:38           ` Stuart D. Gathman
2008-12-09 19:42             ` Kai Schaetzl
2008-12-09 19:56               ` Doug Ledford
2008-12-09 20:15                 ` Kai Schaetzl
2008-12-09 20:22                   ` Doug Ledford
2008-12-09 21:03                   ` Stuart D. Gathman
2008-12-09 21:22                     ` Doug Ledford
2008-12-09 20:38                 ` Kai Schaetzl
2008-12-09 20:51                   ` Doug Ledford
2008-12-09 21:04                   ` Stuart D. Gathman
2008-12-09 20:49                 ` Kai Schaetzl
2008-12-09 20:56                   ` Doug Ledford
2008-12-10  0:31               ` Kai Schaetzl

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.