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
From: *112.103.84.rev.sfr.net
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
From: *gaumina.lt
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 Nov 21 00:39:25 GMT 2019