FYI: better workaround for updating 'df' info after 'rm' on xfs-vols

Linda Walsh xfs at tlinx.org
Mon Feb 25 23:47:38 CST 2013


>> Someone suggested cat [1|3] >/proc/sys/vm/drop_caches.
> 
> echo, not cat. It does work every time, whether you see anything
> obvious or not. And if you want to reclaim inodes, then you want
> "echo 2 > ..."
----
	Erk...meant echo... too much draino on the braino
(doesn't 3 include '2'? I thought it was a bit mask?)



> freeze/thaw should do what you want without affecting anything
> running on the fs at all.
---
	Thanks... will have to remember / script that ..
Have seen the space not drop for hours!....(literally)..



More information about the xfs mailing list