| From: | rakesh-eltropy <goyal(dot)nitj(at)gmail(dot)com> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Postgres Data Encryption Using LUKS with dm-crypt |
| Date: | 2017-05-16 07:43:02 |
| Message-ID: | 1494920582184-5961821.post@n3.nabble.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Cat | 2017-05-16 08:06:24 | Re: Postgres Data Encryption Using LUKS with dm-crypt |
| Previous Message | Jakub Jedelsky | 2017-05-15 19:26:54 | Re: Autovacuum of pg_database |