Forget defrag in Linux, especially with ext4. It is almost a moot issue due to the way Linux file systems are designed and managed. In most cases they pretty much defrag themselves. Your assistance is not required in that process.
I have Linux ext3 file systems that have been used for a couple years on a daily basis that show less than 10% fragmentation, with no intervention from me.