[Linux-cluster] lvcreate hangs always

Diamond Li diamondiona at gmail.com
Mon Dec 28 08:04:40 UTC 2009


not at all, it hangs again.

On Mon, Dec 28, 2009 at 3:22 PM, brem belguebli
<brem.belguebli at gmail.com> wrote:
> did it work ?
>
> 2009/12/28 Diamond Li <diamondiona at gmail.com>:
>> thanks for your reply, I have started cmirror:
>> [root at wplccdlvm445 ~]# service cmirror status
>> cmirror is running.
>> [root at wplccdlvm445 ~]# service clvmd status
>> clvmd (pid 5392) is running...
>>
>> [root at wplccdlvm445 ~]# service cman  status
>> cman is running.
>> [root at 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 at 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 at gmail.com> wrote:
>>> 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
>>>>
>>>
>>> --
>>> Linux-cluster mailing list
>>> Linux-cluster at redhat.com
>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>
>
> --
> 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