{"id":202,"date":"2016-06-18T22:17:29","date_gmt":"2016-06-18T22:17:29","guid":{"rendered":"http:\/\/rln.d13dns.com\/?p=202"},"modified":"2016-06-18T22:17:29","modified_gmt":"2016-06-18T22:17:29","slug":"add-iso-partition-to-xenserver","status":"publish","type":"post","link":"https:\/\/randomlinuxnotes.d13.com\/?p=202","title":{"rendered":"add iso partition to xenserver"},"content":{"rendered":"<p>link:\u00a0https:\/\/adamscheller.com\/systems-administration\/xenserver-local-iso-storage-new-partition\/<\/p>\n<p>for posterity&#8230;<\/p>\n<p>figure out the name of the volume group (something like name-uuid)<\/p>\n<pre>pvscan\n<\/pre>\n<p>&nbsp;<\/p>\n<p>create the new volume<\/p>\n<pre>lvcreate -L 150G -n ISOs name-uuid\n<\/pre>\n<p>&nbsp;<\/p>\n<p>find the volume you just created<\/p>\n<pre> \nlvscan |grep ISO\n<\/pre>\n<p>&nbsp;<\/p>\n<p>create the filesystem<\/p>\n<pre>mkfs.ext2 \/dev\/other-name-uuid\/ISOs\n<\/pre>\n<p>&nbsp;<\/p>\n<p>make the mount point<\/p>\n<pre>mkdir \/mnt\/isos\n<\/pre>\n<p>&nbsp;<\/p>\n<p>create the repository<\/p>\n<pre>xe sr-create name-label=ISOs type=iso device-config:legacy_mode=true device-config:location=\/mnt\/isos content-type=iso\n<\/pre>\n<p>&nbsp;<\/p>\n<p>mount the disk<\/p>\n<pre>mount -t ext2 \/dev\/name-uuid\/ISOs \/mnt\/isos<\/pre>\n<pre><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>link:\u00a0https:\/\/adamscheller.com\/systems-administration\/xenserver-local-iso-storage-new-partition\/ for posterity&#8230; figure out the name of the volume group (something like name-uuid) pvscan &nbsp; create the new volume lvcreate -L 150G -n ISOs name-uuid &nbsp; find the volume you just created lvscan |grep ISO &nbsp; create the filesystem mkfs.ext2 \/dev\/other-name-uuid\/ISOs &nbsp; make the mount point mkdir \/mnt\/isos &nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[80,82,134,154,155],"class_list":["post-202","post","type-post","status-publish","format-standard","hentry","category-rln","tag-lvcreate","tag-lvscan","tag-sr-create","tag-xapi","tag-xcp"],"_links":{"self":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=202"}],"version-history":[{"count":0,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/202\/revisions"}],"wp:attachment":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}