OpenVZ Forum


Home » General » Support » Setting up VZ Partitions?
Re: Setting up VZ Partitions? [message #6099 is a reply to message #6097] Fri, 08 September 2006 07:43 Go to previous messageGo to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Some information, that might be useful in your situation:
In /etc/vz/vz.conf file options

LOCKDIR=/vz/lock
DUMPDIR=/vz/dump
TEMPLATE=/vz/template
VE_ROOT=/vz/root/$VEID
VE_PRIVATE=/vz/private/$VEID

can be switched to something like:

LOCKDIR=/home/vz/lock
DUMPDIR=/home/vz/dump
TEMPLATE=/home/vz/template
VE_ROOT=/home/vz/root/$VEID
VE_PRIVATE=/home/vz/private/$VEID


Quote:

What is the optimal way to set up partitions on a brand new server that's going to run OpenVZ?

I suppose, the best way is to have one separate partion for OpenVZ mounted on /vz.

Quote:

Can someone explain how to resize the existing "/" partition or how to create a separate one for "/vz".

It's hardly possible to resize ext2, ext3 partions. For such purposes LVM was developed.

HTH,
vass

[Updated on: Fri, 08 September 2006 07:45]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Multiple IP - Speed?
Next Topic: Centos 4.4 version
Goto Forum:
  


Current Time: Tue Oct 01 17:16:32 GMT 2024

Total time taken to generate the page: 0.03056 seconds