[linux-lvm] shift PV from disk to raid device?
Stuart D. Gathman
stuart at bmsi.com
Tue Dec 9 16:56:51 UTC 2008
On Tue, 9 Dec 2008, Stuart D. Gathman wrote:
> Here are the steps that I see:
> 1) remove sda from md2 array
> 2) use dd or pvremove to clear PV info in md2. This should not
> affect sda since sda is removed from md2
> 3) pvcreate md2 as a new PV and add to volume group
> 4) pvmove sda -> md2. The data should physically go on sdb, or whatever the
> other mirror of md2 is.
> 5) check that all LVs are gone from sda, and remove from volume group
> 6) pvremove sda
> 7) add sda to md2 array, and synchronize.
> Did I miss anything?
0.5) Backup everything just in case
Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
More information about the linux-lvm