Re: bcache crashes at boot time

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

 



On 22 Jun 2017, Eric Wheeler verbalised:
> The physical blocksize must be the same as the cachedev IIRC.  If 4k, use 
> -w 4k in make-bcache.  There's a thread somewhere discussing those 
> details.  

They are both 4096, and my make_bcache line was

make_bcache -B /dev/md/fast -C /dev/ssd2 --block 4096 --bucket 2M --data-offset $((2*30720))

which should be appropriate, I think? (This was my second attempt: I
came out with a number of unprintable words when I found that
make_bcache doesn't try to figure out an appropriate data offset when
used atop a RAID array, so the default options misalign the entire
thing.)

(Something I didn't make clear enough is that there there were several
successful restarts and remounts before the failed one.)

This is a writethrough cache, so it can't be a writeback problem (thank
goodness).

-- 
NULL && (void)
--
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