SAN
DiskPart
This is from Microsoft Technet. If you want to see it at their site, click here
To access DiskPart, click here
Syntax: san [policy={OnlineAll | OfflineAll | OfflineShared}] [noerr]
Parameter: policy={OnlineAll | Offlineall | OfflineShed}]
Sets the SAN policy for the currently booted
operating system. The SAN policy determines whether a newly
discovered disk is brought online or remains offline, and whether it
becomes read/write or remains read-only. When a disk is offline, the
disk layout can be read, but no volume devices are surfaced through
Plug and Play. This means that no file system can be mounted on the
disk. When a disk is online, one or more volume devices are
installed for the disk. The following is an explanation of each
parameter:
-
OnlineAll. Specifies that all newly discovered disks will be brought online and made read/write.
Important
Specifying OnlineAll on a server that shares disks could lead to data corruption. Therefore, you should not set this policy if disks are shared among servers unless the server is part of a cluster.
-
OfflineAll. Specifies that all newly discovered disks except the startup disk will be offline and read-only by default.
-
OfflineShared. Specifies that all newly discovered disks that do not reside on a shared bus (such as SCSI and iSCSI) are brought online and made read-write. Disks that are left offline will be read-only by default.
For more information, see VDS_SAN_POLICY Enumeration ( http://go.microsoft.com/fwlink/?LinkId=203815 ).
Remarks
-
If the commnd is given with no parameters, the current SAN policy is displayed.
Examples
To view the current policy, type:
san
To make all newly discovered disk, except the startup disk, offline and read-only by default, type:
san policy=OfflineAll