[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] CoW works on Windows guest?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.