{"id":1514,"date":"2022-09-01T01:58:27","date_gmt":"2022-09-01T01:58:27","guid":{"rendered":"\/blog\/?p=1514"},"modified":"2022-09-01T01:58:27","modified_gmt":"2022-09-01T01:58:27","slug":"import-ovm-repository-from-another-server","status":"publish","type":"post","link":"\/blog\/index.php\/import-ovm-repository-from-another-server\/","title":{"rendered":"import OVM Repository from another server"},"content":{"rendered":"\n<p>if you replicated a LUN containing a repository you need to import it<\/p>\n\n\n\n<p>&#8211; fsck the volume<br>fsck.ocfs2 \/dev\/mapper\/xxxxxxxxxxxxxxxxxxxxx &lt;&#8212;-find the correct one if you have other iSCSI luns connected<\/p>\n\n\n\n<p>&#8211; Update the cluster id:<br>tunefs.ocfs2 &#8211;update-cluster-stack \/dev\/mapper\/xxxxxxxxxxxxxxxxxxxxxxxxx<\/p>\n\n\n\n<p>&#8211; Mount the file system into a temporay mount point. (Perhaps mounting to the final uuid works, but I prefer umount later on and let OVM manager do the job)<\/p>\n\n\n\n<p>mkdir \/OVS\/Repositories\/temp<br>mount \/dev\/mapper\/xxxxxxxxxxxxx \/OVS\/Repositories\/temp<\/p>\n\n\n\n<p>&#8211; Change OVS_REPO_MGR_UUID in .ovsrepo to the correct uuid (i picked up the one from the already presented repository. I don&#8217;t know yet where this uuid can be taken from if you have no other repository)<br>(check that OVS_REPO_UUID has no duplicate)<\/p>\n\n\n\n<p>&#8211; umount \/OVS\/Repositories\/temp<\/p>\n\n\n\n<p>&#8211; Form the manager, refresh the shared file system, Present the Repository to servers ans refresh that Repository.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>if you replicated a LUN containing a repository you need to import it &#8211; fsck the volumefsck.ocfs2 \/dev\/mapper\/xxxxxxxxxxxxxxxxxxxxx &lt;&#8212;-find the correct one if you have other iSCSI luns connected &#8211; Update the cluster id:tunefs.ocfs2 &#8211;update-cluster-stack \/dev\/mapper\/xxxxxxxxxxxxxxxxxxxxxxxxx &#8211; Mount the file system into a temporay mount point. (Perhaps mounting to the final uuid works, but I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1514","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1514"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1514\/revisions"}],"predecessor-version":[{"id":1515,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1514\/revisions\/1515"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1514"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}