OpenVZ Forum


Home » General » Support » *SOLVED* vps's directory on different hard disk
Re: vps's directory on different hard disk [message #14331 is a reply to message #14325] Fri, 22 June 2007 12:20 Go to previous messageGo to previous message
onyx is currently offline  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?

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *RESOLVED* iptables
Next Topic: VPS: sshd dead but subsys locked
Goto Forum:
  


Current Time: Thu Jun 19 09:18:02 GMT 2025

Total time taken to generate the page: 0.02800 seconds