東坡下載:內(nèi)容最豐富最安全的下載站!

首頁知識(shí)庫應(yīng)用軟件 → VMware workstation 磁盤怎么擴(kuò)容

VMware workstation 磁盤怎么擴(kuò)容

相關(guān)文章發(fā)表評(píng)論 來源:本站整理時(shí)間:2019/3/7 17:50:45字體大�。�A-A+

更多

作者:佚名點(diǎn)擊:0次評(píng)論:0次標(biāo)簽: VMware

第一種方法:增加新硬盤分區(qū):

1.打開vmware(不用啟動(dòng)虛擬機(jī)內(nèi)的系統(tǒng)),=>虛擬機(jī)=>設(shè)置=>add,選擇Hard Disk,然后一直點(diǎn) next,(中間有一步是設(shè)置需要添加磁盤的大小,按照自己的需求設(shè)置,這里就忽略了)最后點(diǎn)OK

2.=>啟動(dòng)該虛擬機(jī) ,在虛擬的系統(tǒng)里面再執(zhí)行以下操作: =>控制面板=>管理工具=>計(jì)算機(jī)管理=>磁盤管理,會(huì)跳出一個(gè)“歡迎使用磁盤初始化和轉(zhuǎn)換向?qū)А钡慕缑妗R恢秉c(diǎn)“下一步”,(在右下區(qū)域找到剛初始化的磁盤,你會(huì)發(fā)現(xiàn)是“未指派”的),選中該磁盤后執(zhí)行以下操作:=>操作=>所有任務(wù)=>新建磁盤分區(qū)=>一直下一步直到完成。

第二種方法:擴(kuò)展已有硬盤容量:

界面中并沒有提供增加硬盤容量的方法。

只能在命令行形式下執(zhí)行。

安裝所在盤的Program Files\VMware\VMware Workstation下有一個(gè)vmware-vdiskmanager.exe,就是它。

命令參數(shù)如下:
------------------------------------------------------------------
Usage: vmware-vdiskmanager.exe OPTIONS <disk-name> | <mount-point>

Offline disk manipulation utility

Options:
      -c                    : create disk; need to specify other create options
      -d                    : defragment the specified virtual disk
      -k                    : shrink the specified virtual disk
      -n <source-disk>      : rename the specified virtual disk; need to
                             specify destination disk-name
      -p                    : prepare the mounted virtual disk specified by
                             the drive-letter for shrinking
      -q                    : do not log messages
      -r <source-disk>      : convert the specified disk; need to specify
                             destination disk-type
      -x <new-capacity>     : expand the disk to the specified capacity

Additional options for create and convert:
         -a <adapter>       : (for use with -c only) adapter type (ide, buslogic o
r lsilogic)
         -s <size>          : capacity of the virtual disk
         -t <disk-type>     : disk type id

Disk types:
         0                  : single growable virtual disk
         1                  : growable virtual disk split in 2Gb files
         2                  : preallocated virtual disk
         3                  : preallocated virtual disk split in 2Gb files

The capacity can be specified in sectors, Kb, Mb or Gb.
      The acceptable ranges:
                            ide adapter : [100.0Mb, 950.0Gb]
                            scsi adapter: [100.0Mb, 950.0Gb]

ex 1: vmware-vdiskmanager.exe -c -s 850Mb -a ide -t 0 myIdeDisk.vmdk
         ex 2: vmware-vdiskmanager.exe -d myDisk.vmdk
         ex 3: vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 0 destinationDisk.vm
dk
         ex 4: vmware-vdiskmanager.exe -x 36Gb myDisk.vmdk
         ex 5: vmware-vdiskmanager.exe -n sourceName.vmdk destinationName.vmdk
         ex 6: vmware-vdiskmanager.exe -k myDisk.vmdk
         ex 7: vmware-vdiskmanager.exe -p <mount-point>
               (A virtual disk first needs to be mounted at <mount-point>)
-----------------------------------------------------------------
其中的-x參數(shù)就是用來擴(kuò)容的……

如這個(gè):vmware-vdiskmanager.exe -x 36Gb myDisk.vmdk
-------------------------------------------------------

我的執(zhí)行過程:

E:\Program Files\VMware\VMware Workstation>set path=%path%;E:\Program Files\VMwa
re\VMware Workstation

E:\Program Files\VMware\VMware Workstation>e:

E:\Program Files\VMware\VMware Workstation>cd E:\VM_Machine

E:\VM_Machine>cd Windows Server 2003 Standard Edition

E:\VM_Machine\Windows Server 2003 Standard Edition>dir *.vmdk

