Re: lvcreate hangs always

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In my setup, cmirror is started before clvm, it may be the reason.

2009/12/28 Diamond Li <diamondiona@xxxxxxxxx>:
> not at all, it hangs again.
>
> On Mon, Dec 28, 2009 at 3:22 PM, brem belguebli
> <brem.belguebli@xxxxxxxxx> wrote:
>> did it work ?
>>
>> 2009/12/28 Diamond Li <diamondiona@xxxxxxxxx>:
>>> thanks for your reply, I have started cmirror:
>>> [root@wplccdlvm445 ~]# service cmirror status
>>> cmirror is running.
>>> [root@wplccdlvm445 ~]# service clvmd status
>>> clvmd (pid 5392) is running...
>>>
>>> [root@wplccdlvm445 ~]# service cman  status
>>> cman is running.
>>> [root@wplccdlvm445 ~]# clustat
>>> Cluster Status for clearcase @ Mon Dec 28 10:54:49 2009
>>> Member Status: Quorate
>>>
>>>  Member Name                                       ID   Status
>>>  ------ ----                                       ---- ------
>>>  wplccdlvm445.cn.ibm.com                               1 Online, Local
>>>  wplccdlvm446.cn.ibm.com                               2 Online
>>>
>>> [root@wplccdlvm445 ~]# lvcreate  -vvv -m1 --corelog -L 800M   vg100
>>>        Processing: lvcreate -vvv -m1 --corelog -L 800M vg100
>>>        O_DIRECT will be used
>>>      Setting global/locking_type to 3
>>>      Cluster locking selected.
>>>      Getting target version for linear
>>>        dm version   OF   [16384]
>>>        dm versions   OF   [16384]
>>>      Getting target version for striped
>>>        dm versions   OF   [16384]
>>>    Setting logging type to core
>>>      Setting activation/mirror_region_size to 512
>>>    Finding volume group "vg100"
>>>      Locking VG V_vg100 PW B (0x4)
>>>
>>>
>>>
>>> On Fri, Dec 25, 2009 at 8:04 AM, brem belguebli
>>> <brem.belguebli@xxxxxxxxx> wrote:
>>>> try to run cmirror (service cmirror start) before doing any clvm with mirror
>>>>
>>>>
>>>>
>>>> 2009/12/24 Diamond Li <diamondiona@xxxxxxxxx>:
>>>>> 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@xxxxxxxxx> 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@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@wplccdlvm446 ~]# cat /etc/redhat-release
>>>>>>  Red Hat Enterprise Linux Server release 5.4 (Tikanga)
>>>>>>
>>>>>> [root@wplccdlvm446 ~]# uname -r
>>>>>>  2.6.18-164.el5
>>>>>>  same result, every I added nosync parameter.
>>>>>>
>>>>>>  [root@wplccdlvm446 ~]# lvcreate -vvvv  --nosync -m1 --mirrorlog core
>>>>>>  -L 800M   vg00
>>>>>>
>>>>>
>>>>> --
>>>>> Linux-cluster mailing list
>>>>> Linux-cluster@xxxxxxxxxx
>>>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>>>
>>>>
>>>> --
>>>> Linux-cluster mailing list
>>>> Linux-cluster@xxxxxxxxxx
>>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>>
>>>
>>> --
>>> Linux-cluster mailing list
>>> Linux-cluster@xxxxxxxxxx
>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster@xxxxxxxxxx
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>
>
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster
>

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux