[ADMIN] Postgres Data Encryption Using LUKS with dm-crypt

Поиск
Список
Период
Сортировка
От rakesh-eltropy
Тема [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt
Дата
Msg-id 1494920582184-5961821.post@n3.nabble.com
обсуждение исходный текст
Ответы Re: [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt  (Cat <cat@zip.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Jakub Jedelsky
Дата:
Сообщение: Re: [ADMIN] Autovacuum of pg_database
Следующее
От: Cat
Дата:
Сообщение: Re: [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt