{"id":784,"date":"2009-08-02T09:55:49","date_gmt":"2009-08-01T23:55:49","guid":{"rendered":"http:\/\/nsrd.wordpress.com\/?p=784"},"modified":"2018-12-12T15:51:45","modified_gmt":"2018-12-12T05:51:45","slug":"aside-the-scourge-of-filesystems","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2009\/08\/02\/aside-the-scourge-of-filesystems\/","title":{"rendered":"Aside &#8211; The scourge of filesystems"},"content":{"rendered":"<p>This morning I had to replace half of a mirror in my Linux server, which being a home server, meant needing to reboot. (Of course I&#8217;d love a server with hot-swappable drives, but I suspect both my partner and I might find the noise of such a server somewhat overwhelming for combination computer-room\/office.)<\/p>\n<p>So I shutdown the virtual machines running on the HP ML110 G4 (running VMware Server), shutdown the server itself, swapped the drives and rebooted. I promised my partner that internet access would only be down for about 15 minutes, so of course Murphy decided to play a visit.<\/p>\n<p>&#8220;Warning, \/dev\/sdc1 has not been checked in 191 days. Check forced.&#8221;<\/p>\n<p>And wouldn&#8217;t you know it, \/dev\/sdc1 is 917GB, so the check took quite a lot longer than 15 minutes. It&#8217;s running on ext3, so checking is required less frequently, but I&#8217;m still paranoid enough that for the data housed on that particular filesystem, I&#8217;d rather not turn checking off altogether. (That filesystem isn&#8217;t mirrored, due to transient data on it.)<\/p>\n<p>Having only just read about <a title=\"btrfs\" href=\"http:\/\/btrfs.wiki.kernel.org\/index.php\/Main_Page\" target=\"_blank\">btrfs<\/a>, an upcoming filesystem for Linux, the lengthy delay-on-boot caused by a &#8220;large&#8221; filesystem check was acutely hammered home. Amongst other things, btrfs promises online checks of the filesystem, as well as fast offline checks of the filesystem \u2013 something every storage administrator and system administrator wants. We <em>are<\/em> at the point where filesystem capacities are routinely too large for conventional exhaustive checks. Many more modern filesystems have already achieved this (e.g., ZFS, VxFS, etc.), but it&#8217;s a relief to know that such advances are coming, and coming with corporate sponsorship, to Linux.<\/p>\n<p>For an excellent overview of btrfs, check out <a title=\"A short history of btrfs\" href=\"http:\/\/lwn.net\/Articles\/342892\/\" target=\"_blank\">this short history<\/a> published on Linux Weekly News.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This morning I had to replace half of a mirror in my Linux server, which being a home server, meant&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_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}},"categories":[4],"tags":[180,376,396],"class_list":["post-784","post","type-post","status-publish","format-standard","hentry","category-aside","tag-btrfs","tag-ext3","tag-fsck"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-cE","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=784"}],"version-history":[{"count":1,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/784\/revisions"}],"predecessor-version":[{"id":7627,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/784\/revisions\/7627"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}