Re: [Pacemaker] Pacemaker and LUKS partition

2010-11-10 Thread Georges-Etienne Legendre
Turns out eCryptFS is not very good when failover is done. We get this strange error in syslog: --- mount.ecryptfs: Error attempting to link the user session keyring into the session keyring lrmd: [2772]: info: RA output: (fs-ecryptfs:start:stdout) Unable to link the KEY_SPEC_USER_KEYRING into the

Re: [Pacemaker] Pacemaker and LUKS partition

2010-11-05 Thread Georges-Etienne Legendre
For your information, I ended up using eCryptFS, which can be mounted like any other partition. The ocf:heartbeat:Filesystem can thus be used directly. Thanks, -- Georges-Etienne On Fri, 5 Nov 2010 07:42:07 -0400, Georges-Etienne Legendre wrote: > Hi, > > I would like to use Pacemaker to open

[Pacemaker] Pacemaker and LUKS partition

2010-11-05 Thread Georges-Etienne Legendre
Hi, I would like to use Pacemaker to open and mount an encrypted LUKS partition. Is there an OCS that is already available for LUKS / dm-crypt? If not, how complicated it is to write one? Any initial recommendation? Here an overview of the device stack: MySQL --> ext3 --> LUKS --> DRBD --> LVM