[linux-lvm] LV mirror extents on same physical device

Julie Ashworth ashworth at berkeley.edu
Sat Feb 22 17:08:37 UTC 2014


On 22-02-2014 10.37 +0000, James Hawtin wrote:
> #pvcreate /dev/md2
> #vgextend VolGroup00 /dev/md2
> # Stop the old pv getting lvs created on it
> pvchange -x n /dev/md1
> # Whole thing in one go
> pvmove -v /dev/md1 /dev/md2
> # One at a time
> pvmove -v -n rootlv /dev/md1 /dev/md2
> vgreduce VolGroup00 /dev/md2
> 
---end quoted text---

My LVs are already mirrored (w/ two extents on /dev/md1), so is pvmove really the right tool to move one of those extents?
best,
Julie 




More information about the linux-lvm mailing list