{"id":1602,"date":"2024-09-10T00:05:24","date_gmt":"2024-09-10T05:05:24","guid":{"rendered":"https:\/\/zewwy.ca\/?p=1602"},"modified":"2024-09-10T00:05:24","modified_gmt":"2024-09-10T05:05:24","slug":"pve-hosts-wont-boot-missing-drive","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2024\/09\/10\/pve-hosts-wont-boot-missing-drive\/","title":{"rendered":"PVE Hosts Won&#8217;t Boot, Missing Drive"},"content":{"rendered":"<p>This is pretty dumb&#8230; every other hypervisor I&#8217;ve ever played with, if the boot drive is fine&#8230; the OS boots&#8230; period&#8230;.<\/p>\n<p>Yet the other day I tried to boot my PVE host and it just won&#8217;t boot it would get stuck stating that a datastore (nothing that&#8217;s a dependency for the OS to actually boot) was causing the OS not to boot&#8230;.<\/p>\n<p>I found this PVE thread that was more recent with a comment that worked for the OP.<\/p>\n<p>&#8220;if you created the partition via the gui, we create a systemd-mount unit under \/etc\/systemd\/system<\/p>\n<p>(e.g. mnt-datastore-foo.mount)<\/p>\n<p>you can disable that unit with &#8216;systemctl disable &lt;unit&gt;&#8217;<\/p>\n<p>or delete the file<\/p>\n<p>we&#8217;ll improve the docs in the near future and have planned to make the gui disk management a bit easier in regards to removing\/reusing&#8221;<\/p>\n<p>This was posted in 2021, yet when I checked that path (booting into Recovery mode) it didn&#8217;t contain any file with a ending of .mount&#8230; So not sure what this is about. I did however find this thread which was exactly my problem&#8230; and funny enough the OP literally posted their own answer (which is the answer here as well) and no other comments made on the post, which was created in\u00a0 2018&#8230;<\/p>\n<p><a href=\"https:\/\/forum.proxmox.com\/threads\/reboot-proxmox-host-now-will-not-boot.46467\/\">[SOLVED] &#8211; Reboot Proxmox Host now will not boot | Proxmox Support Forum<\/a><\/p>\n<p>&#8220;So I had upgraded some packages and the proxmox host recommended rebooting the system. After rebooting the system hangs at the screen showing [DEPEND] in yellow for 3 lines:<br \/>\nDependency failed for \/mnt\/Media<br \/>\nDependency failed for local file system<br \/>\nDependency failed for File system check on \/dev\/Data-Storage\/Media<\/p>\n<p>I tried running control-D to continue but it does not continue.<\/p>\n<p>I&#8217;m guessing I need to clean up the entries how can i do that? I&#8217;m assuming I just need to boot into emergency and edit \/etc\/fstab and remove the entries?<\/p>\n<p>OK yes removing those from \/etc\/fstab fixed it and now it boots.&#8221;<\/p>\n<p>This is exactly what I did as well&#8230; I saw the offending entry which was a BTRFS storage I had configured in the past and that storage unit had been shutdown. (I thought I blogged this, but I only blogged about using LVM over iscsi.. <a href=\"https:\/\/zewwy.ca\/index.php\/2024\/05\/20\/configuring-shared-lvm-over-iscsi-on-proxmox\/\">Configuring shared LVM over iSCSI on Proxmox \u2013 Zewwy&#8217;s Info Tech Talks<\/a>)<\/p>\n<p>Anyway, removing the entry from fstab and rebooting.. bam PVE host came right up.<\/p>\n<p>Constructive criticism to PVE, while yes any knowledgeable Linux sysadmin will figure out how to fix this, as I just did here. However, how about NOT having the boot process fail simply cause a configured storage is not available&#8230; like all other hypervisors&#8230; BOOT the host and show the storage as failed in the management UI to clean it up that way&#8230;. Just.. food for thought&#8230;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is pretty dumb&#8230; every other hypervisor I&#8217;ve ever played with, if the boot drive is fine&#8230; the OS boots&#8230; period&#8230;. Yet the other day I tried to boot my PVE host and it just won&#8217;t boot it would get stuck stating that a datastore (nothing that&#8217;s a dependency for the OS to actually boot) &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2024\/09\/10\/pve-hosts-wont-boot-missing-drive\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;PVE Hosts Won&#8217;t Boot, Missing Drive&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[5,8],"tags":[29,461],"class_list":["post-1602","post","type-post","status-publish","format-standard","hentry","category-hypervisors","category-server-administration","tag-boot","tag-pve"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1602"}],"version-history":[{"count":1,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1602\/revisions"}],"predecessor-version":[{"id":1603,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1602\/revisions\/1603"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}