I don't know what the desired behavior should be, but good point about the
two disk statements...i am able to now get the desired behavior by using
one like you suggested.
mine now looks like:
disk = [ 'phy:sda3,hda1,w', 'file:/path/to/image,hda1,w' ]
so i dont need the /dev in front of sda3 after all...but i think that if
you export hda6 as hda6, you need to specify hda6 instead of sda1. so i
think your disk and root statements should be:
disk = [ 'phy:hda6,hda6,w',
'file:/xen/disk-images/dom1.fs,hda6,w']
root = "/dev/hda6 ro"
at least that is what works on my machine :)
ryan
On Tue, 11 Oct 2005, Rob Gardner wrote:
Ryan Grimm wrote:
I had a similar problem and was able to rectify it by including the
following line:
disk = [ 'phy:/dev/sda3,hda1,w' ]
which, as stated in the user doc in section 5.1, will export /dev/sda3 (the
partition where my image is) to the domU as hda1.
then, my disk config is:
disk = [ 'file:/path/to/image,hda1,w' ]
also, the user doc's example in section 5.1 says that disk = [
'phy:sda3,hda1,w' ] would work but it did not unless i put /dev/ in front
of sda3, like above.
I don't understand that. If you have two "disk = " lines, won't the second
simply supercede the first? I tried exporting the partition containing the
image like this:
disk = [ 'phy:/dev/hda6,hda6,w',
'file:/xen/disk-images/dom1.fs,sda1,w']
...but no luck there.
Rob
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|