{"id":1285,"date":"2013-04-24T18:41:37","date_gmt":"2013-04-24T18:41:37","guid":{"rendered":"http:\/\/turtlellc.com\/?p=1285"},"modified":"2017-09-22T20:00:25","modified_gmt":"2017-09-22T20:00:25","slug":"xenser-iso-library-using-nas","status":"publish","type":"post","link":"https:\/\/www.turtle.works\/knowledge\/xenser-iso-library-using-nas\/","title":{"rendered":"Setting a XenServer ISO Library Using NAS"},"content":{"rendered":"<h2>Using XenCenter<\/h2>\n<ol>\n<li><span style=\"line-height: 13px;\">Open XenCenter<\/span><\/li>\n<li>Connect to your server<\/li>\n<li>Click\u00a0<em>New Storage<\/em><\/li>\n<li>Select\u00a0<em>Windows File Sharing (CIFS)\u00a0<\/em>and click <em>Next<\/em><\/li>\n<li>Give the SR a name, I used <em>NAS Storage<\/em><\/li>\n<li>The Share Name is actually the full path, so: \\\\nas301.service.softlayer.com\\SLXXXXX-X<\/li>\n<li>Check the\u00a0<em>Use different user name<\/em> checkbox and enter the user name and password for your NAS (SLXXXXX-X \/ MxXXXXX)<a href=\"http:\/\/turtlellc.com\/wp-content\/uploads\/2013\/04\/AttachNAS.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1291\" src=\"http:\/\/turtlellc.com\/wp-content\/uploads\/2013\/04\/AttachNAS.png\" alt=\"AttachNAS\" width=\"813\" height=\"519\" \/><\/a><\/li>\n<li>Click\u00a0<em>Finish<\/em><\/li>\n<\/ol>\n<p><!--more--><\/p>\n<h2>Using the Command Line<\/h2>\n<p>Creating an ISO library from a NAS folder is a 2 step process:<\/p>\n<ol>\n<li><span style=\"line-height: 13px;\">Mount the NAS to the XenServer host<\/span><\/li>\n<li>Create an SR from the NAS<\/li>\n<\/ol>\n<h3>To mount the NAS<\/h3>\n<p># mkdir \/mnt\/nas<\/p>\n<p># mount -t cifs \/\/nas.mydomain.com\/myshare \/mnt\/nas -o username=MyNASUserName,password=MyNASPwd<\/p>\n<h3>To create an SR from the NAS<\/h3>\n<p># mkdir \/mnt\/nas\/iso<\/p>\n<p># xe sr-create name-label=ISO type=iso device-config:location=\/mnt\/nas\/iso device-config:legacy mode=true content-type=iso<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using XenCenter Open XenCenter Connect to your server Click\u00a0New Storage Select\u00a0Windows File Sharing (CIFS)\u00a0and click Next Give the SR a name, I used NAS Storage The Share Name is actually the full path, so: \\\\nas301.service.softlayer.com\\SLXXXXX-X Check the\u00a0Use different user name checkbox and enter the user name and password for your NAS (SLXXXXX-X \/ MxXXXXX) Click\u00a0Finish<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[],"class_list":["post-1285","post","type-post","status-publish","format-standard","hentry","category-xenserver"],"_links":{"self":[{"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/posts\/1285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/comments?post=1285"}],"version-history":[{"count":1,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/posts\/1285\/revisions"}],"predecessor-version":[{"id":1710,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/posts\/1285\/revisions\/1710"}],"wp:attachment":[{"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/media?parent=1285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/categories?post=1285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/tags?post=1285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}