Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-22 Thread Richard W.M. Jones
Richard W.M. Jones wrote: Richard W.M. Jones wrote: lvcreate -L 3G -n newroot raidvg lvcreate -L 1G -n newswap raidvg I should add, in a libvirt context it's probably going to be useful to also: * list available volume groups (vgscan) * list space available in each VG (vgdisplay

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-22 Thread David Edmondson
On Thu, Mar 22, 2007 at 11:22:21AM +, Richard W.M. Jones wrote: Secondly there is an API of sorts for lvm2. I think Alasdair called it libcmd, but maybe I got that wrong because Google doesn't seem to turn up anything. In any case, all it is is a wrapper around the command line tools,

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-22 Thread Jim Meyering
Richard W.M. Jones [EMAIL PROTECTED] wrote: Secondly there is an API of sorts for lvm2. I think Alasdair called it libcmd, but maybe I got that wrong because Google doesn't seem to turn up anything. In any case, all it is is a wrapper around the command line tools, so it seems doubtful that

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-21 Thread David Edmondson
On Tue, Mar 20, 2007 at 04:00:21PM +, Daniel P. Berrange wrote: On this subject, does ZFS come with any library API for doing all the volume pool management tasks, or is it all just a set of command line tools as we'd get with LVM ? There's no Committed C API for ZFS management tasks

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-20 Thread Mark McLoughlin
On Tue, 2007-03-13 at 17:22 +0100, Jim Meyering wrote: How important do you guys think having LVM support will be to ET projects? I've used lvm commands from python code (for stacaccli) and it pained me to do that, especially from an error handling POV - anaconda is another example of

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-20 Thread David Lutterkort
On Tue, 2007-03-20 at 14:32 +, Daniel P. Berrange wrote: On Tue, Mar 20, 2007 at 12:06:39PM +, Mark McLoughlin wrote: I still haven't gone off the notion of a virtual storage pool :-) https://www.redhat.com/archives/libvir-list/2007-February/msg00057.html I like the idea

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-18 Thread Jeremy Katz
On Thu, 2007-03-15 at 14:45 +0100, Jim Meyering wrote: Some more open question to everyone else: Do we need Python bindings? About two weeks ago, I heard that someone started working on hand-crafted Python and C++ bindings for parted. There are several existing sets of python bindings for

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-16 Thread David Lutterkort
On Thu, 2007-03-15 at 14:31 +, Richard W.M. Jones wrote: Richard W.M. Jones wrote: lvcreate -L 3G -n newroot raidvg lvcreate -L 1G -n newswap raidvg I should add, in a libvirt context it's probably going to be useful to also: * list available volume groups (vgscan) * list space

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-15 Thread Jim Meyering
Richard W.M. Jones [EMAIL PROTECTED] wrote: Jim Meyering wrote: How important do you guys think having LVM support will be to ET projects? And when will you need it? For my point of view, as former sysadmin, virtualisation and LVM are such a natural fit for each other that I can hardly

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-15 Thread Jim Meyering
Daniel P. Berrange [EMAIL PROTECTED] wrote: On Wed, Mar 14, 2007 at 09:17:37AM +, Richard W.M. Jones wrote: ... I did look at the API for libparted a few months ago (actually from the rather ancient released version on gnu.org) and it didn't look to me like there was any way to express LVM

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-15 Thread Richard W.M. Jones
Jim Meyering wrote: Daniel P. Berrange [EMAIL PROTECTED] wrote: On Wed, Mar 14, 2007 at 09:17:37AM +, Richard W.M. Jones wrote: ... I did look at the API for libparted a few months ago (actually from the rather ancient released version on gnu.org) and it didn't look to me like there was

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-15 Thread Richard W.M. Jones
Richard W.M. Jones wrote: lvcreate -L 3G -n newroot raidvg lvcreate -L 1G -n newswap raidvg I should add, in a libvirt context it's probably going to be useful to also: * list available volume groups (vgscan) * list space available in each VG (vgdisplay name-of-vg) * show how VGs relate to

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-14 Thread Richard W.M. Jones
Jim Meyering wrote: How important do you guys think having LVM support will be to ET projects? And when will you need it? For my point of view, as former sysadmin, virtualisation and LVM are such a natural fit for each other that I can hardly imagine _not_ provisioning new virtual servers

Re: parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-14 Thread Daniel P. Berrange
On Wed, Mar 14, 2007 at 09:17:37AM +, Richard W.M. Jones wrote: Jim Meyering wrote: How important do you guys think having LVM support will be to ET projects? And when will you need it? For my point of view, as former sysadmin, virtualisation and LVM are such a natural fit for each

parted/LVM for ET [Re: [Libvir] Storage manager initial requirements and thoughts

2007-03-13 Thread Jim Meyering
Jim Meyering [EMAIL PROTECTED] wrote: Hugh Brock [EMAIL PROTECTED] wrote: Todos: Investigate gparted, one of the partition management tools we already have (apis? remote accessibility?) (I believe Jim Meyering volunteered to take a look at this?) Recently, I've been spending a good bit of