Answer the question
In order to leave comments, you need to log in
Xen+HVM. Editing a guest domain config file?
CentOS 6.4 is installed on the computer, I am trying to create an HVM domain with Windows 7 using Xen tools.
Difficulties arose at the stage of editing the domain configuration file, namely, the disk parameter is not entirely clear.
Raid-1 is present in the system.
# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda2[0] sdb2[1]
204736 blocks super 1.0 [2/2] [UU]
md1 : active raid1 sda3[0] sdb3[1]
2913545024 blocks super 1.1 [2/2] [UU]
bitmap: 4/22 pages [16KB], 65536KB chunk
# ls -la /dev/cdrom
lrwxrwxrwx. 1 root root 3 Jan 28 14:36 /dev/cdrom -> sr0
disk = [ 'file:/root/xenimages/WS7.img,md1,w',
'file:/root/xenimages/windows7.iso,sr0:cdrom,r']
# xm create /etc/xen/win7
Using config file "/etc/xen/win7".
Error: Unable to find number for device (md1)
Answer the question
In order to leave comments, you need to log in
disk = [ 'file:/root/xenimages/WS7.img,hda,w', 'file:/root/xenimages/windows7.iso,hdc:cdrom,r' ]
You should at least read the documentation or look at examples.
disk = [
'what is on the host, what will it be in the guest, access',
...
]
So the question is, what exactly are you trying to do?
fix md1 to hda, sr0 to hdb and you will be happy, hda, hdb is how the guest will see your disks... more about xen'a dusty archives....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question