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: Sun, 01 Sep 2013 21:46:39 +0200 [thread overview]
Message-ID: <5223999F.2050508@gmail.com> (raw)
In-Reply-To: <52238303.6040509-J5qI5MFTcs8@public.gmane.org>
> Hello there. I'm not sure if this is the appropriate venue, so please
> let me know if this information should be somewhere else. I have
> configured a Debian 7.0 installation on a Dell Inspiron 17R SE laptop
> to use a bcache root device. The previous known working configuration
> for the laptop was:
>
> /dev/sda (1TB HDD)
> ...
> /dev/sda7 (used as LUKS encrypted volume)
> /dev/mapper/sda7_crypt (used as LVM PV)
> /dev/vg0/home
> /dev/vg0/root
> ...
> /dev/sda8 (used as ext3 /boot)
>
> The new configuration is
>
> /dev/sda (1TB HDD)
> ...
> /dev/sda7 (used as bcache backing device)
> /dev/bcache0 (used as LUKS encrypted volume)
> /dev/mapper/bcache_crypt (used as LVM PV)
> /dev/vg0/home
> /dev/vg0/root
> ...
> /dev/sda8 (used as ext3 /boot)
> /dev/sdb (32GB SSD)
> ...
> /dev/sdb3 (used as bcache caching device)
>
> In order to get things booting, I also:
>
> * Installed a Linux 3.10 kernel from wheezy-backports (3.10-0.bpo.2-686-pae)
> * Obtained a copy of the bcache-tools source from the git repo and compiled it
> * Constructed a Debian package for bcache-tools using checkinstall
> * Because udev recognition wasn't enough at boot time, added a script
> /etc/initramfs-tools/scripts/init-premount/z-bcache which looks like this:
Just addressing the udev part; could you check with wipefs (nondestructive with no flags)
that /dev/sda7 doesn't have an old non-bcache superblock?
There's been a transitional period when udev rules were stricter than what make-bcache
created, which will be fixed with the patch at https://github.com/g2p/bcache-tools/commits.
next prev parent reply other threads:[~2013-09-01 19:46 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 [this message]
[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
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=5223999F.2050508@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