Skip to content

Instantly share code, notes, and snippets.

@vijinho
Created September 4, 2020 19:02
Show Gist options
  • Save vijinho/e3918009e8bf83a9349dfe4396afb4bb to your computer and use it in GitHub Desktop.
Save vijinho/e3918009e8bf83a9349dfe4396afb4bb to your computer and use it in GitHub Desktop.
defrag ext4 filesystem
umount $1
fsck.ext4 -v -F -f -p -D -E inode_count_fullmap,optimize_extents, $1
mount $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment