|
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
|
|
|
Re: Setting up VZ Partitions? [message #6100 is a reply to message #6097] |
Fri, 08 September 2006 08:10 |
mkl0815
Messages: 15 Registered: August 2006
|
Junior Member |
|
|
there are different ways to get more space foryour vz installation.
1.) you can create a directory anywhere in your system on a partition with enough space and make a symbolic link to the /vz directory
mkdir -p /home/openvz
ln -s /home/openvz /vz
2.) you can create an own partition for your vz directory (for instance as lvm volume) an mount it on /vz
mario.
===EDIT===
... hmm, seems that i'm to slow *g*
[Updated on: Fri, 08 September 2006 08:12] Report message to a moderator
|
|
|