From Fedora Project Wiki

(stub out this page)
 
No edit summary
Line 2: Line 2:
|description=This test case verifies that block devices can be successfully attached to and detached from a Fedora Xen DomU.
|description=This test case verifies that block devices can be successfully attached to and detached from a Fedora Xen DomU.
|actions=
|actions=
# Do this.
# Create a number of dummy files on your dom0 by running <pre>$> for i in `seq 1 100` ; do dd if=/dev/zero of=/var/lib/xen/images/disk$i.dsk bs=1 count=1 seek=10G ; done</pre> Note that this command will create sparse files, meaning that unless you write data to the disk, no actual disk space on your hard drive will be used.
# If you have free VG space available in your LVM volumes, create a few test LVs (for example, using: <code>lvcreate -n test1 -L1G</code>.  If you have free space left in your partition table, create 1 or more partitions to test with.  If you don't know what this means, or you are worried about making modifications like this, just skip this step.
|results=
|results=
# This should happen.
# This should happen.
}}
}}
[[Category:Virtualization XenDomU Test Cases|Block attach]]
[[Category:Virtualization XenDomU Test Cases|Block attach]]

Revision as of 09:27, 4 May 2009

Description

This test case verifies that block devices can be successfully attached to and detached from a Fedora Xen DomU.


How to test

  1. Create a number of dummy files on your dom0 by running
    $> for i in `seq 1 100` ; do dd if=/dev/zero of=/var/lib/xen/images/disk$i.dsk bs=1 count=1 seek=10G ; done
    Note that this command will create sparse files, meaning that unless you write data to the disk, no actual disk space on your hard drive will be used.
  2. If you have free VG space available in your LVM volumes, create a few test LVs (for example, using: lvcreate -n test1 -L1G. If you have free space left in your partition table, create 1 or more partitions to test with. If you don't know what this means, or you are worried about making modifications like this, just skip this step.

Expected Results

  1. This should happen.