OpenVZ Forum


Home » General » Support » OpenVZ on Slackware64 ver. 13.0
OpenVZ on Slackware64 ver. 13.0 [message #37416] Mon, 07 September 2009 23:06 Go to next message
Sum1 is currently offline  Sum1
Messages: 2
Registered: September 2009
Junior Member
Currently running Slackware64 ver. 13.0 on a computer with 2 partitions: /dev/sda1 (swap) and /dev/sda2 (/).

Q1. In order to create VFS containers using OpenVZ, is it necessary to create another partition (/dev/sda3) to place the virtual file systems?

- - - - - - - - -

Q2. What kernel can I recompile and use?

I am currently using the ext4 file system and would like to continue do so. I am also using the "huge.s" kernel 2.6.29.6 that comes with Slackware 13. I would like to use kernel 2.6.29.6 or download 2.6.30.5 from kernel.org; however, according to the wiki I've started following - http://wiki.openvz.org/Kernel_build - it sounds like I have to one particular kernel version and apply one particular patch to make openvz functional:

Rebuilding kernel from sources
Download

To compile OpenVZ linux kernel one need to download the original linux kernel sources and OpenVZ patches for it.

Linux kernel can be found at kernel.org, e.g. 2.6.18 kernel can be downloaded from here.

Appropriate OpenVZ patches for this kernel version can be found at http://openvz.org/download/kernel/branches/<branch>/<version>/patches/. For example, at the moment there is a patch patch-ovz028stab056.1-combined.gz available.

Can I use a newer kernel and find the right openvz patch for it?

- - - - - - - - - - -

Q3. I've been reading the hardware and software requirements for OpenVZ in the Users' Guide and if I'm understanding correctly, it can be installed in either 32 or 64-bit operating systems. Is this correct? Or do I need to install Alien Bob's "multilib" solution to allow 32 bit applications to operate on 64-bit Slackware?


Thank you for your time, patience, and help; the initial learning curve for VFS can be a bit tricky.
Re: OpenVZ on Slackware64 ver. 13.0 [message #37448 is a reply to message #37416] Fri, 11 September 2009 13:52 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Quote:

Q1. In order to create VFS containers using OpenVZ, is it necessary to create another partition (/dev/sda3) to place the virtual file systems?


That's not an obligatory thing to do. You may just create /vz subdirectory and that's all. But as you are using ext4 filesystem I'd earnestly recommend you to create a separate partition and format it as ext3 filesystem! It was tested and it works.

Quote:

Q2. What kernel can I recompile and use?


The already compiled kernels are available there
http://download.openvz.org/kernel/
Source may also be fetched from git:
http://git.openvz.org/

Quote:

Q3. I've been reading the hardware and software requirements for OpenVZ in the Users' Guide and if I'm understanding correctly, it can be installed in either 32 or 64-bit operating systems. Is this correct? Or do I need to install Alien Bob's "multilib" solution to allow 32 bit applications to operate on 64-bit Slackware?


Once you're using the x86_64 operating system you have to install x86_64 kernel and tools. But once you'll install them you can create 32-bit containers without any difficulties.
Re: OpenVZ on Slackware64 ver. 13.0 [message #37449 is a reply to message #37448] Fri, 11 September 2009 14:18 Go to previous message
Sum1 is currently offline  Sum1
Messages: 2
Registered: September 2009
Junior Member
Thanks for your help and guidance, Mr. Maratrus.
Very much appreciated.
Previous Topic: Booting of Containers
Next Topic: vmguarpages != oomguarpages ?
Goto Forum:
  


Current Time: Sun Jul 14 10:26:59 GMT 2024

Total time taken to generate the page: 0.02263 seconds