Re: strange usage stats for thin LV

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

 



On Thu, 8 Nov 2012, Andres Toomsalu wrote:

> Date: Thu, 8 Nov 2012 00:03:15 +0200
> From: Andres Toomsalu <andres@active.ee>
> Reply-To: LVM general discussion and development <linux-lvm@redhat.com>
> To: LVM general discussion and development <linux-lvm@redhat.com>
> Subject: Re:  strange usage stats for thin LV
> 
> Apparently that does not work - FITRIM ioctl not backported to RHEL6 kernel perhaps?
> 
> fstrim -v /backup
> fstrim: /backup: FITRIM ioctl failed: Operation not supported
> 
> df -h
> /dev/mapper/VolGroupL0-thin_backup 591G  104G  458G  19% /backup
> 
> mount (added discard option today)
> /dev/mapper/VolGroupL0-thin_backup on /backup type ext4 (rw,discard)
> 
> Cheers,

Hi,

can you please check if the device *really* support discard ? What
is the output of

grep . /sys/block/<device>/queue/discard_*


<device> is whatever /dev/mapper/VolGroupL0-thin_backup is pointing
to.

Thanks!
-Lukas

_______________________________________________
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