How do I solve this problem: 'VEFS: copy-on-write name collision, please optimize fs offline'?

Article ID: 1331 
Last Review: Oct,6 2008
Author: Vitaly Filatov
Last updated by: system APPLIES TO:
  • Parallels Virtuozzo Containers for Linux

Resolution

According to error message there is some VZFS (Virtuozzo filesystem) inconsistency inside a VE running on the node (which could happen, for example, due to unclean server shutdown). Usually in such error messages inode # and COW (copy-on-write) filename also reported, all COW files are usually located in /vz/private/VEID/cow/, so it should be possible to locate the problem VE using just for example this command:
# ls -l /vz/private/*/cow/NAME
where NAME is filename reported in the error message.

To fix the problem 'vzfsutil' utility should be executed against unmounted (and stopped) VE private area:
# vzfsutil --call=move --oall=do -t /vz/template /vz/private/VEID
where VEID is ID of problem VE shown by 'ls' command in previous section.
Keywords: filesystem copy-on-write collision cow vzfsutil optimize


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields