Skip to contentSkip to conversation

Thinp: how to enable discards?

DISCUSSION Spelic 1 participant 2 messages Jun 15, 2012 Device mapper

lore
Share & tools
lore

Spelic

author
#0 lore raw

Hello all
I have booted a kernel 3.4.2 and compiled latest LVM2 tools. I have created a thin pool and a thin LV.

in dmesg it says:

[72244.278644] device-mapper: thin: Discard unsupported by data device (dm-1): Disabling discard passdown.

and in fact I cannot discard data on that volume. Not only the passdown doesn't work, but the unmapping doesn't work either. How can I enable this?

Thank you
S.

author
#1 lore raw

I'm sorry, it works, please ignore

Quoted 3 lines · Spelic

...
and in fact I cannot discard data on that volume. Not only the passdown doesn't work, but the unmapping doesn't work either.
...