Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1287613

Summary: blkid doesn't recognize PPC PRePboot partition
Product: Red Hat Enterprise Linux 7 Reporter: Alexander Todorov <atodorov>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: kzak, qe-baseos-daemons
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1287611
: 1287734 (view as bug list) Environment:
Last Closed: 2015-12-03 12:24:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander Todorov 2015-12-02 13:03:22 UTC
+++ This bug was initially created as a clone of Bug #1287611 +++

Description of problem:

I have /dev/sda1 which is a PPC PRePboot partition and blkid only shows the UUID for it:

# blkid
/dev/dm-0: UUID="b87d36ec-9447-4bdb-ba77-5002c5d984ba" TYPE="xfs" 
/dev/block/253:0: UUID="b87d36ec-9447-4bdb-ba77-5002c5d984ba" TYPE="xfs" 
/dev/block/8:3: UUID="iYsRbf-tK9F-DNlR-gk24-0IIC-2Yaf-zEkfQU" TYPE="LVM2_member" PARTUUID="147a529e-2db6-4935-b189-0507445ec419" 
/dev/sda2: UUID="3458bc17-4116-4b3c-9bc6-c792f5014fbc" TYPE="xfs" PARTUUID="178d8db4-ac52-4a7c-9176-d14f2357164b" 
/dev/block/8:2: UUID="3458bc17-4116-4b3c-9bc6-c792f5014fbc" TYPE="xfs" PARTUUID="178d8db4-ac52-4a7c-9176-d14f2357164b" 
/dev/dm-1: UUID="f15b4e36-9f0c-40ec-bb6a-fb6f8c2023a8" TYPE="swap" 
/dev/block/253:1: UUID="f15b4e36-9f0c-40ec-bb6a-fb6f8c2023a8" TYPE="swap" 
/dev/sda1: PARTUUID="5b0fcc94-2b8c-4ceb-819a-edca343b1549" 
/dev/mapper/rhel_ibm--p8--03--lp4-home: UUID="3a5d6d46-4dc1-4894-a150-ad772e3e8f9c" TYPE="xfs" 


# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sda: 80.5 GB, 80530636800 bytes, 157286400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt


#         Start          End    Size  Type            Name
 1         2048        10239      4M  unknown         
 2        10240      1034239    500M  Microsoft basic 
 3      1034240    157284351   74,5G  Linux LVM       

... skip ....

# parted -l
Model: AIX VDASD (scsi)
Disk /dev/sda: 80,5GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: pmbr_boot

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  5243kB  4194kB                     prep
 2      5243kB  530MB   524MB   xfs
 3      530MB   80,5GB  80,0GB                     lvm


... skip ...



Version-Release number of selected component (if applicable):
util-linux-2.23.2-26.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install a ppc64 or ppc64le system.
2. Selected automatic partitioning.
3.

Actual results:
blkid doesn't give us any indication that sda1 is a PRePboot partition.

Expected results:
The opposite. 

Additional info:

I'm working on a test which uses blkid output and this is a corner case which isn't covered. blkid is very handy in bash scripts and we need it to somehow identify PRePboot partitions.

Comment 1 Karel Zak 2015-12-03 12:24:42 UTC

*** This bug has been marked as a duplicate of bug 1287611 ***