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 wrote: > Rich Freeman 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 the idea of taking sna

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

2015-01-11 Thread lee
Rich Freeman writes: > On Sun, Jan 11, 2015 at 8:14 AM, lee wrote: >> Rich Freeman 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. >>

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 wrote: > Rich Freeman 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, my impression is that i

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

2015-01-11 Thread lee
Rich Freeman writes: > On Sat, Jan 10, 2015 at 1:22 PM, lee wrote: >> Rich Freeman 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-10 Thread Rich Freeman
On Sat, Jan 10, 2015 at 1:22 PM, lee wrote: > Rich Freeman 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 physical volume. >> Logical v

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

2015-01-10 Thread lee
Rich Freeman writes: > On Fri, Jan 9, 2015 at 4:02 PM, lee wrote: >> Rich Freeman writes: >> >>> On Mon, Dec 29, 2014 at 8:55 AM, lee 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 Rich Freeman
On Fri, Jan 9, 2015 at 4:02 PM, lee wrote: > Rich Freeman writes: > >> On Mon, Dec 29, 2014 at 8:55 AM, lee 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

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

2015-01-09 Thread lee
thegeezer 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 lv_source >> other_h

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

2015-01-09 Thread lee
Rich Freeman writes: > On Mon, Dec 29, 2014 at 8:55 AM, lee 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 n

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

2015-01-09 Thread lee
"J. Roeleveld" writes: > On Monday, December 29, 2014 03:38:40 AM lee wrote: >> "J. Roeleveld" 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 bri

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

2015-01-09 Thread lee
"J. Roeleveld" 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. What sense

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 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 least of the re

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 writes: > > On 08/12/14 22:17, lee wrote: > >> "J. Roeleveld" 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. bec

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

2014-12-30 Thread thegeezer
On 29/12/14 13:55, lee wrote: > thegeezer writes: > >> On 08/12/14 22:17, lee wrote: >>> "J. Roeleveld" 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 >>> t

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" 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 physical p

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 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 couldn't serial

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

2014-12-29 Thread lee
thegeezer writes: > On 08/12/14 22:17, lee wrote: >> "J. Roeleveld" 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 pa

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

2014-12-29 Thread lee
Mick 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 actually instal

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" 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 suppo

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

2014-12-28 Thread lee
"J. Roeleveld" writes: > On Monday, December 08, 2014 11:17:26 PM lee wrote: >> "J. Roeleveld" 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-28 Thread lee
"J. Roeleveld" 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 filesystems a

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" 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

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

2014-12-09 Thread thegeezer
On 08/12/14 22:17, lee wrote: > "J. Roeleveld" 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 becomes

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" 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 you mean

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

2014-12-08 Thread lee
"J. Roeleveld" 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. Doesn't that crea

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" 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

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" 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-07 Thread lee
"J. Roeleveld" 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 the >> in

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 writes: > > On Thu, Dec 4, 2014 at 3:39 PM, lee wrote: > >> Rich Freeman writes: > >>> On Thu, Dec 4, 2014 at 1:11 PM, lee wrote: > Tomas Mozes writes: > > The kernel is not in stage3, you have to compile it yourself

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 writes: > > On 2014-12-04 11:08, lee wrote: > >> Tomas Mozes writes: > >>> On 2014-12-04 02:14, lee wrote: > > name = "gentoobox" > > kernel = "/xen/_kernel/kernel-3.14.23-gentoo-xen" > > extra = "root=/dev/xvda1 net.ifnames=0

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

2014-12-04 Thread lee
Rich Freeman writes: > On Thu, Dec 4, 2014 at 3:39 PM, lee wrote: >> Rich Freeman writes: >> >>> On Thu, Dec 4, 2014 at 1:11 PM, lee wrote: Tomas Mozes writes: > > The kernel is not in stage3, you have to compile it yourself (or > download from somewhere). When you have the k

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 wrote: > Rich Freeman writes: > >> On Thu, Dec 4, 2014 at 5:09 AM, lee wrote: >>> Vladimir Romanov 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

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 wrote: > Rich Freeman writes: > >> On Thu, Dec 4, 2014 at 1:11 PM, lee wrote: >>> Tomas Mozes 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

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

2014-12-04 Thread lee
Rich Freeman writes: > On Thu, Dec 4, 2014 at 1:11 PM, lee wrote: >> Tomas Mozes 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: >> >> C

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

2014-12-04 Thread lee
Rich Freeman writes: > On Thu, Dec 4, 2014 at 5:09 AM, lee wrote: >> Vladimir Romanov 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 r

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 wrote: > Tomas Mozes 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 it with what? Are the so

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

2014-12-04 Thread lee
Tomas Mozes writes: > On 2014-12-04 11:08, lee wrote: >> Tomas Mozes 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?

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 wrote: > Vladimir Romanov 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?

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 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 paravirtua

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

2014-12-04 Thread lee
Vladimir Romanov 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 it, or can you?

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

2014-12-04 Thread lee
Tomas Mozes 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) or > f

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 want

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 : > Hi, > > I'd like to give Gentoo a try and want to install it in a xen VM. The > server is othe

[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.