g2p / blocks

Enable bcache or LVM on existing block devices
GNU General Public License v3.0
376 stars 43 forks source link

[Resolved] Manual steps to convert LVM LV to bcache #40

Open HaleTom opened 5 years ago

HaleTom commented 5 years ago

Given that this project seems unmaintaned, I wrote a guide on how to do a manual LV to bcache conversion:

https://unix.stackexchange.com/questions/552335/convert-existing-lvm-lv-to-bcache-backing-device

HaleTom commented 5 years ago

Please keep this issue "open" until blocks is working again... and cheers for the idea that I got by reading the source code!

unfa commented 3 years ago

I'd love to know how to do this for a raw device/parition as well.

cristim commented 1 year ago

@HaleTom, I just tested blocks and it works after this one-liner change available from this fork.

I tested it with lvm so far and works pretty well.