Skip to content

Instantly share code, notes, and snippets.

@kzap
Created October 27, 2014 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kzap/e26856adfcc73d8089d7 to your computer and use it in GitHub Desktop.
Save kzap/e26856adfcc73d8089d7 to your computer and use it in GitHub Desktop.
how to recreate a journal
umount /dev/xvdd1 (unmount the partition)
fsck -y /dev/xvdd1 (do an initial file system check)
tune2fs -O ^has_journal /dev/xvdd1 (remove the existing journal)
fsck -y /dev/xvdd1 (do a further file system check)
tune2fs -j /dev/xvdd1 (recreate the journal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment