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.