From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from belug.de (belug.de [217.197.83.44]) by mail.server123.net (Postfix) with ESMTP for ; Sat, 28 Mar 2015 14:11:13 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by belug.de (Postfix) with ESMTP id 114F2400D258 for ; Sat, 28 Mar 2015 14:06:06 +0100 (CET) Received: from belug.de ([127.0.0.1]) by localhost (belug.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RBuj1GTdL8sn for ; Sat, 28 Mar 2015 14:05:59 +0100 (CET) Received: from zarafa.belug.de (zarafa.belug.lan [192.168.1.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by belug.de (Postfix) with ESMTPS id 60386400A1BE for ; Sat, 28 Mar 2015 14:05:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zarafa.belug.lan (Postfix) with ESMTP id 0E75F80C6A for ; Sat, 28 Mar 2015 14:05:59 +0100 (CET) Received: from zarafa.belug.de ([127.0.0.1]) by localhost (zarafa.belug.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4tbUhOK3mz1T for ; Sat, 28 Mar 2015 14:05:58 +0100 (CET) Received: from [192.168.1.101] (p549B6623.dip0.t-ipconnect.de [84.155.102.35]) by zarafa.belug.lan (Postfix) with ESMTPSA id 8A09680C59 for ; Sat, 28 Mar 2015 14:05:58 +0100 (CET) Message-ID: <5516A735.20705@belug.de> Date: Sat, 28 Mar 2015 14:05:57 +0100 From: "rainer.herrendoerfer" MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [dm-crypt] Partitions on top of LUKS encrypted HD not recognized by kernel List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hello list, I'm experimenting with LUKS on a Gentoo-Box. I luksFormat'ted the whole harddisk /dev/sda and luksOpen'ed as gentoo, so it appeared as /dev/mapper/gentoo. So far so good. When I use LVM and take it as a physical volume and set up VGs and LVs they appear in /dev/mapper automatically. But when trying to use normal partitions instead of LVM, parted can mklabel and mkpart but gets a warning that the new partitions are not known by the kernel and indeed, they don't appear in /dev/mapper. I need to run 'kpartx -av gentoo' that they appear in /dev/mapper and then they are normally usable. When trying to luksClose them after unmounting them they are 'still in use' until I make the kernel to forget them by 'kpartx -d /dev/mapper/gentoo'. So is using partitioning on fully encrypted harddisks not supported by LUKS at all? Or just a bug in the current version used by Gentoo which is 1.6.5? Thanks in advance ®ainer