[ADMIN] Postgres Data Encryption Using LUKS with dm-crypt - Mailing list pgsql-admin

From rakesh-eltropy
Subject [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt
Date
Msg-id 1494920582184-5961821.post@n3.nabble.com
Whole thread Raw
Responses Re: [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt  (Cat <cat@zip.com.au>)
List pgsql-admin
We have encrypted volume using LUKS.

*cryptsetup luksOpen /root/test1 volume1*
and mounted on

*mount /dev/mapper/volume1 /mnt/files*
We created postgres data directory inside /mnt/files and able to start the
postgres database.

*/usr/local/pgsql/bin/pg_ctl -D /mnt/files/postgres/ -l
/var/logs/postgres/postgrs.log  start*
Even though we unmounted /mnt/files

*sudo umount -l /mnt/files*
When we try to close volume using LUKS.

*sudo cryptsetup luksClose volume1*
Getting following errors:

*device-mapper: remove ioctl on volume1 failed: Device or resource busy*



--
View this message in context:
http://www.postgresql-archive.org/Postgres-Data-Encryption-Using-LUKS-with-dm-crypt-tp5961821.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.


pgsql-admin by date:

Previous
From: Jakub Jedelsky
Date:
Subject: Re: [ADMIN] Autovacuum of pg_database
Next
From: Cat
Date:
Subject: Re: [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt