[CentOS] luksClose not closing mapped device.
Nikolai Maziashvili
centos at maziashvili.org
Sun Mar 16 18:21:25 UTC 2014
On Sunday 16 March 2014 17:49:27 Always Learning wrote:
>
> On Sun, 2014-03-16 at 18:11 +0100, centos at maziashvili.org wrote:
>
> > I'm having problems with closing luks device.
>
> I use this routine in /root/bin/.cu
>
> #! /bin/bash
> cryptsetup luksClose $1
> umount /dev/mapper/$1
First close then unmount? Isn't it supposed to be other way around - first unmount device then luksClose it?
I've never tried it in this order.
--
Nikolai
More information about the CentOS
mailing list