Parameter Name

Description

Type

 

 

 

allowed-operations

list of the operations allowed on the SR in

read only set parameter

 

this state

 

 

 

 

current-operations

list of the operations that are currently in

read only set parameter

 

progress on this SR

 

 

 

 

VDIs

unique identifier/object reference for the

read only set parameter

 

virtual disks in this SR

 

 

 

 

PBDs

unique identifier/object reference for the

read only set parameter

 

PBDs attached to this SR

 

 

 

 

physical-utilisation

physical space currently utilized on this SR,

read only

 

in bytes. Note that for sparse disk formats,

 

 

physical utilisation may be less than virtual

 

 

allocation

 

 

 

 

physical-size

total physical size of the SR, in bytes

read only

 

 

 

type

type of the SR, used to specify the SR

read only

 

backend driver to use

 

 

 

 

introduced-by

the drtask (if any) which introduced the SR

read onlyk

 

 

 

content-type

the type of the SR's content. Used to

read only

 

distinguish ISO libraries from other SRs. For

 

 

storage repositories that store a library of

 

 

ISOs, the content-typemust be set to

 

 

iso. In other cases, Citrix recommends that

 

 

this be set either to empty, or the string

 

 

user.

 

 

 

 

shared

True if this SR is capable of being shared

read/write

 

between multiple XenServer hosts; False

 

 

otherwise

 

 

 

 

other-config

list of key/value pairs that specify additional

read/write map parameter

 

configuration parameters for the SR

 

 

 

 

host

The storage repository host name

read only

 

 

 

virtual-allocation

sum of virtual-size values of all VDIs in this

read only

 

storage repository (in bytes)

 

 

 

 

sm-config

SM dependent data

read only map parameter

 

 

 

blobs

binary data store

read only

 

 

 

sr-create

sr-createname-label=<name>physical-size=<size>type=<type> content-type=<content_type>device-config:<config_name>=<value>[host-uuid=<XenServer host UUID>] [shared=<true false>]

Creates an SR on the disk, introduces it into the database, and creates a PBD attaching the SR to a XenServer host. If shared is set to true, a PBD is created for each XenServer host in the pool; if shared is not specified or set to false, a PBD is created only for the XenServer host specified with host-uuid.

148

Page 166
Image 166
Citrix Systems 6 manual Sr-create, User