OpenVZ Forum


Home » General » Support » OpenVZ fails to start in Debian Etch
Re: OpenVZ fails to start in Debian Etch [message #9576 is a reply to message #9507] Wed, 10 January 2007 22:29 Go to previous messageGo to previous message
zenny
Messages: 48
Registered: November 2006
Member
Thank you Kir for the advise. I recompiled the kernel and it works now.

I have another question. The /etc/vz/vz.conf files reads like:

## Global parameters
VIRTUOZZO=yes
LOCKDIR=/var/lib/vz/lock
DUMPDIR=/var/lib/vz/dump
VE0CPUUNITS=1000

## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0

## Disk quota parameters
DISK_QUOTA=yes
VZFASTBOOT=no

# The name of the device whose ip address will be used as source ip for VE.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

## Template parameters
TEMPLATE=/var/lib/vz/template

## Defaults for VEs
VE_ROOT=/var/lib/vz/root/$VEID
VE_PRIVATE=/var/lib/vz/private/$VEID
CONFIGFILE="vps.basic"
DEF_OSTEMPLATE="fedora-core-4"

## Load vzwdog module
VZWDOG="no"

IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"


But I want to point it to a seperate partition with /vz as mountpoint instead of /var/lib/vz for the private VEs. Is it enough to change the path in the vz.conf file or do I need to relink other stuffs too?

And I did see an empty /var/lib/vz/vzctl directory also. I could not see the rational of that?

Thank you again.

PS: After reading this thread ( http://forum.openvz.org/index.php?t=msg&goto=5126&&a mp;srch=%2Fvar%2Flib#msg_5126), I realized that why it is so. However, is it worth mounting the /var/lib/vz to /vz or will it break something?

[Updated on: Wed, 10 January 2007 23:01]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: wtmp growth abnormal?
Next Topic: OpenVZ and XDMCP with *DM
Goto Forum:
  


Current Time: Sun Apr 28 14:04:29 GMT 2024

Total time taken to generate the page: 0.02775 seconds