Roman Haefeli <[email protected]>
writes:

[...]

>>  now that you've turned off locking (i.e. fencing).
>
> Turning on locking wouldn't prevent data corruption in case of a split
> brain situation as for most files no lock is acquired.

Heh, I always thought openvz locks a file in $LOCKDIR to signal that
the container is running, but now that I look in the straces it looks
like it uses a custom ioctl, which is local kernel scope only.

Would probably be a nice feature request to use a flock or at least
leave a lockfile somewhere that can be mounted as a poor man's fencing
mechanism.


_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to