{"id":5136,"date":"2018-02-02T18:47:20","date_gmt":"2018-02-02T18:47:20","guid":{"rendered":"https:\/\/really.zonky.org\/?p=5136"},"modified":"2018-02-02T18:47:20","modified_gmt":"2018-02-02T18:47:20","slug":"mounting-filesystems-late","status":"publish","type":"post","link":"https:\/\/really.zonky.org\/?p=5136","title":{"rendered":"Mounting Filesystems &#8220;Late&#8221;"},"content":{"rendered":"<p>On occasions, I have run into issues where mounting a filesystem from <em>\/etc\/fstab<\/em> fails on a reboot because it depends on something else happening first. The easiest example to recall is when mounting a conventional filesystem constructed from a ZPool block device &#8211; the block device isn&#8217;t ready until ZFS has finished starting which often occurs after the filesystem mounts are attempted.<\/p>\n<p>The fix is dead simple; just add the option &#8220;_netdev&#8221; to the options field in\u00a0<em>\/etc\/fstab<\/em> and the problem is sorted :-<\/p>\n<pre>\/dev\/zvol\/pool1\/vol-splunk      \/opt\/splunk     ext2    noatime,<strong>_netdev<\/strong>         0 2\r\n<\/pre>\n<p>Yes the reason I am using a block device is that Splunk doesn&#8217;t support being installed on a ZFS filesystem.<br \/>\n<img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3904\" src=\"https:\/\/i0.wp.com\/really.zonky.org\/wp-content\/uploads\/damascus-unix-prompt1.png?resize=695%2C463&#038;ssl=1\" alt=\"\" width=\"695\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/really.zonky.org\/wp-content\/uploads\/damascus-unix-prompt1.png?w=792&amp;ssl=1 792w, https:\/\/i0.wp.com\/really.zonky.org\/wp-content\/uploads\/damascus-unix-prompt1.png?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On occasions, I have run into issues where mounting a filesystem from \/etc\/fstab fails on a reboot because it depends on something else happening first. The easiest example to recall is when mounting a conventional filesystem constructed from a ZPool block device &#8211; the block device isn&#8217;t ready until ZFS has finished starting which often <a href='https:\/\/really.zonky.org\/?p=5136' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":2,"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_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":[4,209],"tags":[1689,1688,1687,88],"class_list":["post-5136","post","type-post","status-publish","format-standard","hentry","category-it","category-linux-it","tag-_netdev","tag-etc-fstab","tag-splunk","tag-zfs","category-4-id","category-209-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1f2KI-1kQ","_links":{"self":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts\/5136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5136"}],"version-history":[{"count":1,"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts\/5136\/revisions"}],"predecessor-version":[{"id":5137,"href":"https:\/\/really.zonky.org\/index.php?rest_route=\/wp\/v2\/posts\/5136\/revisions\/5137"}],"wp:attachment":[{"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/really.zonky.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}