This test case verifies that block devices can be successfully attached to and detached from a Fedora Xen DomU.
How to test
- 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 ; doneNote 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:
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.
- This should happen.