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.

Leave a Reply