Re: Debian: recommended kernel [message #46287 is a reply to message #46284] |
Thu, 10 May 2012 09:02  |
Aleksandar Ivanisevic
Messages: 34 Registered: April 2011
|
Member |
|
|
Roman Haefeli <reduzent@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.
|
|
|