From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 28 Aug 2009 15:44:39 +0200 (CEST) Message-ID: <4A97DF3D.6010504@redhat.com> Date: Fri, 28 Aug 2009 15:44:29 +0200 From: Milan Broz MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] Command failed: Can not access device on luksOpen List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Bradley Cc: dm-crypt Paul Bradley wrote: > > Following a power failure and reboot luksOpen is failing for an > encrypted device: > > ~$ sudo cryptsetup luksOpen /dev/satadisks_vg/backup_lv cryptbackup > Command failed: Can not access device > open("/dev/satadisks_vg/backup_lv", > O_RDONLY|O_EXCL|O_SYNC|O_DIRECT|O_LARGEFILE) = -1 EBUSY (Device or > resource busy) This means that device exclusive open failed. Check "dmsetup info" for open count for this device - should be 0. Milan