{"id":755,"date":"2009-09-28T07:51:53","date_gmt":"2009-09-27T21:51:53","guid":{"rendered":"http:\/\/nsrd.wordpress.com\/?p=755"},"modified":"2009-09-28T07:51:53","modified_gmt":"2009-09-27T21:51:53","slug":"routine-filesystem-checks-on-disk-backup-units","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/","title":{"rendered":"Routine filesystem checks on disk backup units"},"content":{"rendered":"<p>On Linu, filesystems typically have two settings regarding getting complete checks on boot. These are:<\/p>\n<ul>\n<li>Maximum number of mounts before a check<\/li>\n<li>Interval between checks<\/li>\n<\/ul>\n<p>The default settings, while reasonably suitable for smaller partitions, are very unsuitable for large partitions, such as what you find in disk backup units. In fact, if you don&#8217;t pay particular attention to these settings, you may find after a routine reboot that your backup server (or storage node) can take hours to become available. For instance, it&#8217;s not unheard of to see even sub-20TB DBU environments (as say, 10 x 2TB filesystems) take several <em>hours<\/em> to complete mandatory checks on filesystems after what should have just been a routine reboot.<\/p>\n<p>There are two approaches that you can take to this:<\/p>\n<ul>\n<li>If you want to leave the checks enabled, it&#8217;s reasonably imperative to ensure that at most only one disk backup unit filesystem will be checked at one time after a reboot; this will at least reduce the size of any check-on-reboot. Thus, ensure you:\n<ul>\n<li>Configure each filesystem so that it will have a different number of maximum mounts before check than any other filesystem, <em>and<\/em>,<\/li>\n<li>Configure the interval (days) between checks for each filesystem to be a <em>significantly <\/em>different number.<\/li>\n<\/ul>\n<\/li>\n<li>If you don&#8217;t want periodic filesystem checks to ever interfere with the reboot process, you need to:\n<ul>\n<li>Ensure that following a non-graceful restart of the server the DBU filesystems are unmounted and checked <em>before<\/em> any new backup or recovery activities are done, <em>and<\/em>,<\/li>\n<li>Ensure that there are processes &#8211; planned maintenance windows if you will &#8211; for manual running of the filesystem checks that are being skipped.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Neither option is particularly &#8220;attractive&#8221;. In the first case, you can still, if you cherish uptime or don&#8217;t need to reboot your backup server often, get into a situation where multiple filesystems need to be checked on reboot if they&#8217;ve all exceeded their days-between-checks parameter. In the second instance, you&#8217;re having to insert human driven processes into what should normally be a routine operating system function. In particular with the manual option, there must be a process in place to NetWorker shutdown + checking <em>even in the middle of the night if an OS crash occurs<\/em>.<\/p>\n<p>Actually, the above list is a little limited &#8211; there&#8217;s a couple of other options that you can consider as well &#8211; though they&#8217;re a little more left of field:<\/p>\n<ul>\n<li>Build into the change control process the timings for complete filesystem checks <em>in case they happen<\/em>, <em>or<\/em><\/li>\n<li>Build into the change control process or reboot procedure for the backup server\/storage nodes the requirement to temporarily disable filesystem checks (using say, tune2fs) so that you <em>know<\/em> the reboot to be done won&#8217;t be costly in terms of time.<\/li>\n<\/ul>\n<p>Personally, I&#8217;m looking forward to <a title=\"btrfs Wiki\" href=\"http:\/\/btrfs.wiki.kernel.org\/index.php\/Main_Page\" target=\"_blank\">btrfs<\/a> &#8211; in reality, a modern filesystem such as that should solve most, if not all, of the problems discussed above.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On Linu, filesystems typically have two settings regarding getting complete checks on boot. These are: Maximum number of mounts before&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},"categories":[15,16],"tags":[258,1248,1249,732,786],"class_list":["post-755","post","type-post","status-publish","format-standard","hentry","category-linux","category-networker","tag-crash","tag-linux","tag-networker","tag-performance","tag-reboot"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Preston de Guise\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Data Protection Hub | All things Data Protection\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Routine filesystem checks on disk backup units | Data Protection Hub\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-09-27T21:51:53+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-09-27T21:51:53+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Routine filesystem checks on disk backup units | Data Protection Hub\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#article\",\"name\":\"Routine filesystem checks on disk backup units | Data Protection Hub\",\"headline\":\"Routine filesystem checks on disk backup units\",\"author\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Preston de Guise\"},\"datePublished\":\"2009-09-28T07:51:53+10:00\",\"dateModified\":\"2009-09-28T07:51:53+10:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#webpage\"},\"articleSection\":\"Linux, NetWorker, crash, Linux, NetWorker, performance, reboot\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/nsrd.info\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"Linux\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/linux\\\/#listItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/linux\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#listItem\",\"name\":\"Routine filesystem checks on disk backup units\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#listItem\",\"position\":3,\"name\":\"Routine filesystem checks on disk backup units\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/linux\\\/#listItem\",\"name\":\"Linux\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#person\",\"name\":\"Preston de Guise\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Preston de Guise\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\",\"url\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/\",\"name\":\"Preston de Guise\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Preston de Guise\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#webpage\",\"url\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/\",\"name\":\"Routine filesystem checks on disk backup units | Data Protection Hub\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/09\\\/28\\\/routine-filesystem-checks-on-disk-backup-units\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\"},\"datePublished\":\"2009-09-28T07:51:53+10:00\",\"dateModified\":\"2009-09-28T07:51:53+10:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/\",\"name\":\"Data Protection Hub\",\"description\":\"All things Data Protection\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Routine filesystem checks on disk backup units | Data Protection Hub","description":"","canonical_url":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#article","name":"Routine filesystem checks on disk backup units | Data Protection Hub","headline":"Routine filesystem checks on disk backup units","author":{"@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author"},"publisher":{"@id":"https:\/\/nsrd.info\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Preston de Guise"},"datePublished":"2009-09-28T07:51:53+10:00","dateModified":"2009-09-28T07:51:53+10:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#webpage"},"isPartOf":{"@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#webpage"},"articleSection":"Linux, NetWorker, crash, Linux, NetWorker, performance, reboot"},{"@type":"BreadcrumbList","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog#listItem","position":1,"name":"Home","item":"https:\/\/nsrd.info\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/category\/linux\/#listItem","name":"Linux"}},{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/category\/linux\/#listItem","position":2,"name":"Linux","item":"https:\/\/nsrd.info\/blog\/category\/linux\/","nextItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#listItem","name":"Routine filesystem checks on disk backup units"},"previousItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#listItem","position":3,"name":"Routine filesystem checks on disk backup units","previousItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/category\/linux\/#listItem","name":"Linux"}}]},{"@type":"Person","@id":"https:\/\/nsrd.info\/blog\/#person","name":"Preston de Guise","image":{"@type":"ImageObject","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Preston de Guise"}},{"@type":"Person","@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author","url":"https:\/\/nsrd.info\/blog\/author\/nsrd\/","name":"Preston de Guise","image":{"@type":"ImageObject","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Preston de Guise"}},{"@type":"WebPage","@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#webpage","url":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/","name":"Routine filesystem checks on disk backup units | Data Protection Hub","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/nsrd.info\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/#breadcrumblist"},"author":{"@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author"},"creator":{"@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author"},"datePublished":"2009-09-28T07:51:53+10:00","dateModified":"2009-09-28T07:51:53+10:00"},{"@type":"WebSite","@id":"https:\/\/nsrd.info\/blog\/#website","url":"https:\/\/nsrd.info\/blog\/","name":"Data Protection Hub","description":"All things Data Protection","inLanguage":"en-US","publisher":{"@id":"https:\/\/nsrd.info\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Data Protection Hub | All things Data Protection","og:type":"article","og:title":"Routine filesystem checks on disk backup units | Data Protection Hub","og:url":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/","article:published_time":"2009-09-27T21:51:53+00:00","article:modified_time":"2009-09-27T21:51:53+00:00","twitter:card":"summary","twitter:title":"Routine filesystem checks on disk backup units | Data Protection Hub"},"aioseo_meta_data":{"post_id":"755","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 05:17:24","updated":"2025-07-20 04:26:23","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/nsrd.info\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/nsrd.info\/blog\/category\/linux\/\" title=\"Linux\">Linux<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRoutine filesystem checks on disk backup units\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/nsrd.info\/blog"},{"label":"Linux","link":"https:\/\/nsrd.info\/blog\/category\/linux\/"},{"label":"Routine filesystem checks on disk backup units","link":"https:\/\/nsrd.info\/blog\/2009\/09\/28\/routine-filesystem-checks-on-disk-backup-units\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-cb","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/755","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=755"}],"version-history":[{"count":0,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/755\/revisions"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}