Hi All, I used the tutorial http://www.howtoforge.com/how-to-set-up-software-raid1-on-a-running-lvm-system-incl-grub2-configuration-ubuntu-11.10-p2 and everything is OK until step "5 Moving Our Data To The RAID Arrays": Command 'pvdisplay' shows after the error: I'm using 2 * 250GB HDDs on a fresh ubuntu server 12.04 installation... I have put together a script which does the whole tutorial - and successfully did the process in VirtualBox environment ...and no such errors were seen during whole testing in VirtualBox ... https://www.dropbox.com/sh/8gopfuuqej5jrog/TTK4gVsc0l Any ideas?
Finally I've solved it. But let me add that I have faced the same problem even when I wanted to move a 160GB pv to 250GB pv, where partition setup was identical because sda partition setup was copied to sdb. And when the same problem emerged with two 250GB hdds as well, I have opened this thread to ask for advice. It seems that I simply didn't have free space on the new pv to store old pv... So the idea was to decrease the size of original sda pv to 99% of max available space, so that sdb pv will have enough space for it, and it did the job, pvmove is now possible. http://blog.shadypixel.com/how-to-shrink-an-lvm-volume-safely/