Re: Suspend and Hibernation Bugs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux