[linux-lvm] error creating snapshots
Stuart D. Gathman
stuart at bmsi.com
Tue Nov 3 03:35:14 UTC 2009
Is this a harmless error having to do with some misreported option to notify a
user process when the snapshot is almost full? Or should I switch backups over
to network based because this means LVM might corrupt data?
CentOS-5.4
# uname -a
Linux xerces.jsconnor.com 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:03:03 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
# lvcreate -s -L20G -n dmm_snap bms_data/dmm
bms_data-dmm_snap: event registration failed: 10071:3
libdevmapper-event-lvm2snapshot.so dlopen failed:
/usr/lib64/liblvm2cmd.so.2.02: undefined symbol: dm_list_empty
bms_data/snapshot0: snapshot segment monitoring function failed.
Logical volume "dmm_snap" created
# echo $?
0
# lvremove bms_data/dmm_snap
Do you really want to remove active logical volume dmm_snap? [y/n]: y
Logical volume "dmm_snap" successfully removed
# diff /etc/lvm/backup/bms_data /etc/lvm/archive/bms_data_00290.vg
6c6
< description = "Created *after* executing 'lvremove bms_data/dmm_snap'"
---
> description = "Created *before* executing 'lvremove bms_data/dmm_snap'"
13c13
< seqno = 430
---
> seqno = 429
235a236,271
>
> dmm_snap {
> id = "2KshBd-67nj-nyrX-RUKK-LEl2-ZXBP-bJrtwe"
> status = ["READ", "WRITE"]
> flags = []
> segment_count = 1
>
> segment1 {
> start_extent = 0
> extent_count = 640 # 20 Gigabytes
>
> type = "striped"
> stripe_count = 1 # linear
>
> stripes = [
> "pv0", 7648
> ]
> }
> }
>
> snapshot0 {
> id = "zUturd-IQZR-3xYu-SgpB-NnzK-0XKL-JN3fWh"
> status = ["READ", "WRITE", "VISIBLE"]
> flags = []
> segment_count = 1
>
> segment1 {
> start_extent = 0
> extent_count = 1280 # 40 Gigabytes
>
> type = "snapshot"
> chunk_size = 8
> origin = "dmm"
> cow_store = "dmm_snap"
> }
--
Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
More information about the linux-lvm
mailing list