Do you know how to put /vz on a different hard drive? [message #35127] |
Tue, 03 March 2009 18:03 |
hisaltesse
Messages: 6 Registered: February 2009
|
Junior Member |
|
|
Hey guys,
QUESTION 1
I am setting up my deployment of openvz and even though I can just have a /vz partition as recommended, I would like the OS to run on one little hard drive and the containers on a completely different hard drive.
My assumptions is that it comes down to putting the /vz partition on an external hard drive.
Could you please enlighten me on
- whether this is a good approach
- how to achieve this
- what the downfalls are
- what to be careful about
(I am thinking that I may have to automount the other hard disk at boot and having /vz as the mount point but I am not sure if this is all there is to it and how to do it)
QUESTION 2
In fact I have 4 hard disk on my server and I am wondering what would be the best way to manage my storage for openvz.
Here is my plan:
running the host node on disk1
running a RAID 1 on disk 2 and 3 and put /vz on it
using disk 4 as a separate backup disk for the hostnode and the containers in case my raid controller fails. This way if the raid fails my hostnode is not down.
The server has a hardware raid card that allows me to do RAID 0, 1 or 5.
Let me know your thoughts.
Thanks.
|
|
|