OpenVZ Forum


Home » General » Support » help me ! move folder to another vm
help me ! move folder to another vm [message #52263] Fri, 20 November 2015 20:48 Go to next message
lasauce22 is currently offline  lasauce22
Messages: 2
Registered: November 2015
Location: Canada
Junior Member
hello !
i'm trying to move a folder from VMID to another VMID, /vz/private/101/home/user/movie to /vz/private/104/home/user with MV command !
it is working but it is extremely slow, 20-30mb/s ! normally the mv command are instantly on the same hard drive...

exemple: when i move a folder on the same VM /vz/private/vm#/ , it is instantly ! 2-3seconds for my 2TB folder ex: /vz/private/101/home/user/movie to /vz/private/101/home/user2 !!! or simply /vz/private/101/home/user/movie to /vz/private/101/ are instant !

all VM are on the same hard drive...

i just need to transfert my old movie folder (2tb) to my new VM #104, faster than my exemple.. it is possible ?

Thank you!


Mike
Re: help me ! move folder to another vm [message #52268 is a reply to message #52263] Mon, 30 November 2015 18:48 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
Hi,

are you using ploop or simfs CT layout?
Re: help me ! move folder to another vm [message #52270 is a reply to message #52268] Tue, 01 December 2015 13:39 Go to previous message
andre is currently offline  andre
Messages: 36
Registered: January 2008
Member
Stop both containers, stop vzquota (I would drop it) and make the move.

Ex:
vzctl stop $VE1
vzctl stop $VE2

vzquota off $VE1
vzquota off $VE2

vzquota drop $VE1
vzquota drop $VE2

Now move the folders.

When you start the container it will take some time because it will "rebuild" quota.
Previous Topic: Can OOM be the cause of container stoppage?
Next Topic: CT net speed limited to 2MB/s?
Goto Forum:
  


Current Time: Sat Nov 09 14:58:22 GMT 2024

Total time taken to generate the page: 0.03179 seconds