WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] SCSI disk format fails on domU(w2k3)

To: Kędziora Marek <Marek.Kedziora@xxxxxxx>
Subject: Re: [Xen-users] SCSI disk format fails on domU(w2k3)
From: Sadique Puthen <sputhenp@xxxxxxxxxx>
Date: Sun, 03 Feb 2008 14:47:06 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 03 Feb 2008 01:18:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <12E3FCFEFACC6D47A2525F89FB04446D40FF93@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <12E3FCFEFACC6D47A2525F89FB04446D40FF93@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070926)
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

<Prev in Thread] Current Thread [Next in Thread>