0

I had a system that was running on a small netbook that had LVM2 set up to group two external USB hard drives into a volume group, and to use that volume group to create a mirrored logical volume.

Then I wanted to migrate to a better machine, so I copied the disk image to a better laptop, and booted. All good so far. I can get LVM to recognize the two attached USB hard drives, and to recognize that they're LVM-enabled, and to recognize that they're part of the same volume group. I can export and import that volume group. However, when I try to enable it (vgchange -ay vg_mirror), I get the following error and output:

Can't process LV lv_mirror: mirror target support missing from kernel?

0 logical volume(s) in volume group "vg_mirror" now active

I've tried uninstalling (both apt-get uninstall and apt-get purge) and reinstalling to no avail. I'm running a 686 kernel on an Intel Core i3, so I doubt that's the issue, although I can't figure out why switching machines would have borked any kernel drivers other than an instruction set or hardware incompatability. Any ideas?

  • What versions of LVM and distros are we dealing w/ here? Sounds like you're missing a kernel module on the 2nd system or the LVM isn't current. – slm Aug 21 '14 at 13:37
  • lvm version: LVM version: 2.02.95(2) (2012-03-06); Library version: 1.02.83 (2013-11-13) – joshlf Aug 21 '14 at 14:08
  • uname -a: Linux hostname 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux – joshlf Aug 21 '14 at 14:08
  • And I seriously doubt it's a missing kernel module or a non-current LVM. This exact setup worked perfectly on the old machine - I literally copied the disk contents verbatim (classic old dd if=/dev/old of=/dev/new style). – joshlf Aug 21 '14 at 14:09
  • Fair enough, I'm simply following the path of error messages to that conclusion. But I'm in agreement w/ you, that doesn't fit what you're describing so let's throw that out. – slm Aug 21 '14 at 14:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.