[linux-lvm] Howto change cachepolicy on cached thinpool devices?

Oliver Rath rath at mglug.de
Mon May 15 20:10:26 UTC 2017


Hi David!

On 15.05.2017 18:02, David Teigland wrote:
[..]
> Thanks, this is fixed here
> https://sourceware.org/git/?p=lvm2.git;a=commit;h=5406191cb9112dea6d8a618ae1da815f816291f6
> 

Thanks for fixing this! Ive tried to change now to cleaner policy, which
works fine now:

# lvchange --cachepolicy cleaner /dev/mapper/dmivg-winthinpool_tdata
  Logical volume dmivg/winthinpool_tdata changed.

Also going back to smq works:

# lvchange --cachepolicy smq /dev/mapper/dmivg-winthinpool_tdata
  Logical volume dmivg/winthinpool_tdata changed.

Thank you very much for the quick fix!

Regards,
Oliver




More information about the linux-lvm mailing list