Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-11 Thread Rich Freeman
On Sun, Jan 11, 2015 at 8:14 AM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: Doing backups with dd isn't terribly practical, but it is completely safe if done correctly. The LV would need to be the same size or larger, or else your filesystem will be truncated. Yes,

Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-11 Thread lee
Rich Freeman ri...@gentoo.org writes: On Sat, Jan 10, 2015 at 1:22 PM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: You can dd from a logical volume into a file, and from a file into a logical volume. You won't destroy the volume group unless you do something dumb like

Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-11 Thread Rich Freeman
On Sun, Jan 11, 2015 at 1:42 PM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: Generally you do backup at the filesystem layer, not at the volume management layer. LVM just manages a big array of disk blocks. It has no concept of files. That may require downtime while

Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-11 Thread lee
Rich Freeman ri...@gentoo.org writes: On Sun, Jan 11, 2015 at 8:14 AM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: Doing backups with dd isn't terribly practical, but it is completely safe if done correctly. The LV would need to be the same size or larger, or else

Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-10 Thread lee
Rich Freeman ri...@gentoo.org writes: On Fri, Jan 9, 2015 at 4:02 PM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: On Mon, Dec 29, 2014 at 8:55 AM, lee l...@yagibdah.de wrote: Just why can't you? ZFS apparently can do such things --- yet what's the difference in

Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-10 Thread Rich Freeman
On Sat, Jan 10, 2015 at 1:22 PM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: You can dd from a logical volume into a file, and from a file into a logical volume. You won't destroy the volume group unless you do something dumb like trying to copy it directly onto a

Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-09 Thread Rich Freeman
On Fri, Jan 9, 2015 at 4:02 PM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: On Mon, Dec 29, 2014 at 8:55 AM, lee l...@yagibdah.de wrote: Just why can't you? ZFS apparently can do such things --- yet what's the difference in performance of ZFS compared to hardware raid?

Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-09 Thread lee
thegeezer thegee...@thegeezer.net writes: Guess what, I still haven't found out how to actually back up and restore a VM residing in an LVM volume. I find it annoying that LVM doesn't have any way of actually copying a LV. It could be so easy if you could just do something like 'lvcopy

Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-09 Thread lee
Rich Freeman ri...@gentoo.org writes: On Mon, Dec 29, 2014 at 8:55 AM, lee l...@yagibdah.de wrote: Just why can't you? ZFS apparently can do such things --- yet what's the difference in performance of ZFS compared to hardware raid? Software raid with MD makes for quite a slowdown. Well,

Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-09 Thread lee
J. Roeleveld jo...@antarean.org writes: On Monday, December 29, 2014 03:38:40 AM lee wrote: J. Roeleveld jo...@antarean.org writes: What do you mean with unusable? The bridge swallows the physical port, and the port becomes unreachable. IIRC, you can get around this by assigning an IP

Re: [gentoo-user] installing Gentoo in a xen VM

