[CentOS] luksClose not closing mapped device.

Sun Mar 16 17:49:27 UTC 2014
Always Learning <centos at u62.u22.net>

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


the mounting command is /root/bin/.cm

#! /bin/bash
cryptsetup luksOpen /dev/$1 $2
mkdir /ax/$2
mount /dev/mapper/$2 /ax/$2



-- 
Paul.
England,
EU.

   Our systems are exclusively Centos. No Micro$oft Windoze here.