{"id":532,"date":"2024-05-04T12:12:30","date_gmt":"2024-05-04T11:12:30","guid":{"rendered":"https:\/\/www.davidirwin.co.uk\/?p=532"},"modified":"2024-05-04T12:13:32","modified_gmt":"2024-05-04T11:13:32","slug":"proxmox-data-store-unavailable","status":"publish","type":"post","link":"https:\/\/www.davidirwin.co.uk\/index.php\/2024\/05\/04\/proxmox-data-store-unavailable\/","title":{"rendered":"Proxmox Data Store Unavailable"},"content":{"rendered":"<p>We had a power cut overnight, which resulted in datastore not being available when the server turned on.<\/p>\n<p>When I checked the logs I see there was an error<\/p>\n<pre class=\"bbCodeCode\" dir=\"ltr\" data-xf-init=\"code-block\" data-lang=\"\">\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\">Activation of logical volume pve\/data is prohibited while logical volume pve\/data_tmeta is active.<\/div><\/div>\n\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-533\" src=\"https:\/\/www.davidirwin.co.uk\/wp-content\/uploads\/2024\/05\/pveerror1.png\" alt=\"\" width=\"1441\" height=\"103\" \/><\/p>\n<p>The local-lvm data storage was offline, the first thing I did was to restart the server.<\/p>\n<p>I noticed the there was an error on the server console. The did boot but the Local-lvm data storage was still offline.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-534\" src=\"https:\/\/www.davidirwin.co.uk\/wp-content\/uploads\/2024\/05\/udev-queue-being-empty.png\" alt=\"\" width=\"470\" height=\"55\" \/><\/p>\n<p>Time to start googling for a fix.<\/p>\n<p>I came across this forum post,<a href=\"https:\/\/forum.proxmox.com\/threads\/task-error-activating-lv-pve-data-failed-activation-of-logical-volume-pve-data-is-prohibited-while-logical-volume-pve-data_tdata-is-active.106225\/\"> https:\/\/forum.proxmox.com\/threads\/task-error-activating-lv-pve-data-failed-activation-of-logical-volume-pve-data-is-prohibited-while-logical-volume-pve-data_tdata-is-active.106225\/<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-535\" src=\"https:\/\/www.davidirwin.co.uk\/wp-content\/uploads\/2024\/05\/pvefix.png\" alt=\"\" width=\"446\" height=\"206\" \/><\/p>\n<p>It took an about 5 minutes for the lvchange -an pve\/data_tmeta to work.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-536\" src=\"https:\/\/www.davidirwin.co.uk\/wp-content\/uploads\/2024\/05\/pvefix1.png\" alt=\"\" width=\"504\" height=\"284\" \/><\/p>\n<p>After I typed in the last command the data storage came up and I was able to power on the virtual machines.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We had a power cut overnight, which resulted in datastore not being available when the server turned on. When I checked the logs I see there was an error Activation of logical volume pve\/data is prohibited while logical volume pve\/data_tmeta is active. The local-lvm data storage was offline, the first thing I did was to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":533,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,25],"tags":[],"class_list":["post-532","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-home-lab","category-proxmox"],"_links":{"self":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=532"}],"version-history":[{"count":1,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/532\/revisions"}],"predecessor-version":[{"id":537,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/532\/revisions\/537"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/media\/533"}],"wp:attachment":[{"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.davidirwin.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}