Bug 491116 - major:minor locking errors when creating a --corelog cmirror
Summary: major:minor locking errors when creating a --corelog cmirror
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: cmirror
Version: 4
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jonathan Earl Brassow
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-19 14:25 UTC by Corey Marthaler
Modified: 2013-09-23 15:31 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-23 15:31:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Corey Marthaler 2009-03-19 14:25:07 UTC
Description of problem:
[root@hayes-02 ~]# lvcreate -m 1 -n mirrorC -L 10M --corelog hayes 
  Rounding up size to full physical extent 12.00 MB
  Error locking on node hayes-02: The requested major:minor pair (253:77) is already used
  Logical volume "mirrorC" created

Mar 19 09:23:37 hayes-03 udevd[1232]: udev done!
Mar 19 09:24:06 hayes-03 lvm[7002]: Monitoring mirror device hayes-mirrorC for events 
Mar 19 09:24:06 hayes-03 udevd[1232]: udev done!


From a -vvvv strace:
    Creating logical volume mirrorC_mimage_0
        Getting device info for hayes-mirrorC
        dm info  LVM-UtC7Efceuv8B89b0VBvLZKwFQLKuonL0Eu0NeimeQbmNwRjxKiB0RrsIPDvuJ0uk NF   [16384]
        dm info  UtC7Efceuv8B89b0VBvLZKwFQLKuonL0Eu0NeimeQbmNwRjxKiB0RrsIPDvuJ0uk NF   [16384]
        dm info hayes-mirrorC  NF   [16384]
      Locking LV UtC7Efceuv8B89b0VBvLZKwFQLKuonL0Eu0NeimeQbmNwRjxKiB0RrsIPDvuJ0uk EX C (0x9d)
  Error locking on node hayes-02: The requested major:minor pair (253:77) is already used


Version-Release number of selected component (if applicable):
2.6.9-82.ELsmp

lvm2-2.02.42-4.el4    BUILT: Wed Feb 25 14:30:16 CST 2009
lvm2-cluster-2.02.42-4.el4    BUILT: Wed Feb 25 14:29:56 CST 2009
device-mapper-1.02.28-2.el4    BUILT: Fri Feb 20 05:09:48 CST 2009
cmirror-1.0.1-1    BUILT: Tue Jan 30 17:28:02 CST 2007
cmirror-kernel-2.6.9-43.8.el4    BUILT: Mon Mar  9 16:07:29 CDT 2009


How reproducible:
Everytime

Comment 2 Jonathan Earl Brassow 2010-05-17 21:59:39 UTC
reproducible?

Comment 3 Corey Marthaler 2010-07-15 21:03:17 UTC
This works with the latest rhel5 code (though I have not tested this in rhel4 like originally reported).

[root@grant-01 ~]# lvcreate -m 1 -n mirrorC -L 10M --corelog grant
  Rounding up size to full physical extent 12.00 MB
  Logical volume "mirrorC" created

lvm2-2.02.56-12.el5    BUILT: Mon Jun  7 05:40:35 CDT 2010
lvm2-cluster-2.02.56-7.el5_5.3    BUILT: Fri May 14 08:35:58 CDT 2010
device-mapper-1.02.39-2.el5    BUILT: Thu Apr 22 04:43:28 CDT 2010
cmirror-1.1.39-8.el5    BUILT: Wed Mar  3 09:31:58 CST 2010
kmod-cmirror-0.1.22-3.el5    BUILT: Tue Dec 22 13:39:47 CST 200

Comment 5 Lon Hohberger 2013-09-23 15:31:33 UTC
The Red Hat Cluster Suite product is past end-of-life; closing.


Note You need to log in before you can comment on or make changes to this bug.