Windows Server 2003 為 VMware 的 guset ,若要擴展 disk 空間,可以使用 diskpart 的指令來作。作業大致如下:

 

Step 01:Add Additional Space to the Virtual Hard Drive

- Using the vSphere Client, connect to vCenter server or your host.
- Once connected, select your Virtual Machine from the Hosts & Clusters or VMs & Templates view.
- Click "Edit Settings"
- Select your Virtual Disk, and increase the Provisioned Space.
- Click OK

 

Step 02:Extend the Windows Server Volume

- Access your Server (either Open Console from the vSphere Client or RDP)
- Open a Command Prompt
- Use the following commands from the Microsoft KB 325590

實作如下:

C:\>diskpart

Microsoft DiskPart 5.2.3790.3959 Copyright (C) 1999-2001 Microsoft Corporation.
On computer:

DISKPART> list volume

  磁碟區 ###  Ltr  標籤           Fs     類型        大小     狀態     資訊
  ----------  ---  -----------     -----  ----------  -------  ---------  --------
  磁碟區 0     E                    NTFS   簡單           400 GB  狀況良好

  磁碟區 1     Y   新增磁碟區  NTFS   磁碟分割       10 GB  狀況良好

  磁碟區 2     C                    NTFS   磁碟分割      30 GB  狀況良好

  磁碟區 3     D   CRMSVOL_EN   CDFS   DVD-ROM      594 MB  狀況良好


DISKPART> select volume=1

磁碟區 1 是所選擇的磁碟區。

DISKPART> extend

DiskPart 成功地延伸了磁碟區。

DISKPART>exit

PS:磁碟的型態是基本動態(如下圖)所擴展出來的空間會有不同,但在前端看到的是一樣的。

VMware-diskpart.png  

 

參考:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1007266

http://community.spiceworks.com/how_to/2824-extend-data-volume-on-a-windows-2003-virtual-machine-vmware-esxi

arrow
arrow
    文章標籤
    vmware DiskPart Windows Server
    全站熱搜

    MIS 發表在 痞客邦 留言(0) 人氣()