Debugging fstrim issues

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

 



Hi,

I don't know if this is strictly a Ceph issue, but hoping someone will be able to shed some light.   We have an Openstack environment (Ocata) backed onto a Jewel cluster.

We recently ran into some issues with full OSDs but couldn't work out what was filling up the pools.

It appears that fstrim isn't actually working (or being ignored) within the instances:

[centos@with ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       8.0G  1.2G  6.9G  14% /

plenty of unused space that can be reclaimed:

running fstrim:
[centos@with ~]$ sudo fstrim -a -v
/: 6.9 GiB (7416942592 bytes) trimmed

however, running the command again:

[centos@with ~]$ sudo fstrim -a -v
/: 6.9 GiB (7416942592 bytes) trimmed

The discard option was enabled following:
https://ceph.com/geen-categorie/openstack-and-ceph-rbd-discard/

Have I missed anything at the Ceph layer to enable this?   Is there anything I can do to see if the request is making it's way through to the Ceph layer?



--
Nathan Harper // IT Systems Lead

e: nathan.harper@xxxxxxxxxxx   t: 0117 906 1104  m:  0787 551 0891  w: www.cfms.org.uk  
CFMS Services Ltd // Bristol & Bath Science Park // Dirac Crescent // Emersons Green // Bristol // BS16 7FR 
 
CFMS Services Ltd is registered in England and Wales No 05742022 - a subsidiary of CFMS Ltd 
CFMS Services Ltd registered office // 
43 Queens Square // Bristol // BS1 4QP
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux