{"id":3292,"date":"2014-07-02T09:57:16","date_gmt":"2014-07-02T01:57:16","guid":{"rendered":"http:\/\/rmohan.com\/?p=3292"},"modified":"2014-07-02T09:57:16","modified_gmt":"2014-07-02T01:57:16","slug":"ext3-fs-error-device-hda3-in-start_transaction-journal-has-aborted","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=3292","title":{"rendered":"EXT3-fs error (device hda3) in start_transaction: Journal has aborted"},"content":{"rendered":"<header class=\"entry-header\">\n<h1 class=\"entry-title\">EXT3-fs error (device hda3) in start_transaction: Journal has aborted<\/h1>\n<p class=\"entry-meta\"><span class=\"entry-comments-link\">\u00a0<\/span><\/p>\n<\/header>\n<div class=\"entry-content\">\n<p>If your system abruptly loses power, or if a RAID card is beginning to fail, you might see an ominous message like this within your logs:<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"html\" style=\"font-family: monospace;\">EXT3-fs error (device hda3) in start_transaction: Journal has aborted<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Basically, the system is telling you that it\u2019s detected a filesystem\/journal mismatch, and it can\u2019t utilize the journal any longer. When this situation pops up, the filesystem gets mounted read-only almost immediately. To fix the situation, you can remount the partition as ext2 (if it isn\u2019t your active root partition), or you can commence the repair operations.<\/p>\n<p>If you\u2019re working with an active root partition, you will need to boot into some rescue media and perform these operations there. If this error occurs with an additional partition besides the root partition, simply unmount the broken filesystem and proceed with these operations.<\/p>\n<p>Remove the journal from the filesystem (effectively turning it into ext2):<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"html\" style=\"font-family: monospace;\"># tune2fs -O ^has_journal \/dev\/hda3<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Now, you will need to fsck it to correct any possible problems (throw in a -y flag to say yes to all repairs, -C for a progress bar):<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"html\" style=\"font-family: monospace;\"># e2fsck \/dev\/hda3<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Once that\u2019s finished, make a new journal which effectively makes the partition an ext3 filesystem again:<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"html\" style=\"font-family: monospace;\"># tune2fs -j \/dev\/hda3<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>You should be able to mount the partition as an ext3 partition at this time:<\/p>\n<div class=\"wp_syntax\">\n<table>\n<tbody>\n<tr>\n<td class=\"code\">\n<pre class=\"html\" style=\"font-family: monospace;\"># mount -t ext3 \/dev\/hda3 \/mnt\/fixed<\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Be sure to check your dmesg output for any additional errors after you\u2019re finished!<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p> EXT3-fs error (device hda3) in start_transaction: Journal has aborted <\/p>\n<p class=\"entry-meta\">\n<p>If your system abruptly loses power, or if a RAID card is beginning to fail, you might see an ominous message like this within your logs:<\/p>\n<p> EXT3-fs error (device hda3) in start_transaction: Journal has aborted <\/p>\n<p>Basically, the system is telling you that [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3292"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3292"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3292\/revisions"}],"predecessor-version":[{"id":3293,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3292\/revisions\/3293"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}