[Linux-cluster] lvm2 with clusterlock problems with snapshot
Falk Hackenberger - MediaTransfer AG Netresearch & Consulting
f.hackenberger at mediatransfer.com
Tue Jan 24 12:51:45 UTC 2006
hello,
i plan to setup a fileserver with 2 nodes for ha and 1 san-device for
storege.
Bescause the san-device have noch snapshot option (budget), ihave to
snapshot with lvm2 for backup.
so my testsetup with onde node works fine, exept the snapshot.
if I try to snapshot I get
root at kain ~]# lvcreate -L1G -s -n snap /dev/data/home
Logging initialised at Mon Jan 23 11:37:41 2006
Set umask to 0077
Loaded external locking library liblvm2clusterlock.so
Setting chunksize to 16 sectors.
Finding volume group "data"
Archiving volume group "data" metadata (seqno 112).
Creating logical volume snap
Creating volume group backup "/etc/lvm/backup/data" (seqno 113).
Zeroing start of logical volume "snap"
Error locking on node kain.mediatransfer.de: Internal lvm error, check
syslog
Problem reactivating origin home
Wiping internal VG cache
the logfile says:
device/dev-io.c:456 Closed /dev/sdb1
cluster_locking.c:412 Locking
0kqnkigkyVKpwYzD03xTbAFQdsuqKApjX09CQG8r0oa0gx7SDFu8KcNjZIYs5DZL at 0x1e
cluster_locking.c:360 Error locking on node kain.mediatransfer.de:
Internal lvm error, check syslog
lvcreate.c:776 Problem reactivating origin home
lvcreate.c:814 <backtrace>
cluster_locking.c:412 Locking V_data at 0x6
filters/filter-persistent.c:181 Dumping persistent device cache to
/etc/lvm/.cache
cache/lvmcache.c:574 Wiping internal VG cache
creates a new logical volume works.
any hints?
I use CentOS release 4.2
thanks Falk
More information about the Linux-cluster
mailing list