2015-01-09 Thread lee
J. Roeleveld jo...@antarean.org writes: with firewalling and routing in between. You can't keep the traffic separate when it all goes over the same bridge, can you? Not if it goes over the same bridge. But as they are virtual, you can make as many as you need. I made as few as I needed.

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-30 Thread thegeezer
On 29/12/14 13:55, lee wrote: thegeezer thegee...@thegeezer.net writes: On 08/12/14 22:17, lee wrote: J. Roeleveld jo...@antarean.org writes: create 1 bridge per physical network port add the physical ports to the respective bridges That tends to make the ports disappear, i. e. become

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-30 Thread J. Roeleveld
On Monday, December 29, 2014 02:55:49 PM lee wrote: thegeezer thegee...@thegeezer.net writes: On 08/12/14 22:17, lee wrote: J. Roeleveld jo...@antarean.org writes: create 1 bridge per physical network port add the physical ports to the respective bridges That tends to make the ports

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-30 Thread Rich Freeman
On Tue, Dec 30, 2014 at 1:05 PM, J. Roeleveld jo...@antarean.org wrote: I could do with a hardware controller which can be used to off-load all the heavy lifting for the RAIDZ-calculations away from the CPU. And if the stuff for the deduplication could also be done that way? The CPU is the

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-29 Thread lee
Mick michaelkintz...@gmail.com writes: On Monday 29 Dec 2014 02:25:04 lee wrote: I tried out the latest Gentoo live DVD ... and I was surprised that the software it comes with is so old. Libreoffice 3.x? Seamonkey a couple versions behind? Is the software going to be more recent when I

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-29 Thread lee
thegeezer thegee...@thegeezer.net writes: On 08/12/14 22:17, lee wrote: J. Roeleveld jo...@antarean.org writes: create 1 bridge per physical network port add the physical ports to the respective bridges That tends to make the ports disappear, i. e. become unusable, because the bridge

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-29 Thread Rich Freeman
On Mon, Dec 29, 2014 at 8:55 AM, lee l...@yagibdah.de wrote: Just why can't you? ZFS apparently can do such things --- yet what's the difference in performance of ZFS compared to hardware raid? Software raid with MD makes for quite a slowdown. Well, there is certainly no reason that you

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-29 Thread J. Roeleveld
On Monday, December 29, 2014 03:38:40 AM lee wrote: J. Roeleveld jo...@antarean.org writes: What do you mean with unusable? The bridge swallows the physical port, and the port becomes unreachable. IIRC, you can get around this by assigning an IP address to the bridge rather than to the

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-28 Thread lee
J. Roeleveld jo...@antarean.org writes: On Thursday, December 04, 2014 11:55:50 PM lee wrote: BTW, can I use xfs for the VM, or will it be difficult to get the VM booted from xfs? Using PV, not at all. As long as the kernel for the VM has XFS support built- in. (This is valid for other

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-28 Thread lee
J. Roeleveld jo...@antarean.org writes: On Monday, December 08, 2014 11:17:26 PM lee wrote: J. Roeleveld jo...@antarean.org writes: create 1 bridge per physical network port add the physical ports to the respective bridges That tends to make the ports disappear, i. e. become unusable,

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-28 Thread Mick
On Monday 29 Dec 2014 02:25:04 lee wrote: J. Roeleveld jo...@antarean.org writes: On Thursday, December 04, 2014 11:55:50 PM lee wrote: BTW, can I use xfs for the VM, or will it be difficult to get the VM booted from xfs? Using PV, not at all. As long as the kernel for the VM has XFS

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-10 Thread J. Roeleveld
On Tuesday, December 09, 2014 02:26:24 PM thegeezer wrote: On 08/12/14 22:17, lee wrote: J. Roeleveld jo...@antarean.org writes: create 1 bridge per physical network port add the physical ports to the respective bridges That tends to make the ports disappear, i. e. become unusable,

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-09 Thread J. Roeleveld
On Monday, December 08, 2014 11:17:26 PM lee wrote: J. Roeleveld jo...@antarean.org writes: create 1 bridge per physical network port add the physical ports to the respective bridges That tends to make the ports disappear, i. e. become unusable, because the bridge swallows them. What do

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-09 Thread thegeezer
On 08/12/14 22:17, lee wrote: J. Roeleveld jo...@antarean.org writes: create 1 bridge per physical network port add the physical ports to the respective bridges That tends to make the ports disappear, i. e. become unusable, because the bridge swallows them. and if you pass the device then it

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-08 Thread J. Roeleveld
On Sunday, December 07, 2014 11:43:38 PM lee wrote: J. Roeleveld jo...@antarean.org writes: On Thursday, December 04, 2014 07:11:12 PM lee wrote: Why is the networking complicated? Do you use bridging? Yes --- and it was terrible to begin with and still is very complicated. One of the

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-08 Thread thegeezer
On 08/12/14 11:26, J. Roeleveld wrote: On Sunday, December 07, 2014 11:43:38 PM lee wrote: J. Roeleveld jo...@antarean.org writes: On Thursday, December 04, 2014 07:11:12 PM lee wrote: Why is the networking complicated? Do you use bridging? Yes --- and it was terrible to begin with and still

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-08 Thread lee
J. Roeleveld jo...@antarean.org writes: create 1 bridge per physical network port add the physical ports to the respective bridges That tends to make the ports disappear, i. e. become unusable, because the bridge swallows them. pass virtual NICs to the VMs which are part of the bridges.

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-07 Thread J. Roeleveld
On Thursday, December 04, 2014 07:11:12 PM lee wrote: Tomas Mozes tomas.mo...@shmu.sk writes: On 2014-12-04 11:08, lee wrote: Tomas Mozes tomas.mo...@shmu.sk writes: On 2014-12-04 02:14, lee wrote: snipped part already answered name = gentoobox kernel =

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-07 Thread J. Roeleveld
On Thursday, December 04, 2014 11:55:50 PM lee wrote: Rich Freeman ri...@gentoo.org writes: On Thu, Dec 4, 2014 at 3:39 PM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: On Thu, Dec 4, 2014 at 1:11 PM, lee l...@yagibdah.de wrote: Tomas Mozes tomas.mo...@shmu.sk writes:

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-07 Thread lee
J. Roeleveld jo...@antarean.org writes: On Thursday, December 04, 2014 07:11:12 PM lee wrote: Why is the networking complicated? Do you use bridging? Yes --- and it was terrible to begin with and still is very complicated. One of the VMs has a network card passed through to do pppoe for

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread lee
Tomas Mozes tomas.mo...@shmu.sk writes: On 2014-12-04 02:14, lee wrote: Hi, I'd like to give Gentoo a try and want to install it in a xen VM. The server is otherwise running Debian. What would be the best way to do this? Either you can run a virtual machine using paravirtualization (PV)

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread lee
Vladimir Romanov bluebo...@gmail.com writes: Well, what's the problem? When i do this, then i just install debian, xen kernel, then create some config, download gentoo install cd, run it, and follow the handbook. How do you run the installer CD in a PV VM? It's not like you could just boot

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread Tomas Mozes
On 2014-12-04 11:08, lee wrote: Tomas Mozes tomas.mo...@shmu.sk writes: On 2014-12-04 02:14, lee wrote: Hi, I'd like to give Gentoo a try and want to install it in a xen VM. The server is otherwise running Debian. What would be the best way to do this? Either you can run a virtual

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread Rich Freeman
On Thu, Dec 4, 2014 at 5:09 AM, lee l...@yagibdah.de wrote: Vladimir Romanov bluebo...@gmail.com writes: Well, what's the problem? When i do this, then i just install debian, xen kernel, then create some config, download gentoo install cd, run it, and follow the handbook. How do you run the

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread lee
Tomas Mozes tomas.mo...@shmu.sk writes: On 2014-12-04 11:08, lee wrote: Tomas Mozes tomas.mo...@shmu.sk writes: On 2014-12-04 02:14, lee wrote: Hi, I'd like to give Gentoo a try and want to install it in a xen VM. The server is otherwise running Debian. What would be the best way to do

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread Rich Freeman
On Thu, Dec 4, 2014 at 1:11 PM, lee l...@yagibdah.de wrote: Tomas Mozes tomas.mo...@shmu.sk writes: The kernel is not in stage3, you have to compile it yourself (or download from somewhere). When you have the kernel image binary, the xen configuration for the host can be simple as: Compile

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread lee
Rich Freeman ri...@gentoo.org writes: On Thu, Dec 4, 2014 at 5:09 AM, lee l...@yagibdah.de wrote: Vladimir Romanov bluebo...@gmail.com writes: Well, what's the problem? When i do this, then i just install debian, xen kernel, then create some config, download gentoo install cd, run it, and

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread lee
Rich Freeman ri...@gentoo.org writes: On Thu, Dec 4, 2014 at 1:11 PM, lee l...@yagibdah.de wrote: Tomas Mozes tomas.mo...@shmu.sk writes: The kernel is not in stage3, you have to compile it yourself (or download from somewhere). When you have the kernel image binary, the xen configuration

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread Rich Freeman
On Thu, Dec 4, 2014 at 3:39 PM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: On Thu, Dec 4, 2014 at 1:11 PM, lee l...@yagibdah.de wrote: Tomas Mozes tomas.mo...@shmu.sk writes: The kernel is not in stage3, you have to compile it yourself (or download from somewhere).

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread Rich Freeman
On Thu, Dec 4, 2014 at 3:30 PM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: On Thu, Dec 4, 2014 at 5:09 AM, lee l...@yagibdah.de wrote: Vladimir Romanov bluebo...@gmail.com writes: Well, what's the problem? When i do this, then i just install debian, xen kernel, then

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-04 Thread lee
Rich Freeman ri...@gentoo.org writes: On Thu, Dec 4, 2014 at 3:39 PM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: On Thu, Dec 4, 2014 at 1:11 PM, lee l...@yagibdah.de wrote: Tomas Mozes tomas.mo...@shmu.sk writes: The kernel is not in stage3, you have to compile it

[gentoo-user] installing Gentoo in a xen VM

2014-12-03 Thread lee
Hi, I'd like to give Gentoo a try and want to install it in a xen VM. The server is otherwise running Debian. What would be the best way to do this? -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-03 Thread Vladimir Romanov
Well, what's the problem? When i do this, then i just install debian, xen kernel, then create some config, download gentoo install cd, run it, and follow the handbook. 2014-12-04 6:14 GMT+05:00 lee l...@yagibdah.de: Hi, I'd like to give Gentoo a try and want to install it in a xen VM. The

Re: [gentoo-user] installing Gentoo in a xen VM

2014-12-03 Thread Tomas Mozes
On 2014-12-04 02:14, lee wrote: Hi, I'd like to give Gentoo a try and want to install it in a xen VM. The server is otherwise running Debian. What would be the best way to do this? Either you can run a virtual machine using paravirtualization (PV) or full virtualization (HVM). If you