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

Re: [Xen-users] Questions on qcow, qcow2 versus LVM



On Wed, Dec 30, 2009 at 6:26 AM, Matthew Law <matt@xxxxxxxxxxxxxxxxxx> wrote:
> After this I set about trying to find which of the previous operations was
> holding the LV in the open state, so I started again with a clean lv and
> incrementally performed each operation on it and tried to remove it.  The
> error occurs after running:
>
> parted /dev/VolGroupVM/testvm mkpartfs primary ext2 0 10240
>
> So, parted is the culprit (or at least the first one to cause the
> problem).  Is there perhaps another, scriptable way to create the
> partitions on the LV?

I usually use fdisk :D
Not scriptable, but has worked great. You might also use sfdisk
(available by default), or (like you said) upgrade parted to latest
version.

-- 
Fajar

_______________________________________________
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®.