Re: vps's directory on different hard disk [message #14331 is a reply to message #14325] |
Fri, 22 June 2007 12:20   |
onyx
Messages: 7 Registered: May 2007
|
Junior Member |
|
|
Vasily Tarasov wrote on Fri, 22 June 2007 08:01 | Sorry, don't get you.
Assume, you have /vz on /dev/hda1. It means, that VEs private files are located in /vz/private/<veid>. Then you have one more hard disk: hdb. After `vzctl mount` command you can give the following command:
mount /dev/hdb1 /vz/root/<veid>/var After `vzctl start` your VE will be able to write in /var as much information, as big is hdb1 (but not /vz)
HTH,
Vasily.
|
But if I stop the VPS, every data will be - as in your example - on /dev/hda1, including /vz/private/<veid>/var. Or this is not as I think, and /vz/private/<veid>/var will be empty this time, because all the data it contains is on /dev/hdb1?
|
|
|