OpenVZ Forum


Home » General » Support » Move containers private area to another directory.
Move containers private area to another directory. [message #51252] Tue, 25 March 2014 13:26 Go to next message
dvazart is currently offline  dvazart
Messages: 37
Registered: October 2008
Location: France
Member
Hi,

Doing some maintenance task on my server, I found this situation :

HN:~# ls /var/lib/vz/private
151.tmp  2001  2002  2003  3000  315
HN:~# ls /vz/private/
150  2000  4000  495  5000
HN:~# vzlist 
      CTID      NPROC STATUS
       315         97 running
       495        124 running
      2001        136 running
      3000         58 running
      4000         43 running
      5000         24 running




So, I need to move the private areas from /var/lib/vz/private to /vz/private/

Do you know any guide to do this correctly,

Thanks !


----------- Daniel Vazart ------------
"Knowledge is power, Sharing is human"
------- http://www.vazart.net --------
Re: Move containers private area to another directory. [message #51256 is a reply to message #51252] Wed, 26 March 2014 07:18 Go to previous message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
I would stop CT, move CT folder to right place, edit CT config file and start CT
Previous Topic: Time inside container
Next Topic: vztmpl-dl ERROR
Goto Forum:
  


Current Time: Thu May 02 06:25:10 GMT 2024

Total time taken to generate the page: 0.01828 seconds