From: Milan Broz <mbroz@redhat.com>
To: Nils Radtke <lkml@Think-Future.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: cryptsetup + lvm on usb disk, unusable /dev/dm-* after suspend/resume cycle
Date: Sun, 25 Jul 2010 23:00:49 +0200 [thread overview]
Message-ID: <4C4CA601.6020201@redhat.com> (raw)
In-Reply-To: <20100725160641.GK31966@localhost>
On 07/25/2010 06:06 PM, Nils Radtke wrote:
> Using an external usb 2 hdd with recent kernels with cryptsetup containers that
> contain lvm volumes.
>
> After a suspend/resume cycle, with active lvm volumes, the mounted fs is "offline",
> the dm-* devices don't respond to commands issued. No more access possible.
>
> Have to reboot to free the devices.
I guess it is not dm/block layer problem but USB related - can you check syslog if
the device is not attached after resume with another major:minor?
If this happens - you can free the mappings using dmsetup:
- try to force umount fs (if mounted), then run "dmsetup table" and manually remove
orphaned mappings using "dmsetup remove".
Milan
next prev parent reply other threads:[~2010-07-25 21:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-25 16:06 cryptsetup + lvm on usb disk, unusable /dev/dm-* after suspend/resume cycle Nils Radtke
2010-07-25 21:00 ` Milan Broz [this message]
2010-07-26 13:06 ` Nils Radtke
2010-07-26 13:22 ` Milan Broz
2010-07-26 15:56 ` Nils Radtke
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=4C4CA601.6020201@redhat.com \
--to=mbroz@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@Think-Future.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox