Defragging ntfs external hard disk from ubuntu

Posted on


I’d like to defrag an external hard disk; it’s formatted as NTFS for compatibility with windows when friends need files off of it. However, I use only ubuntu.

I’ve tried

  • running defraggler under wine
  • Defragging from a windows xp guest under virtual box.

The drive definitely needs it and I don’t have access to a windows computer from which to defrag. Ideas?


Defrag works with VirtualBox as long as you use the closed-source, non-GPL version that has USB passthrough.
The closed source version is free (as in free beer) for personal and educational usage.

You cannot defrag a via the “shared folder” feature because one can’t do filesystem-level operations (like defrag) on a samba network share.

Leave a Reply

Your email address will not be published. Required fields are marked *