Wind River Support Network

HomeDefectsLIN7-4292
Fixed

LIN7-4292 : Cannot open shared object file:libdevmapper-event-lvm2snapshot.so:

Created: Jul 14, 2015    Updated: Sep 13, 2018
Resolved Date: Jul 20, 2015
Found In Version: 7.0.0.5
Fix Version: 7.0.0.29
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# pvcreate /dev/loop0 -ff
  Physical volume "/dev/loop0" successfully created
root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# pvcreate /dev/loop1 -ff
  Physical volume "/dev/loop1" successfully created
root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# vgcreate rootvg /dev/loop0 /dev/loop1
  Volume group "rootvg" successfully created
root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# lvcreate -L 50 -n rootlv rootvg
  Rounding up size to full physical extent 52.00 MiB
  Logical volume "rootlv" created
root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# mkfs -t ext4 /dev/rootvg/rootlv
mke2fs 1.42.9 (28-Dec-2013)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
13328 inodes, 53248 blocks
2662 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=54525952
7 block groups
8192 blocks per group, 8192 fragments per group
1904 inodes per group
Superblock backups stored on blocks: 
	8193, 24577, 40961

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# mount /dev/rootvg/rootlv /opt/wr-test/testcases/userspace-new/lvm2/lvm2_test/lv

root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# lvcreate -L 50 -s -n backup /dev/rootvg/rootlv
  rootvg-backup: event registration failed: 2926:3 libdevmapper-event-lvm2snapshot.so dlopen failed: libdevmapper-event-lvm2snapshot.so: cannot open shared object file: No such file or directory
  rootvg/snapshot0: snapshot segment monitoring function failed.
  Rounding up size to full physical extent 52.00 MiB
  Logical volume "backup" created
root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# lvconvert --merge -i 1 /dev/rootvg/backup
  Can't merge over open origin volume
  Merging of snapshot backup will start next activation.
root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# umount /opt/wr-test/testcases/userspace-new/lvm2/lvm2_test/lv

root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# vgchange -an
  0 logical volume(s) in volume group "rootvg" now active
root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# vgchange -an
  0 logical volume(s) in volume group "rootvg" now active
root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# lvremove  -f /dev/rootvg/rootlv
  Logical volume "backup" successfully removed
  Logical volume "rootlv" successfully removed
root@hostname:/opt/wr-test/testcases/userspace-new/lvm2# lvremove  -f /dev/rootvg/rootlv

Steps to Reproduce

1, configure
2, make fs
3, boot and login
4, run below steps:

# dd if=/dev/zero of=/tmp/img0 bs=1M count=100
# dd if=/dev/zero of=/tmp/img1 bs=1M count=100

# losetup loop0 /tmp/img0
# losetup loop1 /tmp/img1

# pvcreate /dev/loop0 -ff
# pvcreate /dev/loop1 -ff
# vgcreate rootvg /dev/loop0 /dev/loop1
# lvcreate -L 50 -n rootlv rootvg
# mkfs -t ext4 /dev/rootvg/rootlv
# mount /dev/rootvg/rootlv /opt/wr-test/testcases/userspace-new/lvm2/lvm2_test/lv
# lvcreate -L 50 -s -n backup /dev/rootvg/rootlv 
  

Other Downloads


Live chat
Online