Unable to use pvmove

I needed to remove a physical volume from a LVM volume group, and found this is done using the pvmove command.  However, trying to run this, resulted in an immediate, and suprising error

# pvmove /dev/sdb1 /dev/sdc1
Required device-mapper target(s) not detected in your kernel

After some quick google’ing I found on this list a cause, and a fix.  Appreantly, pvmove uses something provided by the raid1 module to do it’s magic.  So, loading loading the dm-mirror kernel module fixes the issue and pvmove works as expected.  Thanks debian-user list :-)

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

This entry was posted in Uncategorized. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>