[Linux-cluster] lvcreate hangs always
brem belguebli
brem.belguebli at gmail.com
Fri Dec 25 00:04:40 UTC 2009
try to run cmirror (service cmirror start) before doing any clvm with mirror
2009/12/24 Diamond Li <diamondiona at gmail.com>:
> Could someone kindly help me to get through because I haven been
> blocked for very long time.
>
>
> On Wed, Dec 23, 2009 at 10:38 PM, Diamond Li <diamondiona at gmail.com> wrote:
>> 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
>>
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
More information about the Linux-cluster
mailing list