Bug 655554 - Whole disk paths are not made canonical by virt-inspector
Whole disk paths are not made canonical by virt-inspector
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
low Severity medium
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-21 11:29 EST by Richard W.M. Jones
Modified: 2011-07-14 15:22 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-07-14 15:22:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2010-11-21 11:29:48 EST
Description of problem:

The guest below is a Xen->KVM hand-migrated guest which uses whole
disks for filesystems (ie. a filesystem is directly on a block device).

The functions in (at least) virt-inspector to canonical disk names
cannot cope with this, so they leave the paths as /dev/vda etc instead
of rewriting as /dev/sda.

# virt-inspector2 GuestName
<operatingsystems>
  <operatingsystem>
    <root>/dev/vda</root>
    <name>linux</name>
    <arch>x86_64</arch>
    <distro>debian</distro>
    <product_name>5.0.6</product_name>
    <major_version>5</major_version>
    <minor_version>0</minor_version>
    <mountpoints>
      <mountpoint dev="/dev/vda">/</mountpoint>
      <mountpoint dev="/dev/vdb">/lib/modules</mountpoint>
    </mountpoints>
    <filesystems>
      <filesystem dev="/dev/vda">
...

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

1.6.2 (RHEL 6.1 candidate)

How reproducible:

Always for guests which use whole disks as filesystems.

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