All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] change passphrase
@ 2014-04-01 19:02 Biltong
  2014-04-01 21:21 ` Heiko Rosemann
  0 siblings, 1 reply; 3+ messages in thread
From: Biltong @ 2014-04-01 19:02 UTC (permalink / raw)
  To: dm-crypt

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-02  9:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01 19:02 [dm-crypt] change passphrase Biltong
2014-04-01 21:21 ` Heiko Rosemann
2014-04-02  9:41   ` Sven Eschenberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.