|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] SCSI disk format fails on domU(w2k3)
Kędziora Marek wrote:
Hi,
I have problem with scsi disk devices in HVM domU that works under Windows 2003
Server. Xen works under CentOS5. My setup looks like this:
disk = [ 'phy:/dev/sda,hda,w' ,
'phy:/dev/sdb,sda,w']
'file:/var/images/sample.img,sdb,w' ]
The version of xen shipped with centos5 does not support scsi emulation
for disk IO for hvm. So it shouldn't work. I heard that the latest
upstream tree has support for it. Don't know whether 3.2 has it or not.
--Sadique
[whole config file at the end of this post]
In domU I can initiate disk and create partition on sda and sdb, but formatting
disk is very slow and finishes with error:
------
C:\Documents and Settings\Administrator>format d: /fs:fat32
The type of the file system is RAW.
The new file system is FAT32.
WARNING, ALL DATA ON NON-REMOVABLE DISK
DRIVE D: WILL BE LOST!
Proceed with Format (Y/N)? y
Verifying 1019M
Invalid media or Track 0 bad - disk unusable.
C:\Documents and Settings\Administrator>format d: /fs:ntfs
The type of the file system is RAW.
The new file system is NTFS.
WARNING, ALL DATA ON NON-REMOVABLE DISK
DRIVE D: WILL BE LOST!
Proceed with Format (Y/N)? y
Verifying 1019M
Volume label (32 characters, ENTER for none)? quorum
Creating file system structures.
Format failed.
------
When I change configuration to export second and third disk as hd (hdb and hdc)
format is very fast and completes successfully.
Another thing is that as I remember I was not able to install those Windows on
sd partition (so it works on hda). BIOS loader could not find boot partition.
Config file for domU:
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 512
shadow_memory = 8
name = "wire1"
uuid = "00000000-0000-0000-0000-000000000001"
acpi=1
apic=1
vif = [ 'type=ioemu, bridge=xenbr0, mac=00:16:3e:00:00:01' , 'type=ioemu,
bridge=xenbr700, mac=00:16:3e:00:00:02']
disk = [ 'phy:/dev/sda,hda,w' ,
'phy:/dev/sdb,sda,w']
'file:/var/images/sample.img,sdb,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="cda"
sdl=0
vnc=1
vncpasswd=''
stdvga=0
usb=0
Thanks in advance.
Best regards,
Marek Kedziora
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|