persistent value of tunables for dmsetup --target=cache ?
Hello,
how do I ensure that the tunable (for eg. dmsetup message vg02-jetcache_lv 0 write_promote_adjustment 0) will remain the same value even after reboot?
Seems like the tunables values reset to earlier values upon reboot of the machine.
Help! :)
Dne 21.4.2015 v 10:58 nikhil napsal(a):
Quoted 9 lines
Hello,
how do I ensure that the tunable (for eg. dmsetup message vg02-jetcache_lv 0
write_promote_adjustment0) will remain the same value even after reboot?Seems like the tunables values reset to earlier values upon reboot of the machine.
Help! :)
By using them, when you create/load dm table for your cache target.
Zdenek
Quoted 6 lines · Zdenek Kabelac
Dne 21.4.2015 v 10:58 nikhil napsal(a):
Quoted 5 lines
Hello,
how do I ensure that the tunable (for eg. dmsetup message vg02-jetcache_lv 0
write_promote_adjustment0) will remain the same value even after reboot?
Quoted 7 lines
Quoted 4 lines
Seems like the tunables values reset to earlier values upon reboot of the machine.
Help! :)
By using them, when you create/load dm table for your cache target.
Best to use lvm2 to create/configure/tune dm-cache. Otherwise, if you're just using the dmsetup interface directly you won't have your tunings persist.