Skip to contentSkip to conversation

Discard of Volume Group free space

linux-lvm [email protected] 1 participant 1 message Aug 13, 2013

lore
Share & tools
lore
#0 lore raw

Hi all,
I have a question about discard (trim) feature and LVM2.

I wonder if there is a method to issue a discard (trim) operation on all free space inside a Volume Group (ie: in space not allocated to any LV).

My current understanding is that I can accomplish this by enabling the "issue_discard" parameter and then creating/removing a logical volume inside the target VG. Is this right? It can be accomplished in a simpler manner?

Regards.