From: Cat <cat@zip.com.au>
To: rakesh-eltropy <goyal.nitj@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres Data Encryption Using LUKS with dm-crypt
Date: Tue, 16 May 2017 18:06:24 +1000
Message-ID: <20170516080624.rxl4unuwjzszefhd@zip.com.au> (raw)
In-Reply-To: <1494920582184-5961821.post@n3.nabble.com>
References: <1494920582184-5961821.post@n3.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: cat@zip.com.au, goyal.nitj@gmail.com
Subject: Re: Postgres Data Encryption Using LUKS with dm-crypt
In-Reply-To: <20170516080624.rxl4unuwjzszefhd@zip.com.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox