﻿{"id":439,"date":"2013-05-02T23:23:34","date_gmt":"2013-05-03T02:23:34","guid":{"rendered":"http:\/\/binsfeld.com.br\/wp\/?p=439"},"modified":"2013-05-02T23:23:34","modified_gmt":"2013-05-03T02:23:34","slug":"add-usb-drive-to-storage-device","status":"publish","type":"post","link":"http:\/\/binsfeld.com.br\/wp\/?p=439","title":{"rendered":"Add USB Drive to Storage Device"},"content":{"rendered":"<p>This article describes\u00a0how to\u00a0add a USB Drive to Citrix XenServer as a Local Storage Repository.\u00a0 This is tested on XenServer versions: 5.0, 5.5, 5.6.<\/p>\n<ol>\n<li>Plug in USB drive<\/li>\n<li>Open up the CLI console<\/li>\n<li>Check disks that are currently available:<br \/>\n<em># fdisk -l<\/em><br \/>\nDisk \/dev\/sdb is my 512mb usb drive<\/li>\n<li>Now to check what ID the harddrive has assigned. Change directory\u2026<br \/>\n<em># cd \/dev\/disk\/by-id\/<br \/>\n<\/em>\u2026and list the disks:<br \/>\n<em># ls<\/em><\/li>\n<li>Add the disk to the system:<br \/>\n<em># xe sr-create type=lvm content-type=user device-config:device=\/dev\/disk\/by-id\/ usb-USB_Flash_Drive_AA04012700007933 name-label=\u201dLocal USB Storage\u201d<\/em><\/li>\n<\/ol>\n<p>Now\u00a0you can see it in XenCenter and use it.<\/p>\n<p>Cr\u00e9ditos:\u00a0<a href=\"http:\/\/blogs.citrix.com\/2010\/10\/18\/how-to-add-a-usb-drive-to-citrix-xenserver-as-a-local-sr-storage-repository\/\">http:\/\/blogs.citrix.com\/2010\/10\/18\/how-to-add-a-usb-drive-to-citrix-xenserver-as-a-local-sr-storage-repository\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article describes\u00a0how to\u00a0add a USB Drive to Citrix XenServer as a Local Storage Repository.\u00a0 This is tested on XenServer versions: 5.0, 5.5, 5.6. Plug in USB drive Open up<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-439","post","type-post","status-publish","format-standard","hentry","category-virtualizacao"],"_links":{"self":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/439"}],"collection":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=439"}],"version-history":[{"count":1,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/439\/revisions"}],"predecessor-version":[{"id":440,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/439\/revisions\/440"}],"wp:attachment":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=439"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=439"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}