前言:
2003 Server掛載dell 的EqualLogic PS4000 iSCSI Storage的磁區空間滿了之後,在Storage上增加1T的空間,從2003 Server的磁碟管理進去,發現該磁區空間並未增加,但是後面多了1T的未配置空間,查過資料後知道要在命令列使用diskpart.exe才能使用。

操作如下:
擴充 Windows Server 2003資料磁碟區

1.在命令提示字元, 輸入 diskpart.exe.
2.輸入 list volume ,顯示在電腦上現有的磁碟區。
3.輸入 Select volume volume number 磁碟區號碼是您要擴充磁區的英文代號。如: Select volume k:
4.輸入 extend [size=n] [disk=n] [noerr] ,
如:extend size = 1024000000
下面將說明參數:
size=n
The space, in megabytes (MB), to add to the current partition. If you do not specify a size, the disk is extended to take up all of the next contiguous unallocated space.

disk=n
The dynamic disk on which to extend the volume. Space equal to size=n is allocated on the disk. If no disk is specified, the volume is extended on the current disk.

noerr
For scripting only. When an error is thrown, this parameter specifies that Diskpart continue to process commands as if the error did not occur. Without the noerr parameter, an error causes Diskpart to quit with an error code.

5.輸入 exit ,結束 Diskpart.exe。

參考資料:http://support.microsoft.com/kb/325590/zh-tw
Last modified: Monday, 9 September 2013, 4:26 PM