Changes

Jump to navigation Jump to search
125 bytes added ,  23:35, 14 May 2019
umount /dev/md0
Wipe the both m.2and the RAID5 array:
wipefs -a /dev/nvme0n1p1
wipefs -a /dev/md0
Make the bcache, formatting both drives (md0 as backing, m.2 as cache). Note that when you do it one command the assignment is automatic.
make-bcache -B /dev/md0 -C /dev/nvme0n1p1
Note: if If you screw up - , cd to /sys/fs/bcache/whatever and then ls -l cache0. If there is an entry in there echo 1 > stop. This unregisters the cacheand should let you start over.
Check it the new bcache array is there, format it and mount it:
ls /dev/bcache*
mkfs.ext4 /dev/bcache0
UUID=4c63f20b-ad35-477d-bfaa-82571beba841 /bulk ext4 rw 0 0
And update your boot image (might not be necessary?) and give it a reboot to check it the new bcache array comes back up ok!:
update-initramfs -u
shutdown -r now

Navigation menu