目前測(cè)試版本4.1.16,只支持SATA
- GUI: reworked media type change dialog
- GUI: when cloning or importing a VM, let the user decide if he wants to change the MAC addresses of the network adapters
- GUI: allow to change generic networking properties during runtime
- GUI: allow to configure the port count of SATA controllers (required for SATA hotplugging)
- Cloning: allow linked cloning (see VBoxManage clonevm, GUI support will follow)
- Cloning: rename the disks in the clone
- PCI passthrough: allow to start the VM if the ICH9 chipset is enabled and the extension pack is notavailable (Beta 2 regression)
- VBoxManage: more convenient configuration of storage controller attachments by automatically determining the port or device parameter when a storage controller has only one port or device per port
- VBoxManage guestcontrol fixes
- Storage: fixed access to CD/DVD images beyond 4GB when using the SATA controller (bug #8592)
- Networking: fixed the problem with segmentation offloading when several VMs are transmitting in parallel
- Mac OS X hosts: fix for non-VT-x mode on Lion
- Solaris hosts: fixed for recent S11 versions
1.先配置虛擬機(jī)的SATA控制器,其中端口數(shù)是你要配置的硬盤的數(shù)量,比如你以后要配置10塊盤,這里就配置成10,(就相當(dāng)于服務(wù)器的硬盤插槽數(shù)量,不是當(dāng)前的硬盤數(shù)量)
1.png (51.06 KB, 下載次數(shù): 12)
下載附件
10
2012-06-11 12:03 上傳
2.開啟虛擬機(jī),點(diǎn)擊啟動(dòng)
2.png (25.01 KB, 下載次數(shù): 10)
下載附件
9
2012-06-11 12:03 上傳
2.1 查看虛擬機(jī)硬盤 fdisk -l
3.png (32.15 KB, 下載次數(shù): 12)
下載附件
8
2012-06-11 12:03 上傳
有一塊硬盤/dev/sda
3.創(chuàng)建虛擬硬盤 3.1 進(jìn)去命令行模式cmd 3.2 vboxmanage createhd --filenameD:\VirtualMachine2012.02.17\vb_oel62\oel62_0.vdi --size 300 --format vdi
4.png (3.79 KB, 下載次數(shù): 13)
下載附件
7
2012-06-11 12:03 上傳
記下這個(gè)UUID:2b4bad91-d223-4d78-8b0b-76d1bd4600bc 4.把新建虛擬硬盤添加到虛擬機(jī) 4.1 先查看當(dāng)前的虛擬機(jī) Vboxmanage list vms
5.png (1.89 KB, 下載次數(shù): 11)
下載附件
6
2012-06-11 12:03 上傳
4.2 查看虛擬硬盤 Vboxmanage list hdds
6.png (5.15 KB, 下載次數(shù): 10)
下載附件
5
2012-06-11 12:03 上傳
4.3 查看虛擬機(jī)的配置信息,查找SATA控制器的名稱 Vboxmanage showvminfo"oel62" ##引號(hào)中為前面查到的虛擬機(jī)名
7.png (20.02 KB, 下載次數(shù): 12)
下載附件
4
2012-06-11 12:03 上傳
其中SATA控制器名稱為"SATA 控制器" ,這個(gè)名稱可以在之前的配置控制時(shí)修改名稱
4.4 把新的虛擬硬盤添加到虛擬機(jī) Vboxmanage storageattach "oel62" --storagectl "SATA 控制器" --port 1 --device 0 --typehdd --medium 2b4bad91-d223-4d78-8b0b-76d1bd4600bc
8.png (16.03 KB, 下載次數(shù): 12)
下載附件
3
2012-06-11 12:03 上傳
添加成功,不成功會(huì)報(bào)錯(cuò)
4.5 查看虛擬機(jī)的硬盤
9.png (6.69 KB, 下載次數(shù): 14)
下載附件
2
2012-06-11 12:03 上傳
4.6 在虛擬機(jī)系統(tǒng)中查看硬盤fdisk -l
10.png (41.86 KB, 下載次數(shù): 12)
下載附件
1
2012-06-11 12:03 上傳
其中/dev/sdb就是新添加的硬盤,熱添加成功 如果在這里還看不到新的硬盤,可以用如下命令讓系統(tǒng)重新掃面新的硬盤 # echo "- - -" >/sys/class/scsi_host/host#/scan (其中host#,#號(hào)是一個(gè)數(shù)字,在用命令添加的時(shí)候的port號(hào)相對(duì)應(yīng),port號(hào)是幾這個(gè)#號(hào)就是幾) 這樣就會(huì)掃描到新添加的硬盤
|