From: Gabriel de Perthuis <g2p.code-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Zachary Palmer <zep_bcache-J5qI5MFTcs8@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Suspend and Hibernation Bugs
Date: Mon, 02 Sep 2013 11:58:43 +0200 [thread overview]
Message-ID: <52246153.2040006@gmail.com> (raw)
In-Reply-To: <5223CA04.4010607-J5qI5MFTcs8@public.gmane.org>
> Interesting; it does indeed have a stale header of some kind:
>
> zpalmer@thirtyseven:~$ sudo blkid /dev/sda7
> /dev/sda7: UUID="b56e8430-2594-436a-9fba-b91617cdaa5e" TYPE="crypto_LUKS"
> zpalmer@thirtyseven:~$ sudo /sbin/wipefs /dev/sda7
> offset type
> ----------------------------------------------------------------
> 0x0 crypto_LUKS [crypto]
> UUID: b56e8430-2594-436a-9fba-b91617cdaa5e
>
> But /dev/sda7 is a bcache backing volume.
>
> zpalmer@thirtyseven:~$ sudo probe-bcache /dev/sda7
> 4b6ead1d-3341-407c-9e16-dd9e639268e4: UUID="" TYPE="bcache"
>
> Doesn't bcache put its superblock in the first part of the block
> device? How is it possible that the device looks like a bcache
> backing volume and a LUKS encrypted volume at the same time? (For the
> record, I know that the LUKS volume identified above is the stale
> one; when I used LVM to move everything around, I created a fresh
> LUKS encrypted volume which has a different UUID than the old one
> shown above.)
>
> Thanks,
The first 4k of the device weren't erased; the bcache superblock comes
after that. Fixed now. You can erase with wipefs -a, and do the same
look/erase thing on /dev/sdb3.
I'm on bcache-for-3.11 which doesn't have shutdown issues.
I see your kernel is based on stable kernel 3.10.4, which backports
a fix for #715019. I'd consider the suspend issue a separate one.
next prev parent reply other threads:[~2013-09-02 9:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-01 18:10 Suspend and Hibernation Bugs Zachary Palmer
[not found] ` <52238303.6040509-J5qI5MFTcs8@public.gmane.org>
2013-09-01 19:46 ` Gabriel de Perthuis
[not found] ` <5223999F.2050508-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-01 23:13 ` Zachary Palmer
[not found] ` <5223CA04.4010607-J5qI5MFTcs8@public.gmane.org>
2013-09-02 9:58 ` Gabriel de Perthuis [this message]
2013-09-02 16:37 ` Darrick J. Wong
[not found] ` <20130902163743.GA14878-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org>
2013-09-02 20:07 ` Zachary Palmer
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=52246153.2040006@gmail.com \
--to=g2p.code-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=zep_bcache-J5qI5MFTcs8@public.gmane.org \
/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