Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using dm-writeboost with lvmthin #209

Open
justnx opened this issue Feb 11, 2020 · 4 comments
Open

Using dm-writeboost with lvmthin #209

justnx opened this issue Feb 11, 2020 · 4 comments

Comments

@justnx
Copy link

justnx commented Feb 11, 2020

Hi,

good project so far. I really like your approach.

I want you to ask if it's out of the box possible to use dm-writeboost in combination with lvm or lvmthin. I had no luck so far. So any hints for doing this would be very nice.

@akiradeveloper
Copy link
Owner

@justnx Yes, you can. You can use lvm devices as either underlying device and that's actually the way I test this driver.

@akiradeveloper
Copy link
Owner

I don't know what you guys are trying to do. LVM device is just a DM device that's managed by tool called LVM. Since stacking DM devices is valid. There is nothing you have to do any more.

This might help: dm-writeboost can't be managed by LVM and there is no plan to do so. Instead users manage dm-writeboost by other userland tools. All you can do is creating LVM devices and then create WB device using them and the opposite is impossible because LVM devices are created at boot time. So, it you are trying to stack some LVM device (like dm-thin) above WB device this would be failure because the WB device is no where to be seen at the momemt.

@justnx
Copy link
Author

justnx commented Feb 13, 2020

Hmm i'm wondering how is lvmcache with dm-cache doing this.
Cant we just use dm-writeboost as an replacement of dm-cache for such purposes?

@bash99
Copy link

bash99 commented May 23, 2020

@akiradeveloper dm-writeboost under lvm-thin can be used in KVM host, all vm can have a performance-boost thin provisioning storage. otherwise you have to set it up one by one.
Another choice is use qcow2 format on dm-writeboost backed file-system, but it's not as fast as raw device on lvm-thin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants