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] Questions on qcow, qcow2 versus LVM

To: "Jorge Armando Medina" <jmedina@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Questions on qcow, qcow2 versus LVM
From: "Matthew Law" <matt@xxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Dec 2009 09:52:35 -0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 30 Dec 2009 01:53:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <4B3AD245.1090308@xxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <2ff3192ddfc512732cd0a6955fa51595.squirrel@xxxxxxxxxxxxxxxxxxxxxx> <4B2F776A.9000406@xxxxxxxxx> <eb42866b97a96eb5bd57b22e47cde8cc.squirrel@xxxxxxxxxxxxxxxxxxxxxx> <7207d96f0912240451m76d65118y5fb9a32ed63f411b@xxxxxxxxxxxxxx> <83c17d8cd6753530b00f134159151864.squirrel@xxxxxxxxxxxxxxxxxxxxxx> <7207d96f0912240624hf1d0d17w658048dac8311cb5@xxxxxxxxxxxxxx> <f17de79d17fea73fa0ea0c22259f779d.squirrel@xxxxxxxxxxxxxxxxxxxxxx> <7207d96f0912241358o1bdcf15bi1514f6628b86068d@xxxxxxxxxxxxxx> <aa8fed56d2dbf587df790cda9f9525de.squirrel@xxxxxxxxxxxxxxxxxxxxxx> <7207d96f0912291404h24d7daeat3ea634edc368357f@xxxxxxxxxxxxxx> <5557c7d0881f6365cacb5d022142c283.squirrel@xxxxxxxxxxxxxxxxxxxxxx> <4B3AD245.1090308@xxxxxxxxxxxxxxx>
Reply-to: matt@xxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.19
On Wed, December 30, 2009 4:08 am, Jorge Armando Medina wrote:
> You can use fdisk and play with unix standar input, for example:
>
> echo "d
> n
> p
> 1
>
> +10000M
> n
> p
> 2
>
>
> a
> 1
> w
> " | fdisk /dev/sdx
>
> :) consider the blank lines to accept fdisk defaults for fist and last
> cilinder.
>
> of course you can use a onliner:
>
> printf 'n\np\n1\n\n+100M\nt\nfd\na\nn\np\n2\n\n\nt\n2\nfd\np\nw\n' | fdisk
> /dev/sdx
> fdisk /dev/sda

Seems like getting a newer version of parted on CentOS is not so
straightforward - it has dependencies on a few libs and although they are
all installed they are waay too old for the version of parted with the fix
in it.  This  method, or perhaps an expect script to do the same might be
the best option in the short term.

Thanks,

Matt.


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