In my case destination host is usually the same, but ve_private is different. It seems there is no way to turn on second quota in that case.

May be hack with changing CT ID for the copy can help, but it must be changed back again and this can bring problems.

In more common form: I want to recalculate quotas in case some files in ve_private was removed from the node side. In less common: I want to move CT from one ve_private to another with skipping some files. I want to do it like a live migration with near zero downtime.

08.10.2015 20:29, Kir Kolyshkin пишет:
Case from real life:

vzmigrate (or vzmove, which I plan to release soon) with exclude filter
for rsync to exclude hundreds gigabytes of cache files.

This case is different from what you asked about.

You can turn on quota on destination host before running rsync,
and as you copy the files quota is calculated.

Kir.

--
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130

_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

Reply via email to