Re: strange usage stats for thin LV

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

 



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,
-- 
----------------------------------------------
Andres Toomsalu
On 02.11.2012, at 13:20, Zdenek Kabelac wrote:

> Dne 2.11.2012 11:46, Andres Toomsalu napsal(a):
>> Thanks a lot for a detailed explanation - now everything fits into places :)
>> 
>> Some answers:
>> 
>> 1) Filesystem in use is ext4 at all cases
>> 2) Im not using discard option as Im not very aware how to use it  - is it a filesystem mount option for fstab?
>> 3) OS is CentOS 6.3 with RHEL OpenVZ patched kernel (2.6.32-042stab061.2 #1 SMP Fri Aug 24 09:07:21 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux)
>> 
> 
> So check for  'fstrim' command - it's usage is quite simple, and should be already pretty matured tool.
> 
> i.e. you could run it once a week in cron.
> 
> Zdenek
> 
> 
> 


_______________________________________________
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