{"id":375,"date":"2024-12-30T13:03:07","date_gmt":"2024-12-30T11:03:07","guid":{"rendered":"https:\/\/pauli.work\/?p=375"},"modified":"2024-12-30T19:26:11","modified_gmt":"2024-12-30T17:26:11","slug":"proxmox-live-iscsi-lvm-resizing","status":"publish","type":"post","link":"https:\/\/pauli.work\/?p=375","title":{"rendered":"Proxmox live iSCSI LVM resizing"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Resizing the LUN<\/h3>\n\n\n\n<p>I use TrueNAS as my iSCSI host. I have the lvm as a Zvol <br>TrueNAS -> Storage -> Pools<br>Select the Volume you have attached to proxmox<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"959\" height=\"457\" src=\"https:\/\/pauli.work\/wp-content\/uploads\/2024\/12\/image.png\" alt=\"\" class=\"wp-image-379\" srcset=\"https:\/\/pauli.work\/wp-content\/uploads\/2024\/12\/image.png 959w, https:\/\/pauli.work\/wp-content\/uploads\/2024\/12\/image-300x143.png 300w, https:\/\/pauli.work\/wp-content\/uploads\/2024\/12\/image-768x366.png 768w\" sizes=\"auto, (max-width: 959px) 100vw, 959px\" \/><\/figure>\n\n\n\n<p>Increase the value for &#8220;Size for this zvol&#8221;. Only Increasing is allowed through the webui.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Proxmox resizing<\/h3>\n\n\n\n<p>For me the iSCSI drive updated automatically. But if needed you can use <code>iscsiadm --mode session --rescan<\/code><\/p>\n\n\n\n<p>Next the lvm physical volume needs resized, That can be done with <code>pvresize \/dev\/&lt;iscsi-drive><\/code> <\/p>\n\n\n\n<p>Now you should be able to see the drive has resized.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"777\" height=\"223\" src=\"https:\/\/pauli.work\/wp-content\/uploads\/2024\/12\/image-1.png\" alt=\"\" class=\"wp-image-382\" srcset=\"https:\/\/pauli.work\/wp-content\/uploads\/2024\/12\/image-1.png 777w, https:\/\/pauli.work\/wp-content\/uploads\/2024\/12\/image-1-300x86.png 300w, https:\/\/pauli.work\/wp-content\/uploads\/2024\/12\/image-1-768x220.png 768w\" sizes=\"auto, (max-width: 777px) 100vw, 777px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Resizing the LUN I use TrueNAS as my iSCSI host. I have the lvm as a Zvol TrueNAS -> Storage -> PoolsSelect the Volume you have attached to proxmox Increase the value for &#8220;Size for this zvol&#8221;. Only Increasing is allowed through the webui. Proxmox resizing For me the iSCSI drive updated automatically. But if [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":429,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-375","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/pauli.work\/index.php?rest_route=\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pauli.work\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pauli.work\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pauli.work\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pauli.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=375"}],"version-history":[{"count":5,"href":"https:\/\/pauli.work\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions"}],"predecessor-version":[{"id":383,"href":"https:\/\/pauli.work\/index.php?rest_route=\/wp\/v2\/posts\/375\/revisions\/383"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pauli.work\/index.php?rest_route=\/wp\/v2\/media\/429"}],"wp:attachment":[{"href":"https:\/\/pauli.work\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pauli.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pauli.work\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}