From Fedora Project Wiki

Revision as of 09:27, 4 May 2009 by Clalance (talk | contribs)

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.