From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v2CLc8FsZg8w for ; Thu, 21 Feb 2013 23:42:02 +0100 (CET) Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Thu, 21 Feb 2013 23:42:02 +0100 (CET) Received: by mail-ee0-f41.google.com with SMTP id c13so19102eek.28 for ; Thu, 21 Feb 2013 14:42:01 -0800 (PST) Message-ID: <5126A29B.2080604@gmail.com> Date: Thu, 21 Feb 2013 23:41:31 +0100 From: Milan Broz MIME-Version: 1.0 References: <20121129134313.GA14313@citd.de> <50B776CF.60501@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] force luksClose List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Eberhardt Cc: dm-crypt@saout.de, Matthias Schniedermeyer , Milan Broz On 21.2.2013 22:16, Benjamin Eberhardt wrote: > > # cryptsetup luksClose sata_p1_2TBa > Device sata_p1_2TBa is busy. > > no open files on *sata* davice (both device and mountpoint are called the same) > > # lsof |grep sata > # > > blkid doesnt really help me either: > > # lsblk There must be something wrong with that device, it must show in lsblk output (but it is not there). Seems like it is partially removed (empty table) - can you add output of dmsetup table sata_p1_2TBa dmsetup info -c sata_p1_2TBa blockdev --getsz /dev/mapper/sata_p1_2TBa ? (btw another mapping will not show in lsof, but it should be visible in lsblk. If it is reproducible I would like to at least fix lsblk so we have some reliable tool to debug it...) Milan