All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erik Logtenberg <erik@logtenberg.eu>
To: dm-crypt@saout.de
Subject: [dm-crypt] Device $dev is not a valid LUKS device.
Date: Mon, 04 Mar 2013 13:58:31 +0100	[thread overview]
Message-ID: <51349A77.4070709@logtenberg.eu> (raw)

Hi all,

I've been using dm-crypt for quite some years now, and every now and
then I am very unpleasantly surprised by the message that my entire
volume can no longer be read:

Device /dev/disk/by-path/ip-foo.bar:mainstorage-lun-1 is not a valid
LUKS device.

In this case the iscsi server was rebooted while the volume was still
mounted. The volume is used for making backups and no backups were
currently made, so no actual writes got lost. Nevertheless after reboot
it no longer recognizes my luks volume.

I've had this kind of malice before and at that time was unable to fix
it. So in the end I gave up, created a new luks volume and started from
scratch.

However I hope that is not how every future power failure is going to
end up. Is there anything I can do to fix this volume or anything I can
do to prevent such a simple event from causing such catastrophic results?

Kind regards,

Erik.

             reply	other threads:[~2013-03-04 13:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04 12:58 Erik Logtenberg [this message]
2013-03-04 14:04 ` [dm-crypt] Device $dev is not a valid LUKS device Arno Wagner
2013-03-04 14:18   ` Erik Logtenberg
2013-03-04 14:36     ` Erik Logtenberg
2013-03-04 14:36     ` Arno Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51349A77.4070709@logtenberg.eu \
    --to=erik@logtenberg.eu \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.