Fixed.<br><br>I booted the Gentoo 2006.0 Minimial Install CD. I ran 'lvm vgscan' and it recognized 'london'. When I ran 'lvm lvs', it showed the pvmove LV. I entered 'pvmove --abort'. When I entered 'lvm lvs' again, the pvmove LV was gone.<br><br>It seems wrong that the LVM tools would support attempting to do a pvmove when snapshot support is compiled out.<br><br><b><i>Joe Harvell <joeharvell@yahoo.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> <div>Please help.</div> <div> </div> <div>Yesterday I executed 'pvmove /dev/sda5 /dev/sda3' to move data within volume group 'london.' It failed as paraphrased below:</div> <div> </div> <div>$ pvmove /dev/sda5 /dev/sda3</div> <div>Unrecognised segment type mirror</div> <div>Unable to active mirror logical volume</div> <div>Execute pvmove --abort</div> <div>Unrecognised segment type mirror</div>
<div>Unrecognised segement type mirror</div> <div> </div> <div>The pvmove command hung and never completed. I executed the 'lvs' command from another window and it hung. I executed the 'pvmove --abort' command from another window and it hung, too.</div> <div> </div> <div>The system was up and running and working fine, as long as I didn't enter an LVM command.</div> <div> </div> <div>pvmove has worked for me before on this system. I think what changed is that I recompiled it without mirrors support because I was tired of seeing the "Unrecognized segment type mirror" all the time. I think this broke pvmove, because when I read the documentation about what it does, it says it creates a mirror LV or something like that.</div> <div> </div> <div>When I rebooted, the failure happend in my initrd. My / and /usr are in LVs in VG london. When I did the lvm vgscan, it complains with the following two
lines several times:</div> <div> </div> <div>Unrecognised segment type mirror</div> <div>Couldn't read all logical volumes for volume group london</div> <div> </div> <div>At the end it says 'Volume group "london" not found'</div> <div> </div> <div>By the way, it did find one of my other volume groups.</div> <div> </div> <div>The initrd LVM version info is as follows:</div> <div> </div> <div>LVM version: 2.02.05 (2006-04-21)</div> <div>Library version: 1.02.07 (2006-05-11)</div> <div>Drvier version: 4.5.0</div> <div> </div> <div>The kernel is 2.6.16.</div> <div> </div> <div>In the system the initrd is trying to boot, the LVM version info should be the same. It is definitely either the same or newer. As I stated earlier, the lvm tools in the system were compiled without mirror support. I think the same is true of the version in the initrd, but it might not be the case.</div> <div> </div>
<div>Okay, so what do I do???</div><div> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com _______________________________________________<br>linux-lvm mailing list<br>linux-lvm@redhat.com<br>https://www.redhat.com/mailman/listinfo/linux-lvm<br>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/</div></blockquote><br><p>
<hr size=1>Yahoo! Music Unlimited - Access over 1 million songs.
<a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/
">Try it free.</a>