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 doubt

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 t

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 name-of-vg)

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

2007-03-20 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 tod

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 lik

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

2007-03-20 Thread Daniel P. Berrange
On Tue, Mar 20, 2007 at 02:58:16PM +, David Edmondson wrote: > On Tue, Mar 20, 2007 at 02:32:10PM +, Daniel P. Berrange wrote: > > - There are a couple of different types of storage pool > > - An LVM volume group > > - Block devices > > - A directory on a filesystem > > - E

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

2007-03-20 Thread David Edmondson
On Tue, Mar 20, 2007 at 02:32:10PM +, Daniel P. Berrange wrote: > - There are a couple of different types of storage pool > - An LVM volume group > - Block devices > - A directory on a filesystem > - Each storage pool can have zero or more storage volumes allocated > - LVM

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

2007-03-20 Thread Daniel P. Berrange
On Tue, Mar 20, 2007 at 12:06:39PM +, Mark McLoughlin wrote: > On Wed, 2007-03-14 at 11:29 +, Daniel P. Berrange wrote: > > On Wed, Mar 14, 2007 at 09:17:37AM +, Richard W.M. Jones wrote: > > > > Should libvirt's C API use/expose libparted structures directly? > > > (And how would this

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

2007-03-20 Thread Mark McLoughlin
On Wed, 2007-03-14 at 11:29 +, Daniel P. Berrange wrote: > On Wed, Mar 14, 2007 at 09:17:37AM +, Richard W.M. Jones wrote: > > Should libvirt's C API use/expose libparted structures directly? > > (And how would this affect the remote case?) > > I'd say definitely not expose libpartd via l

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 c

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 bindin

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

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 PGs

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 wa

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 e

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

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

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 fr

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

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-15 Thread Mark McLoughlin
Hey, I know I said this already ... but it's probably worth fleshing out the idea a bit "on paper" to see how it works out. The idea is that perhaps we should support the concept of a "Virtual Storage Pool" in the same way we now support Virtual Networks. A virtual storage

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-14 Thread Jim Meyering
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?) Hi Hugh, I am indeed looking at GNU parted. Currently just in getting-to-kno

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-13 Thread James Parsons
Lon Hohberger wrote: On Mon, 2007-02-12 at 11:23 -0800, David Lutterkort wrote: On Mon, 2007-02-12 at 12:29 -0500, James Parsons wrote: Lon Hohberger wrote: http://sourceware.org/cluster/conga/ It seems that that should be http://www.sourceware.org/cluster/conga/ - I

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-12 Thread Lon Hohberger
On Mon, 2007-02-12 at 16:21 -0500, Lon Hohberger wrote: > On Mon, 2007-02-12 at 11:23 -0800, David Lutterkort wrote: > > On Mon, 2007-02-12 at 12:29 -0500, James Parsons wrote: > > > Lon Hohberger wrote: > > > >http://sourceware.org/cluster/conga/ > > > > It seems that that should be http://www.so

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-12 Thread Lon Hohberger
On Mon, 2007-02-12 at 11:23 -0800, David Lutterkort wrote: > On Mon, 2007-02-12 at 12:29 -0500, James Parsons wrote: > > Lon Hohberger wrote: > > >http://sourceware.org/cluster/conga/ > > It seems that that should be http://www.sourceware.org/cluster/conga/ - > I get a 503 without the www. BTW, wh

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-12 Thread Lon Hohberger
On Mon, 2007-02-12 at 17:53 +, Daniel P. Berrange wrote: > Hence our initial goal is to find a suitable C library we can call into > to perform our simple set of storage management tasks. Now in keeping > with the libvirt model of pluggable hypervisor drivers, I'd expect the > underlying li

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-12 Thread David Lutterkort
On Fri, 2007-02-09 at 16:39 -0500, Lon Hohberger wrote: > * Investigate Conga's cluster and non-cluster remotely-accessible LVM > management, which sounds like it would fit the bill? Scott did a lot of work to add storage mgmt capabilities to puppet based on conga. Those features haven't been embr

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-12 Thread David Lutterkort
On Mon, 2007-02-12 at 12:29 -0500, James Parsons wrote: > Lon Hohberger wrote: > >http://sourceware.org/cluster/conga/ It seems that that should be http://www.sourceware.org/cluster/conga/ - I get a 503 without the www. BTW, where is the conga CVS ? It doesn't seem to be linked from that page. Da

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-12 Thread Daniel P. Berrange
On Fri, Feb 09, 2007 at 04:39:03PM -0500, Lon Hohberger wrote: > On Fri, 2007-02-09 at 16:18 -0500, Hugh Brock wrote: > > > Todos: > >Investigate gparted, one of the partition management tools we already > > have (apis? remote accessibility?) (I believe Jim Meyering volunteered > > * Invest

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-12 Thread James Parsons
Lon Hohberger wrote: On Fri, 2007-02-09 at 16:18 -0500, Hugh Brock wrote: Todos: Investigate gparted, one of the partition management tools we already have (apis? remote accessibility?) (I believe Jim Meyering volunteered * Investigate Conga's cluster and non-cluster remotely-acc

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-09 Thread Hugh Brock
Lon Hohberger wrote: On Fri, 2007-02-09 at 16:18 -0500, Hugh Brock wrote: Todos: Investigate gparted, one of the partition management tools we already have (apis? remote accessibility?) (I believe Jim Meyering volunteered * Investigate Conga's cluster and non-cluster remotely-accessible

Re: [Libvir] Storage manager initial requirements and thoughts

2007-02-09 Thread Lon Hohberger
On Fri, 2007-02-09 at 16:18 -0500, Hugh Brock wrote: > Todos: >Investigate gparted, one of the partition management tools we already > have (apis? remote accessibility?) (I believe Jim Meyering volunteered * Investigate Conga's cluster and non-cluster remotely-accessible LVM management, whi

[Libvir] Storage manager initial requirements and thoughts

2007-02-09 Thread Hugh Brock
Hi all. At the Red Hat virtualization team meeting last week we spent some time talking about the problem of remote storage management, which is a requirement for at the very least creating remote guests. Remote storage management also delivers a lot of benefits for managing guest storage, pr