A disk attached to a Windows ECS goes offline, and the system displays the message "The disk is offline because of policy set by an administrator.", as shown in Figure 1.
Windows has three types of SAN policies: OnlineAll, OfflineShared, and OfflineInternal.
SAN Policy |
Description |
---|---|
OnlineAll |
Indicates that all newly detected disks are automatically brought online. |
OfflineShared |
Indicates that all newly detected disks on sharable buses, such as FC or iSCSI, are offline by default, whereas disks on non-sharable buses are online. |
OfflineInternal |
Indicates that all newly detected disks are offline. |
The SAN policy of certain Windows OSs, such as Windows Server 2008/2012 Enterprise Edition and Data Center Edition, is OfflineShared by default.
Use the disk partition management tool DiskPart to obtain and set the SAN policy on the ECS to OnlineAll.
san policy=onlineall