Changes

Jump to: navigation, search
no edit summary
There are a number of rules that must be following before a block device can be attached. Firstly, the device must be mounted and visible on the domain0 system. Secondly, the device must not already be attached in ''write'' mode to any other domainU systems. Finally, the domainU system must possess the appropriate drivers to read the filesystem located on the device (this is not usually an issue for Linux filesystems and CD/DVD drives).
Assuming the above criteria have been met and you are not seeing the attached block device in the domainU system it is possible that you are using the wrong device name for what is known as the ''front end'' device. the The ''front end'' device is the device name by which the block device will be accessed on the domainU guest. In fact the only way that the device will be visible is if the device name begins ''xdxvd''. If you have used a device names such as dev/sdb1, /dev/hda2 or /dev/sr0 then the device will not be visible in the domainU.
For example the following will NOT work:
</pre>
Once the attachment has been initiated the device should now be visible in the /dev directory of the domainU guest and can be mounted at a suitiable suitable mount point:
<pre>
mount -t ext3 /dev/xvda2 /mnt
</pre>
1,798
edits

Navigation menu