[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[linux-lvm] shift PV from disk to raid device?
- From: Kai Schaetzl <maillists conactive com>
- To: linux-lvm redhat com
- Subject: [linux-lvm] shift PV from disk to raid device?
- Date: Tue, 09 Dec 2008 00:41:38 +0100
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]