XenServer

ISO library on NFS

The ISO type handles CD images stored as files in ISO format. This storage repository (SR) type is useful for creating shared ISO libraries.

An ISO SR of type nfs_iso handles CD images stored as files in ISO format available as an NFS share.

If you do not specify the storage type to use for the SR, XenServer uses the location device config parameter to decide the type.

For more information about using the NFS SR types, see NFS storage.

If you are creating an SR for IP-based storage (iSCSI or NFS), you can configure one of the following as the storage network: the NIC that handles the management traffic or a new NIC for the storage traffic. To assign an IP address to a NIC, see Configure a dedicated storage NIC.

Device-config parameters for ISO SRs on NFS:

Parameter Name Description Required?
location Path to the mount. Yes
type Storage type to use for the SR. For NFS, use nfs_iso. No
nfsversion For the storage type NFS, the version of the NFS protocol to use: 3, 4, 4.0, or 4.1. No

Create an ISO SR on NFS

xe CLI

For storage repositories that store a library of ISOs, the content-type parameter must be set to iso, for example:

    xe sr-create host-uuid=valid_uuid content-type=iso  type=iso name-label="Example ISO SR" \
      device-config:location=<path_to_mount> device-config:type=nfs_iso
<!--NeedCopy-->

In XenCenter®

  1. Open the New Storage Repository wizard: click New Storage on the toolbar.
  2. Under ISO library, select NFS ISO as the storage type, then click Next.
  3. On the Name page, enter the name of the new SR. By default, the wizard generates a description of the SR. This description includes a summary of the configuration options you select as you progress through the wizard. To enter your own description, clear the Auto-generate description check box and type in the Description box.

    Click Next to continue.

  4. On the Location page, specify the ISO storage target details:
    • Share Name: For example, server:/path where server is the DNS name or IP address of the server computer, and path is a folder or file name.
    • NFS Version: Select the NFS version that the SR uses.

      Note:

      If the underlying storage array does not support NFSv4, NFSv3 is used to mount the share.

  5. Click Finish to complete the new SR configuration and close the wizard.
ISO library on NFS