Adding local storage to XenServer

Printer-friendly versionPDF version

One thing that I did like better on ESX vs XenServer was the fact with ESX you could easily upload files to the local storage. By default within XenServer they make you use a shared storage to access files such as ISO images. So what can you do if you want to access ISO images from a local storage rather than a SAN, NAS, or other network device?

 

First thing you want to make sure you have enough space on your local drive. Then create a folder:

  • mkdir -p /var/opt/xen/iso

Then you simply create a new storage repository:

  • xe sr-create name-label="Local ISO Images" device-config:location=/var/opt/xen/iso device-config:legacy_mode=true type=iso content-type=iso

Thats it! You should now have a storage listed in XenCenter named “Local ISO Images”. You can now upload your image files and use them as you would any other storage repository.

Post new comment