[Users] Re: Debian: recommended kernel

Aleksandar Ivanisevic aleksandar at ivanisevic.de
Thu May 10 05:02:49 EDT 2012


Roman Haefeli <reduzent at gmail.com>
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.




More information about the Users mailing list