I want to mount virtual disks on the XenServer host. I don't have any free space to create a partition this way and want to use a virtual disk on local storage to store ISO images. I can't find any instructions on doing this.
Basically I need to mount the virtual disk below on the host, here is the listing for it from xe vdi-list
...
uuid ( RO) : 1b63af0e-4a32-473c-a20c-4fa408db201f
name-label ( RW): iso_images
name-description ( RW): ISO images from installation media
sr-uuid ( RO): 71041776-39eb-c1ec-e7d1-eb4d047c70ed
virtual-size ( RO): 21474836480
sharable ( RO): false
read-only ( RO): false
All the guides I can find on the subject involve different circumstances, such as the virtual disk being assigned to a VM.
If you want to have a sharable ISO library
If someday you got more than one server, I suggest a ISO's CIFS's share, as it will allow you to enable the HA and it's easier to do and to update.
xe-mount-iso-sr //server/share -o username=UserName,password=myPassword,domainname=domainname,sec=ntlmv2
http://support.citrix.com/article/CTX123536
If you have a local storage:
fdisk -l (to find the disk), mount /dev/sdXX /mnt/iso and after xe sr-create type=iso content-type=iso shared=false host-uuid=xxxxxxxxxxxxxxxxxxxx name-label=ISO device-config:location=/mnt/iso device-config:legacy_mode=true