Bug 483758 - "7.2. Adding storage devices to guests" changes necessary
Summary: "7.2. Adding storage devices to guests" changes necessary
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: doc-Virtualization_Guide
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Christopher Curran
QA Contact: Don Domingo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-03 14:34 UTC by James G. Brown III
Modified: 2014-12-01 23:06 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description James G. Brown III 2009-02-03 14:34:50 UTC
Description of problem:
7.2. Adding storage devices to guests;

Step 2 of adding file based storage

$ sudo virsh xmldump Guest1 > ~/Guest1.xml

which should be 

$ sudo virsh dumpxml Guest1 > ~/Guest1.xml

Actual results:

# virsh xmldump rhel5.3 > ~/rhel5.3.xml
error: unknown command: 'xmldump'

# virsh dumpxml rhel5.3 > ~/rhel5.3.xml
 
Also, Step 3 and 4 of adding file based storage reflect the xen guest file and not xml

disk = [ 'tap:aio:/var/lib/xen/images/Guest1.dsk,xvda,w' ] TODO

should be 

    <disk type='file' device='disk'>
      <driver name='tap' type='aio'/>
      <source file='/var/lib/libvirt/images/rhel5.3.img'/>
      <target dev='xvda'/>
    </disk>

Comment 1 Christopher Curran 2009-02-05 00:58:30 UTC
Thanks for the fix. This will be updated on redhat.com/docs soon.

Chris


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