I'm getting this message every few hours since installation of a
SLES10SP2 system:

 

kernel: device-mapper: table: 253:4: mirror: Device lookup failure

kernel: device-mapper: ioctl: error adding target to table

 

I've looked through the device mapper stuff and I can't find any reason
for this system to think it's got a minor at 4, or a mirror.  What might
be causing these messages, and what can I do beside the obvious LVM and
Device Mapper commands to troubleshoot? Or maybe the answer is staring
me in the face and I am missing it.

 

 

# df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/dasda1           373M  111M  244M  32% /

udev                  121M   92K  121M   1% /dev

/dev/mapper/system--vg-opt--lv

                      372M   37M  317M  11% /opt

/dev/mapper/system--vg-tmp--lv

                      372M   17M  337M   5% /tmp

/dev/mapper/system--vg-usr--lv

                      2.0G  807M  1.1G  43% /usr

/dev/mapper/system--vg-var--lv

                      496M  117M  354M  25% /var

 

zlinuxhdxgwdev1:/dev/mapper # ls -l

total 0

lrwxrwxrwx 1 root root     16 Feb 19 10:30 control -> ../device-mapper

brw------- 1 root root 253, 0 Feb 19 10:30 system--vg-opt--lv

brw------- 1 root root 253, 1 Feb 19 10:30 system--vg-tmp--lv

brw------- 1 root root 253, 2 Feb 19 10:31 system--vg-usr--lv

brw------- 1 root root 253, 3 Feb 19 10:31 system--vg-var-lv

 

zlinuxhdxgwdev1:/dev/disk/by-id # vgldisplay

  --- Volume group ---

  VG Name               system-vg

  System ID             

  Format                lvm2

  Metadata Areas        2

  Metadata Sequence No  5

  VG Access             read/write

  VG Status             resizable

  MAX LV                0

  Cur LV                4

  Open LV               4

  Max PV                0

  Cur PV                2

  Act PV                2

  VG Size               4.20 GB

  PE Size               4.00 MB

  Total PE              1076

  Alloc PE / Size       832 / 3.25 GB

  Free  PE / Size       244 / 976.00 MB

  VG UUID               uatqaW-r3JL-zUn7-7hxw-gLIu-2WnW-uOYl5G

   

zlinuxhdxgwdev1:/dev/disk/by-id # pvscan

  PV /dev/dasda2   VG system-vg   lvm2 [1.91 GB / 976.00 MB free]

  PV /dev/dasdb1   VG system-vg   lvm2 [2.29 GB / 0    free]

  Total: 2 [4.20 GB] / in use: 2 [4.20 GB] / in no VG: 0 [0   ]

zlinuxhdxgwdev1:/dev/disk/by-id # lvdisplay

  --- Logical volume ---

  LV Name                /dev/system-vg/opt-lv

  VG Name                system-vg

  LV UUID                pF6IWB-qBVD-0KIc-tFJR-YVsb-WcC6-coKce8

  LV Write Access        read/write

  LV Status              available

  # open                 1

  LV Size                384.00 MB

  Current LE             96

  Segments               1

  Allocation             inherit

  Read ahead sectors     0

  Block device           253:0

   

  --- Logical volume ---

  LV Name                /dev/system-vg/tmp-lv

  VG Name                system-vg

  LV UUID                FhVfHT-lbda-9ZNp-Dyks-uXWI-0QNA-QUBFQq

  LV Write Access        read/write

  LV Status              available

  # open                 1

  LV Size                384.00 MB

  Current LE             96

  Segments               1

  Allocation             inherit

  Read ahead sectors     0

  Block device           253:1

   

  --- Logical volume ---

  LV Name                /dev/system-vg/usr-lv

  VG Name                system-vg

  LV UUID                72dCIX-C0LC-Vkps-CwiD-oKLn-rNzq-1Q6m6i

  LV Write Access        read/write

  LV Status              available

  # open                 1

  LV Size                2.00 GB

  Current LE             512

  Segments               2

  Allocation             inherit

  Read ahead sectors     0

  Block device           253:2

   

  --- Logical volume ---

  LV Name                /dev/system-vg/var-lv

  VG Name                system-vg

  LV UUID                eBnq2p-L1Py-14wv-Y4Uq-mzJ3-CmXU-BF2ypb

  LV Write Access        read/write

  LV Status              available

  # open                 1

  LV Size                512.00 MB

  Current LE             128

  Segments               1

  Allocation             inherit

  Read ahead sectors     0

  Block device           253:3

 

zlinuxhdxgwdev1:/var/log # dmsetup info -c

Name             Maj Min Stat Open Targ Event  UUID

system--vg-opt--lv 253   0 L--w    1    1      0
LVM-uatqaWr3JLzUn77hxwgLIu2WnWuOYl5GpF6IWBqBVD0KIctFJRYVsbWcC6coKce8

system--vg-tmp--lv 253   1 L--w    1    1      0
LVM-uatqaWr3JLzUn77hxwgLIu2WnWuOYl5GFhVfHTlbda9ZNpDyksuXWI0QNAQUBFQq

system--vg-var--lv 253   3 L--w    1    1      0
LVM-uatqaWr3JLzUn77hxwgLIu2WnWuOYl5GeBnq2pL1Py14wvY4UqmzJ3CmXUBF2ypb

system--vg-usr--lv 253   2 L--w    1    2      0
LVM-uatqaWr3JLzUn77hxwgLIu2WnWuOYl5G72dCIXC0LCVkpsCwiDoKLnrNzq1Q6m6i

 

zlinuxhdxgwdev1:/dev/mapper # dmsetup table

system--vg-opt--lv: 0 786432 linear 94:5 384

system--vg-tmp--lv: 0 786432 linear 94:2 384

system--vg-var--lv: 0 1048576 linear 94:2 967040

system--vg-usr--lv: 0 4014080 linear 94:5 786816

system--vg-usr--lv: 4014080 180224 linear 94:2 786816

 


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to