{"id":287,"date":"2024-05-28T20:31:02","date_gmt":"2024-05-28T20:31:02","guid":{"rendered":"https:\/\/www.xircx.com\/?p=287"},"modified":"2024-06-15T03:01:17","modified_gmt":"2024-06-15T03:01:17","slug":"proxmox-cluster-zfs-issue-resolved","status":"publish","type":"post","link":"https:\/\/xircx.com\/?p=287","title":{"rendered":"Proxmox Cluster ZFS Issue Resolved."},"content":{"rendered":"\n<p>So, today I waned to make it so I could migrate and replicate my VMs across my 2 Proxmox nodes. This was a pain in the ass. <\/p>\n\n\n\n<p><strong>Part1 Replication<\/strong><\/p>\n\n\n\n<p>I needed to fix replication because when I tired to enabled it on a VM I would get the error of &#8220;missing replicate feature on volume &#8216;vm-drives:10X\/vm-10X-disk-0.qcow2&#8217; (500)&#8221;<\/p>\n\n\n\n<p>The fix for this was to enable sharing on my existing directories and create a new ZFS pool mapping it to the existing VM-Drives directory <\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>Enable Sharing on the VM drive directory<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/xircx.com\/wp-content\/uploads\/2024\/05\/storage-sharing.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Create the ZFS Pool pointing to the VM directory<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/xircx.com\/wp-content\/uploads\/2024\/05\/zfs-pool.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Once this was done I was able to enable replication between the 2 nodes. <\/p>\n\n\n\n<p><strong>Part2 Migration<\/strong><\/p>\n\n\n\n<p>This was failing because I needed to move all disks to the zpool-vms directory. <strong>Note &#8211; Windows VMs have an additional EFI drive that needs to be moved also and cant be moved while the VM is online.<\/strong> <\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>change the hard drive and EFI to point to the new ZFSPool<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/xircx.com\/wp-content\/uploads\/2024\/05\/zfs-pool-jump.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Linux VMs didn&#8217;t have an any issues with this migration process after moving the drive to the ZFS pool.<\/p>\n\n\n\n<p>After this change try to do a migration of the VM.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>References: <\/p>\n\n\n\n<p>Proxmox Forum &#8211; <a href=\"https:\/\/forum.proxmox.com\/threads\/missing-replicate-feature-on-volume-local-lvm-vm-1001-disk-1-500.35709\/\" data-type=\"link\" data-id=\"https:\/\/forum.proxmox.com\/threads\/missing-replicate-feature-on-volume-local-lvm-vm-1001-disk-1-500.35709\/\">missing replicate feature on volume &#8216;local-lvm:vm-1001-disk-1&#8217; (500)<\/a><\/p>\n<div class=\"pvc_clear\"><\/div><p id=\"pvc_stats_287\" class=\"pvc_stats all  \" data-element-id=\"287\" style=\"\"><i class=\"pvc-stats-icon small\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/xircx.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p><div class=\"pvc_clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>So, today I waned to make it so I could migrate and replicate my VMs across my 2 Proxmox nodes. This was a pain in the ass. Part1 Replication I needed to fix replication because when I tired to enabled it on a VM I would get the error of &#8220;missing replicate feature on volume [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":397,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"pgc_sgb_lightbox_settings":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[],"class_list":["post-287","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"a3_pvc":{"activated":true,"total_views":129,"today_views":0},"jetpack_featured_media_url":"https:\/\/xircx.com\/wp-content\/uploads\/2024\/05\/ai_image2-jpeg.webp","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/xircx.com\/index.php?rest_route=\/wp\/v2\/posts\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xircx.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xircx.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xircx.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xircx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=287"}],"version-history":[{"count":2,"href":"https:\/\/xircx.com\/index.php?rest_route=\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":491,"href":"https:\/\/xircx.com\/index.php?rest_route=\/wp\/v2\/posts\/287\/revisions\/491"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xircx.com\/index.php?rest_route=\/wp\/v2\/media\/397"}],"wp:attachment":[{"href":"https:\/\/xircx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xircx.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xircx.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}