OpenVZ Forum


Home » General » Support » Duplicate folder or what it is? /vz/root and /home/vps
Duplicate folder or what it is? /vz/root and /home/vps [message #51146] Tue, 25 February 2014 17:59 Go to previous message
postcd is currently offline  postcd
Messages: 73
Registered: April 2013
Member
Hello,

i remember that i installed openvz and i started running out of disk space as number of VMs grow, so i moved or symlinked /vz to /home/vz (home partition is big)

but now, i dont understand why i have there two folders both contianing VMs data, is it duplicate or why its there?


[root@* /]# stat /vz
  File: `vz' -> `/home/vz'
  Size: 8         	Blocks: 0          IO Bl
Device: 902h/2306d	Inode: 238         Links
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)
Access: 2014-02-25 03:13:33.000000000 +0100
Modify: 2013-04-23 00:35:10.000000000 +0200
Change: 2013-04-23 00:35:10.000000000 +0200



[root@* /]# stat /home/vz
  File: `/home/vz'
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 903h/2307d	Inode: 99074049    Links: 8
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2014-02-25 18:22:27.000000000 +0100
Modify: 2013-07-18 19:46:54.000000000 +0200
Change: 2014-02-25 18:22:01.000000000 +0100


[root@* home]# du -h /home/vz --max-depth=0
96G	/home/vz


[root@* home]# du -h /home/vps --max-depth=0
89G	/home/vps


you see these big folders, almost same, both contains VPS data..

[root@* home]# ls vz;ls vps
dump  lock  private  root  template  vztmp
130  190  200  240  310  330  430  440  500  550  600  640  650  tmp.500-1  tmp.500-2


please can anyone can advice me what is wrong and which folder i need to backup? i used vzdump, but i want to do some rsync to another server so i need to know which VZ folder is needed to backup, i hope not boths (alot of data)?

[Updated on: Tue, 25 February 2014 18:05]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: cpu limit not working
Next Topic: how to deal with /dev/loop for crypto disk ?
Goto Forum:
  


Current Time: Tue Jul 15 21:38:24 GMT 2025

Total time taken to generate the page: 0.05105 seconds