I recently defragmented my XFS array drives and I thought I'd document the process.   Note: defragmenting takes a long time, so if you decide to do this you should either be working directly on the console (i.e. with a keyboard and monitor attached directly to the system) or via SSH and screen (from the NerdPack plugin).  If someone has success using Shell in a Box let me know, otherwise I recommend you avoid it.     First, I disabled my monthly parity check and Dynamix