{"id":377,"date":"2012-08-24T15:06:19","date_gmt":"2012-08-24T15:06:19","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=377"},"modified":"2012-08-24T15:06:19","modified_gmt":"2012-08-24T15:06:19","slug":"vfat-is-not-lvmraid","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=377","title":{"rendered":"VFAT is not LVM\/RAID  &#8211; and a Workaround&#8230;"},"content":{"rendered":"<p>Odd problem with kernel 3.6-rc3 on the Dreamplug&#8230;<\/p>\n<p>I had the usual \/etc\/fstab entry, with both the <em>ext4<\/em> root and <em>vfat<\/em> boot devices configured, but now &#8211; despite LVM \/ RAID not being enabled in the kernel, the init\/systemd process insisted on treating the <em>vfat<\/em> device as a LVM\/RAID device, and failing, and dropping to the &#8217;emergency&#8217; command shell..<\/p>\n<pre>[\u00a0 OK\u00a0 ] Started Wait for storage scan.\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Starting Initialize storage subsystems (RAID, LVM, etc.)...\n[\u00a0 OK\u00a0 ] Started Initialize storage subsystems (RAID, LVM, etc.).\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Starting Initialize storage subsystems (RAID, LVM, etc.)...\n[\u00a0 OK\u00a0 ] Started Initialize storage subsystems (RAID, LVM, etc.).<\/pre>\n<p>long pause&#8230;.\u00a0\u00a0 then:<\/p>\n<pre>[ TIME ] Timed out waiting for device dev-sdb1.device.\n[DEPEND] Dependency failed for \/boot.\n[DEPEND] Dependency failed for Local File Systems.\n[DEPEND] Dependency failed for Mark the need to relabel after reboot.\n[DEPEND] Dependency failed for Relabel all filesystems, if necessary.\n[DEPEND] Dependency failed for D-Bus System Message Bus Socket.\n.........etc........<\/pre>\n<p>&#8230;&#8230;&#8230;.\u00a0\u00a0 and then the emergency command shell..<\/p>\n<p>As this is a -rc release, this may be a bug, or a &#8216;feature&#8217;?\u00a0\u00a0\u00a0 In any case, the workaround is straightforward..\u00a0\u00a0\u00a0 Just flag the <em>vfat<\/em> device as &#8230;noauto.. in fstab:<\/p>\n<pre># cat \/etc\/fstab\nLABEL=dream_root\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ext4\u00a0\u00a0\u00a0 defaults,noatime,nodiratime 1 1\nLABEL=dream_boot\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/boot\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 vfat\u00a0\u00a0\u00a0 defaults<strong>,noauto<\/strong> 0 0\ndevpts\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/dev\/pts\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 devpts\u00a0 gid=5,mode=620\u00a0 0 0\ntmpfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/dev\/shm\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 tmpfs\u00a0\u00a0 defaults\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 0\nproc\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/proc\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 proc\u00a0\u00a0\u00a0 defaults\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 0\nsysfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/sys\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 sysfs\u00a0\u00a0 defaults\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 0<\/pre>\n<p>and then add the mount for \/boot to \/etc\/rc.d\/rc.local (remembering to make it executable..)<\/p>\n<pre># cat \/etc\/rc.d\/rc.local\n#!\/bin\/sh\nmount \/boot<\/pre>\n<p>It doesn&#8217;t matter &#8211; on these systems &#8211; if \/boot is mounted later, in any case, as uImage has already been loaded from the <em>vfat<\/em> partition by U-Boot before the Linux kernel boots&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Odd problem with kernel 3.6-rc3 on the Dreamplug&#8230; I had the usual \/etc\/fstab entry, with both the ext4 root and vfat boot devices configured, but now &#8211; despite LVM \/ RAID not being enabled in the kernel, the init\/systemd process insisted on treating the vfat device as a LVM\/RAID device, and failing, and dropping to the &#8217;emergency&#8217; <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=377\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6,7,10,14,16,19,20],"tags":[136,148,216,252,396,418],"class_list":["post-377","post","type-post","status-publish","format-standard","hentry","category-crash-and-burn","category-dreamplug","category-fedora","category-kernel","category-linux-arm","category-opinion","category-performance-2","tag-dreamplug-2","tag-fail","tag-kernel-3-6-rc3","tag-lvm","tag-vfat","tag-workaround"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=377"}],"version-history":[{"count":0,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/377\/revisions"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}