An update on bcachefs
An update on bcachefs
Posted Jun 1, 2018 23:11 UTC (Fri) by Pc5Y9sbv (guest, #41328)In reply to: An update on bcachefs by meyert
Parent article: An update on bcachefs
You can enjoy the usual benefits of LVM to allocate portions of the SSD or HDD for different purposes, migrating LV content between backing devices, etc. You might make an SSD-only filesystem as well as an SSD-cached filesystem with a larger HDD. You can also drop and add cache on an existing LV without having to reformat the backing filesystem, in case you change your mind about how much SSD to allocate for caching.
I think the cache management commands can be done while a filesystem in the LV is online, but I actually haven't done that yet. I've set up a write-back cached volume using 60GB of SSD for 2TB of nearline disk. My system RAM provides enough buffer cache for reads, so this is mostly to give me a durable write buffer so my programs don't wait for the HDD to complete writes as often.
I'm a little old-fashioned, so I do my RAID mirroring via mdraid and treat those as PVs for LVM. So, I have an SSD mirror backing some small filesystems and cache pool, and an HDD mirror backing bulk filesystems with some cached and some uncached.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
