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

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

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] SCSI disk format fails on domU(w2k3)
From: Kędziora Marek <Marek.Kedziora@xxxxxxx>
Date: Sun, 3 Feb 2008 08:54:07 +0100
Delivery-date: Sat, 02 Feb 2008 23:54:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchmOfQZtI82RN1fQruNTaQzaRTRAw==
Thread-topic: SCSI disk format fails on domU(w2k3)
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' ]

[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

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