2007/07/20   11:17         1,588,527,104 Windows Server 2003 Standard Edition-s001
.vmdk
2007/07/20   11:17                65,536 Windows Server 2003 Standard Edition-s002
.vmdk
2007/07/20   10:56                   448 Windows Server 2003 Standard Edition.vmdk

E:\VM_Machine\Windows Server 2003 Standard Edition>vmware-vdiskmanager.exe -x 4G
"Windows Server 2003 Standard Edition.vmdk"
Using log file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\vmware-Administrator\vdiskma
nager.log
The specified disk size does not fall within acceptable range.
The acceptable ranges:
                       ide adapter : [100.0Mb, 950.0Gb]
                       scsi adapter: [100.0Mb, 950.0Gb]

E:\VM_Machine\Windows Server 2003 Standard Edition>vmware-vdiskmanager.exe -x 4G
b "Windows Server 2003 Standard Edition.vmdk"
Using log file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\1\vmware-Administrator\vdiskma
nager.log
The old geometry C/H/S of the disk is: 261/255/63
The new geometry C/H/S of the disk is: 522/255/63
Disk expansion completed successfully.

WARNING: If the virtual disk is partitioned, you must use a third-party
          utility in the virtual machine to expand the size of the
          partitions. For more information, see:
          http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647
==================================================================
總結(jié)一下:
1。文件名應(yīng)該用雙引號(hào)括起來。
2。vmdk文件用不帶001,002的最短的那個(gè)文件名。
3。GB,MB,別忘了B。

需要強(qiáng)調(diào)的一點(diǎn)是,調(diào)整硬盤大小之后的效果,相當(dāng)于增加了原來物理硬盤的柱面數(shù)目,因此,文件系統(tǒng)并不會(huì)自動(dòng)增長(zhǎng)。需要重新調(diào)整文件系統(tǒng)的大小。這一步不同的系統(tǒng)有不同的方法。比如
1. 如果guest OS為win系列,可以通過partion magic來實(shí)現(xiàn)
2. 如果guest OS為L(zhǎng)inux系列,可以通過 resize2fs來擴(kuò)大ext2/3格式的文件系統(tǒng)。
3. 如果guset OS為其他Unix系統(tǒng),可以通過向文件樹中新增加分區(qū),來擴(kuò)充原文件系統(tǒng)。

通過vm加盤的方法:在菜單欄哪里有個(gè)“VM”,點(diǎn)擊“VM”里面有個(gè)“settings”或者直接用快捷鍵“Ctrl+D”,點(diǎn)擊“Add”增加一個(gè)“Hard Disk”.加完后進(jìn)入系統(tǒng)后,右擊我的電腦選擇“管理”進(jìn)入后再選擇“存儲(chǔ)”中的“磁盤管理”。對(duì)你剛才新增加的硬盤進(jìn)行快速格式化后,就可以為你原先的硬盤多增加一個(gè)盤符=已經(jīng)擴(kuò)大你原先的硬盤大小

  • VMware虛擬機(jī)下載
  • vmware
  • 虛擬機(jī)下載
VMware虛擬機(jī)下載
(33)VMware虛擬機(jī)下載

VMware虛擬機(jī)就是一款功能強(qiáng)大的虛擬PC工具,讓大家能夠直接在一臺(tái)機(jī)器上同時(shí)運(yùn)行二個(gè)或更多Windows、DOS、LINUX系統(tǒng)。適合那些需要在多個(gè)系統(tǒng)中同時(shí)安裝各種軟件的用戶下載使用,還可以進(jìn)行各種未知軟件的安裝,避免電腦系統(tǒng)中毒。

...更多>>

擴(kuò)展知識(shí)

相關(guān)評(píng)論

閱讀本文后您有什么感想? 已有 人給出評(píng)價(jià)!

  • 2791 喜歡喜歡
  • 2101 頂
  • 800 難過難過
  • 1219 囧
  • 4049 圍觀圍觀
  • 5602 無聊無聊
熱門評(píng)論
最新評(píng)論
發(fā)表評(píng)論 查看所有評(píng)論(0)
昵稱:
表情: 高興 可 汗 我不要 害羞 好 下下下 送花 屎 親親
字?jǐn)?shù): 0/500 (您的評(píng)論需要經(jīng)過審核才能顯示)

VMware workstation 磁盤怎么擴(kuò)容

闂傚倷绀侀幖顐ょ矓閺夋嚚娲Ω閳哄﹥鏅㈤梺缁樺灱婵倝寮查鍕叆闁绘洖鍊圭€氾拷 VMware