[Linux-cluster] lvcreate hangs always
Diamond Li
diamondiona at gmail.com
Wed Dec 23 14:38:34 UTC 2009
Hello everyone,
I am trying to create a mirror LVM on cluster, but lvcreate hangs
every time and I have to use kill from another terminal. According to
release note, this should be supported since 5.3
Any words from wisdoms?
[root at wplccdlvm446 ~]# lvcreate -vvvv -m1 --mirrorlog core -L 800M vg00
#lvmcmdline.c:987 Processing: lvcreate -vvvv -m1 --mirrorlog
core -L 800M vg00
#lvmcmdline.c:990 O_DIRECT will be used
#config/config.c:950 Setting global/locking_type to 3
#locking/locking.c:253 Cluster locking selected.
#activate/activate.c:363 Getting target version for linear
#ioctl/libdm-iface.c:1672 dm version OF [16384]
#ioctl/libdm-iface.c:1672 dm versions OF [16384]
#activate/activate.c:363 Getting target version for striped
#ioctl/libdm-iface.c:1672 dm versions OF [16384]
#lvcreate.c:318 Setting logging type to core
#config/config.c:950 Setting activation/mirror_region_size to 512
#lvcreate.c:997 Finding volume group "vg00"
#locking/cluster_locking.c:458 Locking VG V_vg00 PW B (0x4)
[root at wplccdlvm446 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
[root at wplccdlvm446 ~]# uname -r
2.6.18-164.el5
same result, every I added nosync parameter.
[root at wplccdlvm446 ~]# lvcreate -vvvv --nosync -m1 --mirrorlog core
-L 800M vg00
More information about the Linux-cluster
mailing list