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] How was CoW implemented on the Demo LiveCD (3.0) ??

To: Tim Deegan <Tim.Deegan@xxxxxxxxxxxx>
Subject: Re: [Xen-users] How was CoW implemented on the Demo LiveCD (3.0) ??
From: Anand <xen.mails@xxxxxxxxx>
Date: Fri, 27 Jan 2006 21:58:01 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 27 Jan 2006 16:37:15 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=P3FqB/QxQyIc8DMrRtOt0AtReWHqyBCIgrWDnXEptQrMiB34j/8XGoRSPU/Ds2qWRLF1axfgS0UiDfJ1NljUYU0mf5p61kqvQzxLBqVk6ezBWivTCGLJTsnKBcLgfEp/FYmagTGKLAQI0nXXByDVOjdphCRDZRU7oHMm+iGNZlg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060127120818.GB2512@xxxxxxxxxxxxxxxxx>
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: <dr4vq3$uco$1@xxxxxxxxxxxxx> <acb757c00601241125o17bb4feyf65ce1f7e85c03ab@xxxxxxxxxxxxxx> <20060125101452.GA10362@xxxxxxxxxxxxxxxxx> <acb757c00601250414x2ca9c00em28f0fdf8d64a3d11@xxxxxxxxxxxxxx> <20060126103900.GA22508@xxxxxxxxxxxxxxxxx> <acb757c00601260546t585acdd1o7ab0991ac1180206@xxxxxxxxxxxxxx> <20060126140315.GB22508@xxxxxxxxxxxxxxxxx> <acb757c00601260757y64177d5bncd2fd87e1bd9a77d@xxxxxxxxxxxxxx> <acb757c00601260800r3da5e15fx9f217eff4a578152@xxxxxxxxxxxxxx> <20060127120818.GB2512@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 1/27/06, Tim Deegan <Tim.Deegan@xxxxxxxxxxxx> wrote:
> device-mapper ioctl cmd 9 failed: Invalid argument
> Command failed
In that case I'm out of ideas.  You might try the device-manager mailing
lists.


I found something on the mailing lists

http://lists.xensource.com/archives/html/xen-users/2005-06/msg00440.html

This works for the flat files, however it doesn't work for the volumes. It gives the same error as i am getting with create_cow script for flat files.

The difference what i see by just glancing over it,

create_cow script
+ dmsetup suspend cent01-master
+ echo '0 2050048 snapshot /dev/mapper/cent01-master /dev/loop1 p 50'
+ dmsetup create cent01

working lines from the above post
echo "0 $BLOCKSIZE snapshot /dev/mapper/rootfs_base /dev/loop1 p 8" \
| dmsetup create rootfs1
A difference of 50 and 8. What does this stand for any ideas ?

Thanks for all the help.

--

regards,

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