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] Error Creating Domain:vbd:Segment phy:/dev/hda3 isin wri

To: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>, "AMIT KUMAR" <amitkpce@xxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Error Creating Domain:vbd:Segment phy:/dev/hda3 isin writable use
From: "Cole, Ray" <Ray_Cole@xxxxxxx>
Date: Thu, 6 Oct 2005 16:11:55 -0500
Delivery-date: Thu, 06 Oct 2005 21:09:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcXKmyfv+rZqSAyIQ4WY4xD/Ra45BAAH1fAQ
Thread-topic: [Xen-users] Error Creating Domain:vbd:Segment phy:/dev/hda3 isin writable use
I've seen this happen before, not sure why.  I changed 'phy:' to 'file:' and it 
worked.  I later rebooted and 'phy:' worked again.  So you might try 'file:' 
rather than 'phy:'.

-- Ray

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx]On Behalf Of Nick Couchman
Sent: Thursday, October 06, 2005 12:26 PM
To: AMIT KUMAR; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Error Creating Domain:vbd:Segment phy:/dev/hda3
isin writable use


Nick Couchman
Systems Integrator
SEAKR Engineering, Inc.
6221 South Racine Circle
Centennial, CO 80111
Main: (303) 790-8499
Fax: (303) 790-8720
Web: http://www.seakr.com

>>> On 2005/10/06 at 08:43:41, in message 
>>> <20051006144341.28356.qmail@xxxxxxxxxxxxxxxxxxxxxxxx>, "AMIT  KUMAR" 
>>> <amitkpce@xxxxxxxxxxxxxx> wrote:

 
  hi all,
              I have few problem while trying to create new domain using, 
xm create xmexample1 -c

the error message is
"Error Creating Domain:vbd:Segment phy:/dev/hda3 is in writable use"


the details of xmexample1 file are 
kernel = "/boot/vmlinuz-2.4.30-xenU"
memory = 64
name = "GuestLinux-2.4.30"
disk = [ 'phy:/dev/hda3,hda1,r',
         'phy:/dev/hda4,hda2,r' ]
root="/dev/hda1 ro "
extra = "4"

Red Hat Linux installation is on /dev/hda3 and swap space is on /dev/hda4
The details of grub file are:
default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Enterprise Linux WS (2.4.21-4.EL)
        root (hd0,1)
        kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/
        initrd /initrd-2.4.21-4.EL.img
title DOS
        rootnoverify (hd0,0)
        chainloader +1
title Xen 2.0 / XenLinux 2.6
        root(hd0,1)
  kernel /xen-2.0.gz dom0_mem=131072
         com1=115200,8n1 noht console=com1
  module /vmlinuz-2.4-xen0  ro root=/dev/hda3  console=tty0



Can anyone advise me what is the source of problem?

Make sure that the filesystem isn't mounted on some directory in dom0.  Also, 
make sure any other process isn't using it...


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-users] Error Creating Domain:vbd:Segment phy:/dev/hda3 isin writable use, Cole, Ray <=