Re: Setting up VZ Partitions? [message #6099 is a reply to message #6097] |
Fri, 08 September 2006 07:43   |
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
|
|
|