2.2.2.2.1.1 VDS_SAN_POLICY

The VDS_SAN_POLICY enumeration defines the set of valid SAN policy values.

 typedef  enum _VDS_SAN_POLICY
 {
   VDS_SP_UNKNOWN = 0x0,
   VDS_SP_ONLINE = 0x1,
   VDS_SP_OFFLINE_SHARED = 0x2,
   VDS_SP_OFFLINE = 0x3,
   VDS_SP_OFFLINE_INTERNAL = 0x4,
   VDS_SP_MAX = 0x5
 } VDS_SAN_POLICY;

VDS_SP_UNKNOWN:  The SAN policy is unknown.

VDS_SP_ONLINE:  All newly discovered disks are brought online and made WRITABLE. If the disk is offline, no volume devices are exposed for the disk. If the disk is online, the volume devices for the disk are exposed. WRITABLE is the normal state for a disk. A disk can also be made READONLY. If the disk is READONLY, disk data and metadata can be read, but writes to the disk will fail.

VDS_SP_OFFLINE_SHARED:  All newly discovered disks not residing on a shared bus are brought online and made WRITABLE. If the disk is offline, no volume devices are exposed for the disk. If the disk is online, the volume devices for the disk are exposed. WRITABLE is the normal state for a disk. A disk can also be made READONLY. If the disk is READONLY, disk data and metadata can be read, but writes to the disk will fail.

VDS_SP_OFFLINE:  All newly discovered disks remain offline and READONLY. If the disk is offline, no volume devices are exposed for the disk. If the disk is online, the volume devices for the disk are exposed. WRITABLE is the normal state for a disk. A disk can also be made READONLY. If the disk is READONLY, disk data and metadata can be read, but writes to the disk will fail.

VDS_SP_OFFLINE_INTERNAL<31>All newly discovered internal disks remain offline and READONLY. If the disk is offline, no volume devices are exposed for the disk. If the disk is online, the volume devices for the disk are exposed. WRITABLE is the normal state for a disk. A disk can also be made READONLY. If the disk is READONLY, disk data and metadata can be read, but writes to the disk will fail.

VDS_SP_MAX<32>Denotes the maximum acceptable value for this type. VDS_SP_MAX - 1, ('4'), is the maximum acceptable value.