{"id":194,"date":"2013-07-08T20:00:00","date_gmt":"2013-07-08T20:00:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2013\/07\/08\/turning-an-ext2-or-ext3-file-system-into-an-ext4-one\/"},"modified":"2013-07-08T20:00:00","modified_gmt":"2013-07-08T20:00:00","slug":"turning-an-ext2-or-ext3-file-system-into-an-ext4-one","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2013\/07\/08\/turning-an-ext2-or-ext3-file-system-into-an-ext4-one\/","title":{"rendered":"turning an &#8220;ext2&#8221; or &#8220;ext3&#8221; file system into an &#8220;ext4&#8221; one"},"content":{"rendered":"<ul>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Ext4\">en.wikipedia.org\/wiki\/Ext4<\/a><\/li>\n<li><a href=\"https:\/\/ext4.wiki.kernel.org\/index.php\/Ext4_Howto#Converting_an_ext3_filesystem_to_ext4\">ext4.wiki.kernel.org\/index.php\/Ext4_Howto#Converting_an_ext3_filesystem_to_ext4<\/a><\/li>\n<\/ul>\n<p><span>root# tune2fs -j \/dev\/sdXY # add an ext3 journal, if we start with ext2<\/span><br \/>\n<span>root#\u00a0tune2fs -O extents,uninit_bg,dir_index<\/span><span>\u00a0<\/span><span>\/dev\/sdXY<\/span><br \/>\n<span>root# e2fsck \u00a0-f \/dev\/sdXY<\/span><span>\u00a0# maybe you want to add \u2026<\/span><br \/>\n<span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# &#8220;-C 0&#8221; : progress bar<\/span><br \/>\n<span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# &#8220;-p&#8221; \u00a0 : automatically repair!<\/span><br \/>\n<span>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# &#8220;-D&#8221; \u00a0 : optimize directories<\/span><\/p>\n<p><span>To be worked on \u2026<\/span>\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>en.wikipedia.org\/wiki\/Ext4 ext4.wiki.kernel.org\/index.php\/Ext4_Howto#Converting_an_ext3_filesystem_to_ext4 root# tune2fs -j \/dev\/sdXY # add an ext3 journal, if we start with ext2 root#\u00a0tune2fs -O extents,uninit_bg,dir_index\u00a0\/dev\/sdXY root# e2fsck \u00a0-f \/dev\/sdXY\u00a0# maybe you want to add \u2026 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0# &#8220;-C 0&#8221; : progress bar \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[666],"tags":[1037],"class_list":["post-194","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-ext4"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-38","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=194"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/194\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}