Bug 827467 - blkid fails to identify a LVM2 PV
blkid fails to identify a LVM2 PV
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: util-linux (Show other bugs)
17
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Karel Zak
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-01 10:34 EDT by Nicholas Miell
Modified: 2012-06-01 10:52 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-01 10:52:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
blkid debug output (4.83 KB, text/plain)
2012-06-01 10:38 EDT, Nicholas Miell
no flags Details

  None (edit)
Description Nicholas Miell 2012-06-01 10:34:49 EDT
Description of problem:
I have a LVM2 PV that blkid fails to identify.

Besides displaying the wrong information in things like Palimpsest, this broke my Fedora 16 to Fedora 17 upgrade until I commented out the relevant entries in /etc/fstab.

Version-Release number of selected component (if applicable):
util-linux-2.21.2-1.fc17.x86_64

How reproducible:
Always

Steps to Reproduce:
1. blkid -p -o udev /dev/sda1
  
Actual results:
# blkid -p -o udev /dev/sda1
ID_PART_TABLE_TYPE=dos
ID_PART_ENTRY_SCHEME=dos
ID_PART_ENTRY_TYPE=0x8e
ID_PART_ENTRY_NUMBER=1
ID_PART_ENTRY_OFFSET=63
ID_PART_ENTRY_SIZE=586072305
ID_PART_ENTRY_DISK=8:0

Expected results:
ID_FS_UUID=ROgj8E-uASq-XizU-8L9V-ZMA8-jIQN-DYceKx
ID_FS_UUID_ENC=ROgj8E-uASq-XizU-8L9V-ZMA8-jIQN-DYceKx
ID_FS_VERSION=LVM2\x20001
ID_FS_TYPE=LVM2_member
ID_FS_USAGE=raid
ID_PART_ENTRY_SCHEME=dos
ID_PART_ENTRY_TYPE=0x8e
ID_PART_ENTRY_NUMBER=1
ID_PART_ENTRY_OFFSET=63
ID_PART_ENTRY_SIZE=586072305
ID_PART_ENTRY_DISK=8:0

Additional info:
"blkid -o udev /dev/sda1" outputs

ID_FS_UUID=ROgj8E-uASq-XizU-8L9V-ZMA8-jIQN-DYceKx
ID_FS_UUID_ENC=ROgj8E-uASq-XizU-8L9V-ZMA8-jIQN-DYceKx
ID_FS_TYPE=LVM2_member

but that doesn't seem to be used by udev/udisks.
Comment 1 Nicholas Miell 2012-06-01 10:38:40 EDT
Created attachment 588485 [details]
blkid debug output

LIBBLKID_DEBUG=0xFFFF blkid -p -o udev /dev/sda1
Comment 2 Nicholas Miell 2012-06-01 10:52:59 EDT
Nevermind, for some reason the partition table for sda was duplicated inside sda1. Wiping it fixes the problem.

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