Re: Revisiting partman-nbd

2008-12-30 Thread Wouter Verhelst
On Mon, Dec 29, 2008 at 11:23:49PM +0100, Frans Pop wrote: On Monday 29 December 2008, Jérémy Bobbio wrote: Unable to determine geometry of file/device /dev/nbd0. You should not use Parted unless you REALLY know what you're doing! This message comme straight from libparted. From a

Re: Revisiting partman-nbd

2008-12-30 Thread Frans Pop
On Tuesday 30 December 2008, Wouter Verhelst wrote: It's really just the fact that the device has a size of zero. Once they're connected, parted has no problems understanding what they are like. In that case 30parted should _only_ skip devices with a size of zero, so you need a solid method

Re: Revisiting partman-nbd

2008-12-29 Thread Jérémy Bobbio
On Sat, Dec 27, 2008 at 02:27:14PM +0100, Wouter Verhelst wrote: Unfortunately, this now seems to confuse partman; we apparently can't be right for everyone. When loading the NBD kernel module before /lib/partman/init.d/30parted is run, we will get the following error message: Unable to

Re: Revisiting partman-nbd

2008-12-29 Thread Frans Pop
On Monday 29 December 2008, Jérémy Bobbio wrote: Unable to determine geometry of file/device /dev/nbd0. You should not use Parted unless you REALLY know what you're doing! This message comme straight from libparted. From a quick look at parted sources, it looks like it has no understanding

Revisiting partman-nbd

2008-12-27 Thread Wouter Verhelst
Hi, Back in spring, I did some preliminary work on a 'partman-nbd', to support an installation to the Network Block Device. I didn't finish it then, for two reasons: - Just as I was working on it, a patch was submitted to the Linux kernel to make NBD support partition tables. At the time, I was