Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Tue, 1 Apr 2014 21:07:59 +0200 (CEST) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 5B4A121427 for ; Tue, 1 Apr 2014 15:02:42 -0400 (EDT) Message-Id: <1396378962.7061.101552289.658497F8@webmail.messagingengine.com> From: Biltong MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Date: Tue, 01 Apr 2014 21:02:42 +0200 Subject: [dm-crypt] change passphrase List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de I have a raid-1 system running btrfs on top of luks. I cannot remember my passphrase, but the system is running and I have made a backup. I'd like to add a new passphrase, and have followed the instructions from 6.10 at http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions#6._Backup_and_Data_Recovery This worked for the first device, which seems to work with /dev/dm-0, but I cannot work out what the device name for the second raid-1 member is. The btrfs partition is on top of the luks device, and so I need to change both. The example shows: dmsetup table --target crypt --showkey /dev/mapper/c5 How do I know what to put in place of "/dev/mapper/c5"? Many thanks. -- Biltong biltong@fastmail.fm -- http://www.fastmail.fm - Send your email first class