help me ! move folder to another vm [message #52263] |
Fri, 20 November 2015 20:48 |
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 #52270 is a reply to message #52268] |
Tue, 01 December 2015 13:39 |
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.
|
|
|