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 1289170 - LVM created in RHEL7 is not detected in RHEL6
Summary: LVM created in RHEL7 is not detected in RHEL6
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: udisks
Version: 6.8
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Tomas Smetana
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-07 15:12 UTC by Martin Krajnak
Modified: 2016-05-18 09:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-25 12:05:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Martin Krajnak 2015-12-07 15:12:57 UTC
Description of problem:
RHEL6 cannot detect LVM created on two flashdisks in RHEL7. gnome-disk-utility shows only two flashdisks, no LVM partitions are present.

Version-Release number of selected component (if applicable):
kernel-2.6.32-573.el6.x86_64
udisks-1.0.1-9.el6.x86_64
gnome-disk-utility-2.30.1-3.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.create LVM in RHEL7
2.reboot to Rhel6
3.open gnome-disk-utility

Actual results:
No LVM partition are present

Expected results:
LVM partitions should be present and possible to mount 

Additional info:
Output for udisks --dump on RHEL6:

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdb
  native-path:                 /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/host6/target6:0:0/6:0:0:0/block/sdb
  device:                      8:16
  device-file:                 /dev/sdb
    presentation:              /dev/sdb
    by-id:                     /dev/disk/by-id/lvm-pv-uuid-qShi6I-8Qvj-d1x6-L47S-Gms8-QC5w-UvxbEb
    by-id:                     /dev/disk/by-id/usb-Verbatim_Store_n_Go_Drive_100000000000295-0:0
    by-path:                   /dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.0-scsi-0:0:0:0
  detected at:                 Mon 07 Dec 2015 03:44:54 PM CET
  system internal:             0
  removable:                   1
  has media:                   1 (detected at Mon 07 Dec 2015 03:44:54 PM CET)
    detects change:            1
    detection by polling:      1
    detection inhibitable:     1
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        2013265920
  block size:                  512
  job underway:                no
  usage:                       raid
  type:                        LVM2_member
  version:                     LVM2\x20001
  uuid:                        qShi6I-8Qvj-d1x6-L47S-Gms8-QC5w-UvxbEb
  label:                       
  drive:
    vendor:                    Verbatim
    model:                     Store n Go Drive
    revision:                  1100
    serial:                    100000000000295
    WWN:                       
    detachable:                1
    can spindown:              0
    rotational media:          Yes, unknown rate
    write-cache:               unknown
    ejectable:                 0
    adapter:                   Unknown
    ports:
    similar devices:
    media:                     
      compat:                 
    interface:                 usb
    if speed:                  480000000 bits/s
    ATA SMART:                 not available

========================================================================
Showing information for /org/freedesktop/UDisks/devices/sdc
  native-path:                 /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1/2-1:1.0/host4/target4:0:0/4:0:0:0/block/sdc
  device:                      8:32
  device-file:                 /dev/sdc
    presentation:              /dev/sdc
    by-id:                     /dev/disk/by-id/lvm-pv-uuid-L23Tm5-VhUV-nI4e-RBVD-tW7v-1X6P-XPL4UG
    by-id:                     /dev/disk/by-id/usb-Verbatim_Store_n_Go_Drive_100000000000707-0:0
    by-path:                   /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0
  detected at:                 Mon 07 Dec 2015 02:31:49 PM CET
  system internal:             0
  removable:                   1
  has media:                   1 (detected at Mon 07 Dec 2015 02:31:49 PM CET)
    detects change:            1
    detection by polling:      1
    detection inhibitable:     1
    detection inhibited:       0
  is read only:                0
  is mounted:                  0
  mount paths:             
  mounted by uid:              0
  presentation hide:           0
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  size:                        2013265920
  block size:                  512
  job underway:                no
  usage:                       raid
  type:                        LVM2_member
  version:                     LVM2\x20001
  uuid:                        L23Tm5-VhUV-nI4e-RBVD-tW7v-1X6P-XPL4UG
  label:                       
  drive:
    vendor:                    Verbatim
    model:                     Store n Go Drive
    revision:                  1100
    serial:                    100000000000707
    WWN:                       
    detachable:                1
    can spindown:              0
    rotational media:          Yes, unknown rate
    write-cache:               unknown
    ejectable:                 0
    adapter:                   Unknown
    ports:
    similar devices:
    media:                     
      compat:                 
    interface:                 usb
    if speed:                  480000000 bits/s
    ATA SMART:                 not available

========================================================================

Comment 1 Tomas Smetana 2016-04-11 07:35:05 UTC
Hi,
  it is highly unlikely this will ever get fixed in RHEL-6. However:

Does RHEL-7 udisks2 (or some  mount the flash disks correctly?
Can you mount the LVM partition by the standard CLI tools (not udisks) in RHEL-6?

Thanks and regards.

Comment 2 Martin Krajnak 2016-04-13 11:56:01 UTC
yes, it is possible,
after connecting devices with lvm run as root:

$vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "vol_grp1" using metadata type lvm2
#vgchange -a y
  3 logical volume(s) in volume group "vol_grp1" now active

then you can mount logical volumes:

mount /dev/vol_grp1/logical_vol1 /mnt/vol1/
mount /dev/vol_grp1/logical_vol2 /mnt/vol2/
mount /dev/vol_grp1/logical_vol3 /mnt/vol3/

tested on 6.8

Comment 3 Tomas Smetana 2016-04-20 10:15:23 UTC
OK. So if the flash disks are plugged into another system (not the one they were created on), does gnome-disks find them? No matter which OS...

Comment 4 Tomas Smetana 2016-04-25 12:05:39 UTC
I was not able to make this work (automatically recognizing LVM on a flash drive) well even under a recent Fedora. I seriously don't think anybody is going to implement the LVM support in the ancient RHEL-6 udisks.

I think WONTFIX is actually appropriate in this case.


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