Bug 827467 - blkid fails to identify a LVM2 PV
Summary: blkid fails to identify a LVM2 PV
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-01 14:34 UTC by Nicholas Miell
Modified: 2012-06-01 14:52 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-01 14:52:59 UTC
Type: Bug
Embargoed:


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

Description Nicholas Miell 2012-06-01 14:34:49 UTC
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 14:38:40 UTC
Created attachment 588485 [details]
blkid debug output

LIBBLKID_DEBUG=0xFFFF blkid -p -o udev /dev/sda1

Comment 2 Nicholas Miell 2012-06-01 14:52:59 UTC
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.