Questions tagged [bcache]

Bcache is a Linux kernel block layer cache. It allows one or more fast disk drives such as flash-based solid state drives (SSDs) to act as a cache for one or more slower hard disk drives.

About

Bcache is a Linux kernel block layer cache(hence the name, b lock cache). It allows one or more fast disk drives such as flash-based solid state drives (SSDs) to act as a cache for one or more slower hard disk drives.

It is designed around the performance characteristics of SSDs, minimizing write amplification by never performing random writes and by turning them into sequential writes instead – for both the cache and the primary storage. That helps extending the lifetime of flash-based devices used as caches, and also improves performance of write-sensitive primary storages, like RAID 5.

Links

7 questions
10
votes
3 answers

How to revert bcache device to regular device

I have a 20 gb SSD device on my laptop that i decided to try bcache on. It seemed to work, but for some time now, I've been getting an error on boot: error on 0f3bbb55-6839-4ed6-8127-7976a969f726: corrupted btree at bucket 17571, block 483, 61 keys,…
Greg Michalec
  • 849
  • 3
  • 10
  • 17
1
vote
1 answer

compare B+tree implementation: storing internal nodes on disk

is there any implementation where internal nodes of B+tree is also stored on disk? I am just wondering if any one is aware of such an implementation or see real advantage doing it this way? Normally, one stores the leaf nodes on disk and develop the…
cforfun
  • 135
  • 1
  • 11
0
votes
1 answer

Bcache directory not showing up after make-bcache

I'm setting up bcache on an ubuntu virtual machine on azure. I'm following the instructions from http://blog.rralcala.com/2014/08/using-bcache-in-ec2.html. After running make-bcache -B /dev/sdc1, the /dev/bcache0 device is not yet available. When…
Okke
  • 891
  • 10
  • 13
0
votes
1 answer

Is there anyway to limit writeback rate of bcache

I have installed bcache on ubuntu14.04, 100G ssd, 1T hdd. and I had a performance test with fio randwrite. At beginning, the speed was good, but then it slowed down. I checked the io status with iostat, it showed that data was being written into hdd…
Carl Li
  • 9
  • 3
0
votes
1 answer

how to recover BCACHE from EC2 machine reboot

I installed BCACHE on a m3.large EC2 machine with instance SSD as cache disk and the elastic volume as backing disk. But once I reboot the EC2 machine BCACHE was gone and i cannot access the disk used to be backing drive again. If I detach…
-1
votes
1 answer

Remove a bcache without erasing data

The question is simple (I think), I want to destroy my bcache setup, with is a 4tb hdd with a 16gb ssd as cache. I am wondering if I can safely remove the bcache and revert the two devices back to normal drives without losing any data. I do have…
Nico
  • 24
  • 3
-2
votes
1 answer

How to resize Bcache PV?

I want resize my /dev/bcache0 to full HDD size. But I use resize2fs /dev/bcache0 it tell me: [localhost-PC ~]# resize2fs /dev/bcache0 resize2fs 1.46.2 (28-Feb-2021) resize2fs: Device or resource busy while trying to open /dev/bcache0 Couldn't find…
iHad 169
  • 1,267
  • 1
  • 10
  • 16