Bug 447264 - RHEL4: VMware fdisk partitions
Summary: RHEL4: VMware fdisk partitions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: util-linux
Version: 4.8
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-19 07:41 UTC by Karel Zak
Modified: 2009-05-18 19:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-18 19:02:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:0981 0 normal SHIPPED_LIVE Low: util-linux security and bug fix update 2009-05-18 13:45:19 UTC

Description Karel Zak 2008-05-19 07:41:54 UTC
+++ This bug was initially created as a clone of Bug #447023 +++

Description of problem:

util-linux `fdisk` programs do not recognize the partition types used by
VMware ESX.  They show up as "unknown".

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

All

How reproducible:

100%

Steps to Reproduce:
1. Install VMware ESX
2. Run `fdisk -l`, observe partition types 0xFB, 0xFC display as "Unknown"
3. Boot any sort of Linux live CD (FC8?), `fdisk -l`, same observation

Actual results:

# fdisk -l

Disk /dev/sda: 73.5 GB, 73557090304 bytes
255 heads, 63 sectors/track, 8942 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1       382   3068383+  83  Linux
/dev/sda2           383       643   2096482+  82  Linux swap
/dev/sda3           644      4467  30716280   83  Linux
/dev/sda4          4468      8942  35945437+   f  Win95 Ext'd (LBA)
/dev/sda5          4468      4480    104391   fc  Unknown
/dev/sda6          4481      8942  35840983+  fb  Unknown

Expected results:

# fdisk -l

Disk /dev/sda: 73.5 GB, 73557090304 bytes
255 heads, 63 sectors/track, 8942 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1       382   3068383+  83  Linux
/dev/sda2           383       643   2096482+  82  Linux swap
/dev/sda3           644      4467  30716280   83  Linux
/dev/sda4          4468      8942  35945437+   f  Win95 Ext'd (LBA)
/dev/sda5          4468      4480    104391   fc  VMware VMKcore
/dev/sda6          4481      8942  35840983+  fb  VMware VMFS

Additional info:

VMware (or at least I) would appreciate if Red Hat would add this
to the slushpile for future RHEL3 updates (U10??), as we could then
pick it up for use in ESX Console OS.  We also understand that's
very backwater for you and odds are it will only show up in RHEL5+.

Do the best you can.

We also hope that it will make it into the public util-linux-ng
which appears to be the current source of util-linux packages for
all Linux distros.  It would be nice if our users could boot a
recovery CD and have it display VMware partitions as more than
"Unknown".

I have intentionally not named these "VMware ESX VMFS" etc. since
product names have a habit of changing more frequently than
filesystem names.  And this is not a branding exercise, it's
taxonomy.  I also have not tried to have `fdisk` distinguish
VMFS generations such as VMFS2 vs. VMFS3: that's outside the
scope of the base `fdisk` utilities.  VMware's own utilities can
do that.  Capitalization of "VMKcore" is intentional to match the
display given by ESXi (embedded ESX).

Thanks,

>Bela<

-- Additional comment from blubkin on 2008-05-16 20:55 EST --
Created an attachment (id=305779)
Patch applies to any util-linux-*: 2.12r, 2.13-pre7, ng-2.14-rc2


-- Additional comment from kzak on 2008-05-19 03:37 EST --
The patch applied to the upstream tree (ng-2.14-rc3).

Comment 2 RHEL Program Management 2008-09-18 19:16:19 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 9 errata-xmlrpc 2009-05-18 19:02:05 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-0981.html


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