[Lxc-users] Best way to move a container

Papp Tamás tompos at martos.bme.hu
Fri May 7 10:40:56 UTC 2010


John Lewis wrote, On 2010. 05. 07. 12:37:
> I'll tell you what I've found by looking through the list archives and 
> this time I won't include my signature ;)
>
> The mtab of the container had the root filesystem from the host in. 
> This appeared to be causing at least 1 issue in that files would have 
> incorrect ownership (perhaps because looking at hosts /etc/passwd 
> rather than containers?). Maybe this is the cause of the problems?

Somebody else already gave you the answer.

Anyway, also you can try this:

rsync -vrltH --delete -pgo --stats -D --numeric-ids

Bye,

tamas




More information about the lxc-users mailing list