I have set up /dev/sda3
on my SSD to cache /dev/sdb3
on my HDD as /dev/bcache0
using bcache in Ubuntu 13.10 (kernel 3.11.0-14-generic). I have formatted it as ext4
.
I currently mount /
(on my SSD) and /home
(bcache) using these fstab
options
# / (root) -> /dev/sda2 (SSD)
UUID={uuid for /dev/sda2} / ext4 discard,noatime,nodiratime,errors=remount-ro 0 1
# /home -> { /dev/bcache0 -> { /dev/sda3 -> /dev/sdb3 } }
UUID={uuid for /dev/bcache0} /home ext4 defaults 0 2
What I am wondering is if any mount options (e.g. discard (TRIM), noatime, etc) are useful when mounting bcache, or if bcache its self takes care of optimising the filesystem for the SSD and HDD partitions.
Please let me know if I have not made my question clear, thanks.