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] CoW works on Windows guest?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] CoW works on Windows guest?
From: "Orathai Sukwong" <kobkob@xxxxxxxxx>
Date: Tue, 3 Oct 2006 09:45:09 -0400
Delivery-date: Tue, 03 Oct 2006 06:45:51 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=mT2RdwRlzIqQtipRr3KctPLn4ZV/itck0vwLtf6Pz/TIl6tAdCwdhx9wszqUtt2HMxVXXR3N7fPdb5u9+7aAXRV+lL6kM+me8ePKrsb0jMWJWn9kLNv2tXXVXXzXPX5LCAATLTXr0LhoS1evFejc0l38sHmTPDVUOswO2W1lwIw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <m34pumvght.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <748f85310609280723l49ca9725nf6a28fa234c1353f@xxxxxxxxxxxxxx> <m37izm36od.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <748f85310609291142w3a8e0f11pfab8029edb480215@xxxxxxxxxxxxxx> <m3psde1kwy.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <748f85310609300744o41770e70m66a3d4745e817fc@xxxxxxxxxxxxxx> <m37iziwzeb.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <748f85310610020840l9fc9b76i317e4133dc3d9f0a@xxxxxxxxxxxxxx> <m3r6xqvhus.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <748f85310610020914u368a4ff8x80fc019ab7c25c74@xxxxxxxxxxxxxx> <m34pumvght.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I killed all cowd instance. When I did "losetup -d /dev/loop0", I got "ioctl: LOOP_CLR_FD: Device or resource busy." Then I tried

#losetup /dev/loop0
/dev/loop0: [0803]:2981891 (/xenimages/windowsbase.img)
# losetup /dev/loop1
/dev/loop1: [0803]:2981898 (/xenimages/windowsbase.dscow)
# cowd -p dscow --sync=a  windowsbase /xenimages/windowsbase.dscow
ioctl: LOOP_SET_FD: Device or resource busy
ioctl: LOOP_SET_FD: Device or resource busy
ioctl: LOOP_SET_FD: Device or resource busy
ioctl: LOOP_SET_FD: Device or resource busy
ioctl: LOOP_SET_FD: Device or resource busy
device-mapper: create ioctl failed: Device or resource busy
Failed to run device-mapper command!
Failed to create DM device

And "fdisk -l" didn't show /dev/mapper.  Thank you.

On 10/2/06, Dan Smith < danms@xxxxxxxxxx> wrote:
OS> Even though I did losetup -f, I still got the same error.

Try doing "losetup -d /dev/loopX" for X between 0 and 3, just to make
sure they're disconnected.  Make sure all cowd instances are stopped
first, though.

However, that loop error is normal in some cases.  After starting, see
if cowd is running.  If so, try to access the device in /dev/mapper
(fdisk -l should show a partition listing I think).

--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>