vds_volume 资源可以在 <Content> 段中作为域描述的一部分,也可以独自出现于 <Envelope> 段中。它必须含有带有以下项的 <gprop:GenericProperty> 标记:
vol_name-卷名
service_name-此卷要绑定到的虚拟磁盘服务器的名称
block_dev-要与此卷关联的文件或设备名称
(可选)vds_volume 资源还可以具有以下属性:
vol_opts-下列一项或多项,用逗号分隔,在一个字符串内:{ro,slice,excl}
mpgroup-多路径(故障转移)组的名称
<Envelope> <References/> <Section xsi:type="ovf:VirtualHardwareSection_Type"> <Item> <rasd:OtherResourceType>vds_volume</rasd:OtherResourceType> <gprop:GenericProperty key="vol_name">vdsdev0</gprop:GenericProperty> <gprop:GenericProperty key="service_name">primary-vds0</gprop:GenericProperty> <gprop:GenericProperty key="block_dev"> opt/SUNWldm/domain_disks/testdisk1</gprop:GenericProperty> <gprop:GenericProperty key="vol_opts">ro</gprop:GenericProperty> <gprop:GenericProperty key="mpgroup">mpgroup-name</gprop:GenericProperty> </Item> </Section> </Envelope>