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

Поиск
Список
Период
Сортировка
От Cat
Тема Re: [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt
Дата
Msg-id 20170516080624.rxl4unuwjzszefhd@zip.com.au
обсуждение исходный текст
Ответ на [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt  (rakesh-eltropy <goyal.nitj@gmail.com>)
Ответы Re: [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt  (rakesh goyal <goyal.nitj@gmail.com>)
Список pgsql-admin
On Tue, May 16, 2017 at 12:43:02AM -0700, rakesh-eltropy wrote:
> */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*

Looks fair. You did a lazy unmount whilst postgres is still using it
(lsof -n will confirm) THEN you tried to tell it to stop the encryption
processing, which it wont let you do as the mount is still in use
(though detached from the filesystem tree).

--
  "A search of his car uncovered pornography, a homemade sex aid, women's
  stockings and a Jack Russell terrier."
    - http://www.dailytelegraph.com.au/news/wacky/indeed/story-e6frev20-1111118083480


В списке pgsql-admin по дате отправления:

Предыдущее
От: rakesh-eltropy
Дата:
Сообщение: [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt
Следующее
От: rakesh goyal
Дата:
Сообщение: Re: [ADMIN] Postgres Data Encryption Using LUKS with dm-crypt