dm/lvm not working on latest master

Jan Lentfer Jan.Lentfer at web.de
Sat Feb 19 06:30:59 PST 2011


I upgrade my PostgreSQL test box to latest master. I couldn't access my 
striped lv anymore after upgrading. I removed the lv and tried to 
recreated it, but no success. It complaines about stripe target missing 
from kernel, but the module is loaded.

bash-4.1# pvs
  PV          VG   Fmt  Attr PSize PFree
  /dev/da1s2a vg01 lvm2 a-   9.93g 9.93g
  /dev/da2s2a vg01 lvm2 a-   9.93g 9.93g
bash-4.1# vgs -v
    Finding all volume groups
    Finding volume group "vg01"
  VG   Attr   Ext   #PV #LV #SN VSize  VFree  VG UUID 

  vg01 wz--n- 4.00m   2   0   0 19.87g 19.87g 
DYRNaR-yLWe-vrmt-IHNj-UAWL-ukjT-sJm2KE
bash-4.1# kldstat
Id Refs Address    Size     Name
 1    9 0xc0100000 804310   kernel
 2    1 0xc0905000 6cd48    acpi.ko
 3    1 0xc0972000 11bbc    ahci.ko
 4    1 0xc0984000 93ec     ehci.ko
 7    1 0xdc192000 3000     dm_target_striped.ko
 8    1 0xdc354000 9000     dm.ko
bash-4.1# lvcreate -i 2 -I 64 -L 18G -n stripe_lv vg01
  striped: Required device-mapper target(s) not detected in your kernel
  Run `lvcreate --help' for more information.

in /var/log/messages I have:

Feb 19 15:55:54 atom kernel: Device Mapper version 4.16.0 loaded
Feb 19 15:55:54 atom kernel: dm_target_error: Successfully initialized
Feb 19 15:55:54 atom kernel: dm_target_zero: Successfully initialized
Feb 19 15:55:54 atom kernel: dm_target_stripe: Successfully initialized
Feb 19 15:56:03 atom kernel: da2s1: cannot find label (no disk label)
Feb 19 15:56:09 atom last message repeated 86 times
Feb 19 15:58:34 atom last message repeated 93 times
Feb 19 15:59:06 atom last message repeated 4 times
Feb 19 16:26:27 atom kernel: da2s1: cannot find label (no disk label)
Jan





More information about the Bugs mailing list