{"id":4008,"date":"2026-01-28T15:04:28","date_gmt":"2026-01-28T20:04:28","guid":{"rendered":"https:\/\/increasec.com\/?p=4008"},"modified":"2026-02-20T18:12:39","modified_gmt":"2026-02-20T23:12:39","slug":"xcp-ng-connect-usb-disk-for-vm-storage","status":"publish","type":"post","link":"https:\/\/increasec.com\/?p=4008","title":{"rendered":"XCP-ng connect USB disk for VM storage"},"content":{"rendered":"\n<p>This describes connects a disk for XCP to store virtual disks.   (This will format your disk)<br>NOT the other way, which is connecting a raw USB disk to 1 Virtual Machine.  (no format, Windows can read the existing data if it&#8217;s NTFS\/FAT formatted)<\/p>\n\n\n\n<p>list USB devices:<br>lsblk | grep -A 3 NAME<br>or just<br>lsblk<\/p>\n\n\n\n<p>i used the disk size to verify which disk.  look for something like sda or sdb<\/p>\n\n\n\n<p>Mount the disk.  don&#8217;t expect it to auto-remount when unplugged and re-plugged.<br>xe&nbsp;sr-create&nbsp;name-label=&#8221;USB-8Tb&#8221;&nbsp;shared=false&nbsp;device-config:device=\/dev\/sdb&nbsp;type=lvm&nbsp;content-type=user<\/p>\n\n\n\n<p>In the XOA Web Gui<br>New, Storage<br>Host = wherever the drive is physically connected<br>Name = whatever<br>Description  = whatever<br>Storage Type = ext (local)   this supports THIN provisioning<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This describes connects a disk for XCP to store virtual disks. (This will format your disk)NOT the other way, which is connecting a raw USB disk to 1 Virtual Machine&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[219],"class_list":["post-4008","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-xcp"],"_links":{"self":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/4008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4008"}],"version-history":[{"count":6,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/4008\/revisions"}],"predecessor-version":[{"id":4053,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/4008\/revisions\/4053"}],"wp:attachment":[{"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}