RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 613679 - preferred_names in lvm.conf not setup correctly
Summary: preferred_names in lvm.conf not setup correctly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Joey Boggs
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 613754
TreeView+ depends on / blocked
 
Reported: 2010-07-12 14:55 UTC by Mike Burns
Modified: 2010-11-11 14:53 UTC (History)
5 users (show)

Fixed In Version: ovirt-node-1.9.3-5.git3a9e2d0.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-11 14:53:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch (1006 bytes, patch)
2010-07-17 02:06 UTC, Joey Boggs
no flags Details | Diff

Description Mike Burns 2010-07-12 14:55:37 UTC
Description of problem:

preferred_names in lvm.conf is preferred_names = [ "^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d" ] by default

This causes multipath devices to show up as /dev/dm-XX devices in pvs type calls.  The script that sets up the lvm.conf file changes the commented preferred_names lines to the correct value:

preferred_names = [ "^/dev/mapper", "^/dev/[hsv]d" ]


Version-Release number of selected component (if applicable):
6.0

How reproducible:
Always when using multipath devices

Steps to Reproduce:
1. start rhevh in firstboot mode
2. configure storage (if not configured)
3. drop to shell (support menu -> shell)
4. run pvs - points to /dev/dm-* device
  
Actual results:
uses dm-* devices

Expected results:
uses /dev/mapper/<wwid> device

Additional info:

Comment 2 Joey Boggs 2010-07-17 02:06:10 UTC
Created attachment 432530 [details]
patch

Comment 4 Ying Cui 2010-08-26 09:09:32 UTC
Verified on build rhev-hypervisor-6.0-13.el6.noarch.

steps:
1. firstboot menu
2. partition on FC LUN.

[root@amd-1352-8-2 ~]# pvs
  PV                                              VG     Fmt  Attr PSize  PFree
  /dev/mapper/3600a0b80005adb0b000003ca4a1c593ep3 HostVG lvm2 a-   29.52g    0

Comment 5 releng-rhel@redhat.com 2010-11-11 14:53:23 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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