Re: lvmtrim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 19, 2011 at 02:48:20PM +0200, Yann Droneaud wrote:
> Is there any tool for LVM like fstrim(8) (which would likely be called
> "lvmtrim") ?
 
vgtrim

> This tool would discard currently unused PE of an active VG like
> fstrim(8) is doing on ext4,btrfs,xfs blocks (depending on filesystem
> support).

Sounds a reasonable idea to me, although I question how the PEs that
would benefit from it would have got into that state in the first place,
given that lvreduce already has trim support if you had
devices/issue_discards = 1 in your lvm.conf.
 
Alasdair

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux