On 23/11/2020 19:23, Sreyan Chakravarty wrote:
On Mon, 23 Nov 2020, 3:07 pm Ed Greshko, <ed.greshko(a)greshko.com
<mailto:ed.greshko@greshko.com>> wrote:
Ahhh, never mind. It may be useful/supported with thin LV.
Can someone tell me why these commands are useful ?
Does thin LVMs have problems deleting data?
No. I think you need to check out
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/...
to see the use cases
for thin-provisioned lvm storage.
What I see as a key phrase in that document is:
To make sure that all available space can be used, LVM supports data discard. This allows
for re-use of the space that was formerly used by a discarded file or other block range.
And that would be when "fstrim" would be useful.
---
The key to getting good answers is to ask good questions.