1. 虚拟机磁盘管理, 更改磁盘格式是一个场景 还有一个场景是 硬盘空间不够了 需要扩充.

方法主要有两个.

如果是workstation的的虚拟机.

并且没有快照

可以直接GUI操作

如下图:

虚拟机上面点击设置

点击 硬盘 扩展

然后进行扩展即可.

如果是VB的虚拟机

有一个办法就是 直接使用workstation 挂在 vb的vmdk的硬盘即可(前提是 vmdk的文件)

如果不是 也可以使用 clone 虚拟机 做成vmdk的 然后再使用workstation 的方式扩展

操作步骤如图示:

注意选择 使用现有磁盘

然后浏览文件即可

2. 纯VB的环境 使用命令方式也可以

比如硬盘现在的大小如图示:

2. 建议操作步骤(不用输入太多命令的情况)

2.1 将vbox的安装目录放到环境变量里面去 (这样省下每次命令打一堆很长的字符)

然后看一下 之前磁盘的大小.

这里我就不截图(其实操作完 忘截图了..)

我一开始是40g

2.2 使用vb 打开虚拟机的路径

2.3 在explorer的地址栏里面输入 cmd

2.4 然后点击回车

2.5 输入命令 例如 我这里的就是

  1. vboxmanage.exe modifymedium disk .vdi --resize

速度很快

2.6 再看一下磁盘

可以再次扩充

然后再看一下图就可以了

2.7 处理完之后 需要使用 windows 的磁盘管理 进行 扩容.

计算机管理

然后使用磁盘管理

操作如下(示意而已.)

3.0 virtualbox 的命令

  1. 这次用到的

modifymedium [disk|dvd|floppy] <uuid|filename>

[--type normal|writethrough|immutable|shareable|readonly|multiattach]
[--autoreset on|off]
[--property <name=[value]>]
[--compact]
[--resize <megabytes>|--resizebyte <bytes>]
[--move <path]
[--description <description string>]

全部的命令为

  1. Oracle VM VirtualBox Command Line Management Interface Version 5.2.
  2. (C) - Oracle Corporation
  3. All rights reserved.
  4.  
  5. Usage:
  6.  
  7. VBoxManage [<general option>] <command>
  8.  
  9. General Options:
  10.  
  11. [-v|--version] print version number and exit
  12. [-q|--nologo] suppress the logo
  13. [--settingspw <pw>] provide the settings password
  14. [--settingspwfile <file>] provide a file containing the settings password
  15. [@<response-file>] load arguments from the given response file (bourne style)
  16.  
  17. Commands:
  18.  
  19. list [--long|-l] [--sorted|-s] vms|runningvms|ostypes|hostdvds|hostfloppies|
  20. intnets|bridgedifs|hostonlyifs|natnets|dhcpservers|
  21. hostinfo|hostcpuids|hddbackends|hdds|dvds|floppies|
  22. usbhost|usbfilters|systemproperties|extpacks|
  23. groups|webcams|screenshotformats
  24.  
  25. showvminfo <uuid|vmname> [--details]
  26. [--machinereadable]
  27. showvminfo <uuid|vmname> --log <idx>
  28.  
  29. registervm <filename>
  30.  
  31. unregistervm <uuid|vmname> [--delete]
  32.  
  33. createvm --name <name>
  34. [--groups <group>, ...]
  35. [--ostype <ostype>]
  36. [--register]
  37. [--basefolder <path>]
  38. [--uuid <uuid>]
  39.  
  40. modifyvm <uuid|vmname>
  41. [--name <name>]
  42. [--groups <group>, ...]
  43. [--description <desc>]
  44. [--ostype <ostype>]
  45. [--iconfile <filename>]
  46. [--memory <memorysize in MB>]
  47. [--pagefusion on|off]
  48. [--vram <vramsize in MB>]
  49. [--acpi on|off]
  50. [--pciattach :04.0]
  51. [--pciattach :04.0@:01.0]
  52. [--pcidetach :04.0]
  53. [--ioapic on|off]
  54. [--hpet on|off]
  55. [--triplefaultreset on|off]
  56. [--apic on|off]
  57. [--x2apic on|off]
  58. [--paravirtprovider none|default|legacy|minimal|
  59. hyperv|kvm]
  60. [--paravirtdebug <key=value> [,<key=value> ...]]
  61. [--hwvirtex on|off]
  62. [--nestedpaging on|off]
  63. [--largepages on|off]
  64. [--vtxvpid on|off]
  65. [--vtxux on|off]
  66. [--pae on|off]
  67. [--longmode on|off]
  68. [--ibpb-on-vm-exit on|off]
  69. [--ibpb-on-vm-entry on|off]
  70. [--spec-ctrl on|off]
  71. [--cpu-profile "host|Intel 80[86|286|386]"]
  72. [--cpuid-portability-level <..>
  73. [--cpuid-set <leaf[:subleaf]> <eax> <ebx> <ecx> <edx>]
  74. [--cpuid-remove <leaf[:subleaf]>]
  75. [--cpuidremoveall]
  76. [--hardwareuuid <uuid>]
  77. [--cpus <number>]
  78. [--cpuhotplug on|off]
  79. [--plugcpu <id>]
  80. [--unplugcpu <id>]
  81. [--cpuexecutioncap <->]
  82. [--rtcuseutc on|off]
  83. [--graphicscontroller none|vboxvga|vmsvga]
  84. [--monitorcount <number>]
  85. [--accelerate3d on|off]
  86. [--accelerate2dvideo on|off]
  87. [--firmware bios|efi|efi32|efi64]
  88. [--chipset ich9|piix3]
  89. [--bioslogofadein on|off]
  90. [--bioslogofadeout on|off]
  91. [--bioslogodisplaytime <msec>]
  92. [--bioslogoimagepath <imagepath>]
  93. [--biosbootmenu disabled|menuonly|messageandmenu]
  94. [--biosapic disabled|apic|x2apic]
  95. [--biossystemtimeoffset <msec>]
  96. [--biospxedebug on|off]
  97. [--boot<-> none|floppy|dvd|disk|net>]
  98. [--nic<-N> none|null|nat|bridged|intnet|hostonly|
  99. generic|natnetwork]
  100. [--nictype<-N> Am79C970A|Am79C973|
  101. 82540EM|82543GC|82545EM|
  102. virtio]
  103. [--cableconnected<-N> on|off]
  104. [--nictrace<-N> on|off]
  105. [--nictracefile<-N> <filename>]
  106. [--nicproperty<-N> name=[value]]
  107. [--nicspeed<-N> <kbps>]
  108. [--nicbootprio<-N> <priority>]
  109. [--nicpromisc<-N> deny|allow-vms|allow-all]
  110. [--nicbandwidthgroup<-N> none|<name>]
  111. [--bridgeadapter<-N> none|<devicename>]
  112. [--hostonlyadapter<-N> none|<devicename>]
  113. [--intnet<-N> <network name>]
  114. [--nat-network<-N> <network name>]
  115. [--nicgenericdrv<-N> <driver>
  116. [--natnet<-N> <network>|default]
  117. [--natsettings<-N> [<mtu>],[<socksnd>],
  118. [<sockrcv>],[<tcpsnd>],
  119. [<tcprcv>]]
  120. [--natpf<-N> [<rulename>],tcp|udp,[<hostip>],
  121. <hostport>,[<guestip>],<guestport>]
  122. [--natpf<-N> delete <rulename>]
  123. [--nattftpprefix<-N> <prefix>]
  124. [--nattftpfile<-N> <file>]
  125. [--nattftpserver<-N> <ip>]
  126. [--natbindip<-N> <ip>
  127. [--natdnspassdomain<-N> on|off]
  128. [--natdnsproxy<-N> on|off]
  129. [--natdnshostresolver<-N> on|off]
  130. [--nataliasmode<-N> default|[log],[proxyonly],
  131. [sameports]]
  132. [--macaddress<-N> auto|<mac>]
  133. [--mouse ps2|usb|usbtablet|usbmultitouch]
  134. [--keyboard ps2|usb
  135. [--uart<-N> off|<I/O base> <IRQ>]
  136. [--uartmode<-N> disconnected|
  137. server <pipe>|
  138. client <pipe>|
  139. tcpserver <port>|
  140. tcpclient <hostname:port>|
  141. file <file>|
  142. <devicename>]
  143. [--lpt<-N> off|<I/O base> <IRQ>]
  144. [--lptmode<-N> <devicename>]
  145. [--guestmemoryballoon <balloonsize in MB>]
  146. [--audio none|null|dsound]
  147. [--audioin on|off]
  148. [--audioout on|off]
  149. [--audiocontroller ac97|hda|sb16]
  150. [--audiocodec stac9700|ad1980|stac9221|sb16]
  151. [--clipboard disabled|hosttoguest|guesttohost|
  152. bidirectional]
  153. [--draganddrop disabled|hosttoguest]
  154. [--vrde on|off]
  155. [--vrdeextpack default|<name>
  156. [--vrdeproperty <name=[value]>]
  157. [--vrdeport <hostport>]
  158. [--vrdeaddress <hostip>]
  159. [--vrdeauthtype null|external|guest]
  160. [--vrdeauthlibrary default|<name>
  161. [--vrdemulticon on|off]
  162. [--vrdereusecon on|off]
  163. [--vrdevideochannel on|off]
  164. [--vrdevideochannelquality <percent>]
  165. [--usb on|off]
  166. [--usbehci on|off]
  167. [--usbxhci on|off]
  168. [--usbrename <oldname> <newname>]
  169. [--snapshotfolder default|<path>]
  170. [--teleporter on|off]
  171. [--teleporterport <port>]
  172. [--teleporteraddress <address|empty>
  173. [--teleporterpassword <password>]
  174. [--teleporterpasswordfile <file>|stdin]
  175. [--tracing-enabled on|off]
  176. [--tracing-config <config-string>]
  177. [--tracing-allow-vm-access on|off]
  178. [--usbcardreader on|off]
  179. [--autostart-enabled on|off]
  180. [--autostart-delay <seconds>]
  181. [--videocap on|off]
  182. [--videocapscreens all|<screen ID> [<screen ID> ...]]
  183. [--videocapfile <filename>]
  184. [--videocapres <width> <height>]
  185. [--videocaprate <rate>]
  186. [--videocapfps <fps>]
  187. [--videocapmaxtime <ms>]
  188. [--videocapmaxsize <MB>]
  189. [--videocapopts <key=value> [,<key=value> ...]]
  190. [--defaultfrontend default|<name>]
  191.  
  192. clonevm <uuid|vmname>
  193. [--snapshot <uuid>|<name>]
  194. [--mode machine|machineandchildren|all]
  195. [--options link|keepallmacs|keepnatmacs|
  196. keepdisknames]
  197. [--name <name>]
  198. [--groups <group>, ...]
  199. [--basefolder <basefolder>]
  200. [--uuid <uuid>]
  201. [--register]
  202.  
  203. import <ovfname/ovaname>
  204. [--dry-run|-n]
  205. [--options keepallmacs|keepnatmacs|importtovdi]
  206. [more options]
  207. (run with -n to have options displayed
  208. for a particular OVF)
  209.  
  210. export <machines> --output|-o <name>.<ovf/ova/tar.gz>
  211. [--legacy09|--ovf09|--ovf10|--ovf20|--opc10]
  212. [--manifest]
  213. [--iso]
  214. [--options manifest|iso|nomacs|nomacsbutnat]
  215. [--vsys <number of virtual system>]
  216. [--product <product name>]
  217. [--producturl <product url>]
  218. [--vendor <vendor name>]
  219. [--vendorurl <vendor url>]
  220. [--version <version info>]
  221. [--description <description info>]
  222. [--eula <license text>]
  223. [--eulafile <filename>]
  224.  
  225. startvm <uuid|vmname>...
  226. [--type gui|sdl|headless|separate]
  227. [-E|--putenv <NAME>[=<VALUE>]]
  228.  
  229. controlvm <uuid|vmname>
  230. pause|resume|reset|poweroff|savestate|
  231. acpipowerbutton|acpisleepbutton|
  232. keyboardputscancode <hex> [<hex> ...]|
  233. keyboardputstring <string1> [<string2> ...]|
  234. keyboardputfile <filename>|
  235. setlinkstate<-N> on|off |
  236. nic<-N> null|nat|bridged|intnet|hostonly|generic|
  237. natnetwork [<devicename>] |
  238. nictrace<-N> on|off |
  239. nictracefile<-N> <filename> |
  240. nicproperty<-N> name=[value] |
  241. nicpromisc<-N> deny|allow-vms|allow-all |
  242. natpf<-N> [<rulename>],tcp|udp,[<hostip>],
  243. <hostport>,[<guestip>],<guestport> |
  244. natpf<-N> delete <rulename> |
  245. guestmemoryballoon <balloonsize in MB> |
  246. usbattach <uuid>|<address>
  247. [--capturefile <filename>] |
  248. usbdetach <uuid>|<address> |
  249. audioin on|off |
  250. audioout on|off |
  251. clipboard disabled|hosttoguest|guesttohost|
  252. bidirectional |
  253. draganddrop disabled|hosttoguest |
  254. vrde on|off |
  255. vrdeport <port> |
  256. vrdeproperty <name=[value]> |
  257. vrdevideochannelquality <percent> |
  258. setvideomodehint <xres> <yres> <bpp>
  259. [[<display>] [<enabled:yes|no> |
  260. [<xorigin> <yorigin>]]] |
  261. screenshotpng <file> [display] |
  262. videocap on|off |
  263. videocapscreens all|none|<screen>,[<screen>...] |
  264. videocapfile <file>
  265. videocapres <width>x<height>
  266. videocaprate <rate>
  267. videocapfps <fps>
  268. videocapmaxtime <ms>
  269. videocapmaxsize <MB>
  270. setcredentials <username>
  271. --passwordfile <file> | <password>
  272. <domain>
  273. [--allowlocallogon <yes|no>] |
  274. teleport --host <name> --port <port>
  275. [--maxdowntime <msec>]
  276. [--passwordfile <file> |
  277. --password <password>] |
  278. plugcpu <id> |
  279. unplugcpu <id> |
  280. cpuexecutioncap <->
  281. webcam <attach [path [settings]]> | <detach [path]> | <list>
  282. addencpassword <id>
  283. <password file>|-
  284. [--removeonsuspend <yes|no>]
  285. removeencpassword <id>
  286. removeallencpasswords
  287.  
  288. discardstate <uuid|vmname>
  289.  
  290. adoptstate <uuid|vmname> <state_file>
  291.  
  292. snapshot <uuid|vmname>
  293. take <name> [--description <desc>] [--live]
  294. [--uniquename Number,Timestamp,Space,Force] |
  295. delete <uuid|snapname> |
  296. restore <uuid|snapname> |
  297. restorecurrent |
  298. edit <uuid|snapname>|--current
  299. [--name <name>]
  300. [--description <desc>] |
  301. list [--details|--machinereadable]
  302. showvminfo <uuid|snapname>
  303.  
  304. closemedium [disk|dvd|floppy] <uuid|filename>
  305. [--delete]
  306.  
  307. storageattach <uuid|vmname>
  308. --storagectl <name>
  309. [--port <number>]
  310. [--device <number>]
  311. [--type dvddrive|hdd|fdd]
  312. [--medium none|emptydrive|additions|
  313. <uuid|filename>|host:<drive>|iscsi]
  314. [--mtype normal|writethrough|immutable|shareable|
  315. readonly|multiattach]
  316. [--comment <text>]
  317. [--setuuid <uuid>]
  318. [--setparentuuid <uuid>]
  319. [--passthrough on|off]
  320. [--tempeject on|off]
  321. [--nonrotational on|off]
  322. [--discard on|off]
  323. [--hotpluggable on|off]
  324. [--bandwidthgroup <name>]
  325. [--forceunmount]
  326. [--server <name>|<ip>]
  327. [--target <target>]
  328. [--tport <port>]
  329. [--lun <lun>]
  330. [--encodedlun <lun>]
  331. [--username <username>]
  332. [--password <password>]
  333. [--passwordfile <file>]
  334. [--initiator <initiator>]
  335. [--intnet]
  336.  
  337. storagectl <uuid|vmname>
  338. --name <name>
  339. [--add ide|sata|scsi|floppy|sas|usb|pcie]
  340. [--controller LSILogic|LSILogicSAS|BusLogic|
  341. IntelAHCI|PIIX3|PIIX4|ICH6|I82078|
  342. [ USB|NVMe]
  343. [--portcount <-n>]
  344. [--hostiocache on|off]
  345. [--bootable on|off]
  346. [--rename <name>]
  347. [--remove]
  348.  
  349. bandwidthctl <uuid|vmname>
  350. add <name> --type disk|network
  351. --limit <megabytes per second>[k|m|g|K|M|G] |
  352. set <name>
  353. --limit <megabytes per second>[k|m|g|K|M|G] |
  354. remove <name> |
  355. list [--machinereadable]
  356. (limit units: k=kilobit, m=megabit, g=gigabit,
  357. K=kilobyte, M=megabyte, G=gigabyte)
  358.  
  359. showmediuminfo [disk|dvd|floppy] <uuid|filename>
  360.  
  361. createmedium [disk|dvd|floppy] --filename <filename>
  362. [--size <megabytes>|--sizebyte <bytes>]
  363. [--diffparent <uuid>|<filename>
  364. [--format VDI|VMDK|VHD] (default: VDI)
  365. [--variant Standard,Fixed,Split2G,Stream,ESX]
  366.  
  367. modifymedium [disk|dvd|floppy] <uuid|filename>
  368. [--type normal|writethrough|immutable|shareable|
  369. readonly|multiattach]
  370. [--autoreset on|off]
  371. [--property <name=[value]>]
  372. [--compact]
  373. [--resize <megabytes>|--resizebyte <bytes>]
  374. [--move <path]
  375. [--description <description string>]
  376. clonemedium [disk|dvd|floppy] <uuid|inputfile> <uuid|outputfile>
  377. [--format VDI|VMDK|VHD|RAW|<other>]
  378. [--variant Standard,Fixed,Split2G,Stream,ESX]
  379. [--existing]
  380.  
  381. mediumproperty [disk|dvd|floppy] set <uuid|filename>
  382. <property> <value>
  383.  
  384. [disk|dvd|floppy] get <uuid|filename>
  385. <property>
  386.  
  387. [disk|dvd|floppy] delete <uuid|filename>
  388. <property>
  389.  
  390. encryptmedium <uuid|filename>
  391. [--newpassword <file>|-]
  392. [--oldpassword <file>|-]
  393. [--cipher <cipher identifier>]
  394. [--newpasswordid <password identifier>]
  395.  
  396. checkmediumpwd <uuid|filename>
  397. <pwd file>|-
  398.  
  399. convertfromraw <filename> <outputfile>
  400. [--format VDI|VMDK|VHD]
  401. [--variant Standard,Fixed,Split2G,Stream,ESX]
  402. [--uuid <uuid>]
  403. convertfromraw stdin <outputfile> <bytes>
  404. [--format VDI|VMDK|VHD]
  405. [--variant Standard,Fixed,Split2G,Stream,ESX]
  406. [--uuid <uuid>]
  407.  
  408. getextradata global|<uuid|vmname>
  409. <key>|enumerate
  410.  
  411. setextradata global|<uuid|vmname>
  412. <key>
  413. [<value>] (no value deletes key)
  414.  
  415. setproperty machinefolder default|<folder> |
  416. hwvirtexclusive on|off |
  417. vrdeauthlibrary default|<library> |
  418. websrvauthlibrary default|null|<library> |
  419. vrdeextpack null|<library> |
  420. autostartdbpath null|<folder> |
  421. loghistorycount <value>
  422. defaultfrontend default|<name>
  423. logginglevel <log setting>
  424.  
  425. usbfilter add <index,-N>
  426. --target <uuid|vmname>|global
  427. --name <string>
  428. --action ignore|hold (global filters only)
  429. [--active yes|no] (yes)
  430. [--vendorid <XXXX>] (null)
  431. [--productid <XXXX>] (null)
  432. [--revision <IIFF>] (null)
  433. [--manufacturer <string>] (null)
  434. [--product <string>] (null)
  435. [--remote yes|no] (null, VM filters only)
  436. [--serialnumber <string>] (null)
  437. [--maskedinterfaces <XXXXXXXX>]
  438.  
  439. usbfilter modify <index,-N>
  440. --target <uuid|vmname>|global
  441. [--name <string>]
  442. [--action ignore|hold] (global filters only)
  443. [--active yes|no]
  444. [--vendorid <XXXX>|""]
  445. [--productid <XXXX>|""]
  446. [--revision <IIFF>|""]
  447. [--manufacturer <string>|""]
  448. [--product <string>|""]
  449. [--remote yes|no] (null, VM filters only)
  450. [--serialnumber <string>|""]
  451. [--maskedinterfaces <XXXXXXXX>]
  452.  
  453. usbfilter remove <index,-N>
  454. --target <uuid|vmname>|global
  455.  
  456. sharedfolder add <uuid|vmname>
  457. --name <name> --hostpath <hostpath>
  458. [--transient] [--readonly] [--automount]
  459.  
  460. sharedfolder remove <uuid|vmname>
  461. --name <name> [--transient]
  462.  
  463. guestproperty get <uuid|vmname>
  464. <property> [--verbose]
  465.  
  466. guestproperty set <uuid|vmname>
  467. <property> [<value> [--flags <flags>]]
  468.  
  469. guestproperty delete|unset <uuid|vmname>
  470. <property>
  471.  
  472. guestproperty enumerate <uuid|vmname>
  473. [--patterns <patterns>]
  474.  
  475. guestproperty wait <uuid|vmname> <patterns>
  476. [--timeout <msec>] [--fail-on-timeout]
  477.  
  478. guestcontrol <uuid|vmname> [--verbose|-v] [--quiet|-q]
  479. [--username <name>] [--domain <domain>]
  480. [--passwordfile <file> | --password <password>]
  481.  
  482. run [common-options]
  483. [--exe <path to executable>] [--timeout <msec>]
  484. [-E|--putenv <NAME>[=<VALUE>]] [--unquoted-args]
  485. [--ignore-operhaned-processes] [--profile]
  486. [--no-wait-stdout|--wait-stdout]
  487. [--no-wait-stderr|--wait-stderr]
  488. [--dos2unix] [--unix2dos]
  489. -- <program/arg0> [argument1] ... [argumentN]]
  490.  
  491. start [common-options]
  492. [--exe <path to executable>] [--timeout <msec>]
  493. [-E|--putenv <NAME>[=<VALUE>]] [--unquoted-args]
  494. [--ignore-operhaned-processes] [--profile]
  495. -- <program/arg0> [argument1] ... [argumentN]]
  496.  
  497. copyfrom [common-options]
  498. [--dryrun] [--follow] [-R|--recursive]
  499. <guest-src0> [guest-src1 [...]] <host-dst>
  500.  
  501. copyfrom [common-options]
  502. [--dryrun] [--follow] [-R|--recursive]
  503. [--target-directory <host-dst-dir>]
  504. <guest-src0> [guest-src1 [...]]
  505.  
  506. copyto [common-options]
  507. [--dryrun] [--follow] [-R|--recursive]
  508. <host-src0> [host-src1 [...]] <guest-dst>
  509.  
  510. copyto [common-options]
  511. [--dryrun] [--follow] [-R|--recursive]
  512. [--target-directory <guest-dst>]
  513. <host-src0> [host-src1 [...]]
  514.  
  515. mkdir|createdir[ectory] [common-options]
  516. [--parents] [--mode <mode>]
  517. <guest directory> [...]
  518.  
  519. rmdir|removedir[ectory] [common-options]
  520. [-R|--recursive]
  521. <guest directory> [...]
  522.  
  523. removefile|rm [common-options] [-f|--force]
  524. <guest file> [...]
  525.  
  526. mv|move|ren[ame] [common-options]
  527. <source> [source1 [...]] <dest>
  528.  
  529. mktemp|createtemp[orary] [common-options]
  530. [--secure] [--mode <mode>] [--tmpdir <directory>]
  531. <template>
  532.  
  533. stat [common-options]
  534. <file> [...]
  535.  
  536. guestcontrol <uuid|vmname> [--verbose|-v] [--quiet|-q]
  537.  
  538. list <all|sessions|processes|files> [common-opts]
  539.  
  540. closeprocess [common-options]
  541. < --session-id <ID>
  542. | --session-name <name or pattern>
  543. <PID1> [PID1 [...]]
  544.  
  545. closesession [common-options]
  546. < --all | --session-id <ID>
  547. | --session-name <name or pattern> >
  548.  
  549. updatega|updateguestadditions|updateadditions
  550. [--source <guest additions .ISO>]
  551. [--wait-start] [common-options]
  552. [-- [<argument1>] ... [<argumentN>]]
  553.  
  554. watch [common-options]
  555.  
  556. metrics list [*|host|<vmname> [<metric_list>]]
  557. (comma-separated)
  558.  
  559. metrics setup
  560. [--period <seconds>] (default: )
  561. [--samples <count>] (default: )
  562. [--list]
  563. [*|host|<vmname> [<metric_list>]]
  564.  
  565. metrics query [*|host|<vmname> [<metric_list>]]
  566.  
  567. metrics enable
  568. [--list]
  569. [*|host|<vmname> [<metric_list>]]
  570.  
  571. metrics disable
  572. [--list]
  573. [*|host|<vmname> [<metric_list>]]
  574.  
  575. metrics collect
  576. [--period <seconds>] (default: )
  577. [--samples <count>] (default: )
  578. [--list]
  579. [--detach]
  580. [*|host|<vmname> [<metric_list>]]
  581.  
  582. natnetwork add --netname <name>
  583. --network <network>
  584. [--enable|--disable]
  585. [--dhcp on|off]
  586. [--port-forward- <rule>]
  587. [--loopback- <rule>]
  588. [--ipv6 on|off]
  589. [--port-forward- <rule>]
  590. [--loopback- <rule>]
  591.  
  592. natnetwork remove --netname <name>
  593.  
  594. natnetwork modify --netname <name>
  595. [--network <network>]
  596. [--enable|--disable]
  597. [--dhcp on|off]
  598. [--port-forward- <rule>]
  599. [--loopback- <rule>]
  600. [--ipv6 on|off]
  601. [--port-forward- <rule>]
  602. [--loopback- <rule>]
  603.  
  604. natnetwork start --netname <name>
  605.  
  606. natnetwork stop --netname <name>
  607.  
  608. natnetwork list [<pattern>]
  609.  
  610. hostonlyif ipconfig <name>
  611. [--dhcp |
  612. --ip<ipv4> [--netmask<ipv4> (def: 255.255.255.0)] |
  613. --ipv6<ipv6> [--netmasklengthv6<length> (def: )]]
  614. create |
  615. remove <name>
  616.  
  617. dhcpserver add|modify --netname <network_name> |
  618. --ifname <hostonly_if_name>
  619. [--ip <ip_address>
  620. --netmask <network_mask>
  621. --lowerip <lower_ip>
  622. --upperip <upper_ip>]
  623. [--enable | --disable]
  624.  
  625. dhcpserver remove --netname <network_name> |
  626. --ifname <hostonly_if_name>
  627.  
  628. usbdevsource add <source name>
  629. --backend <backend>
  630. --address <address>
  631. usbdevsource remove <source name>
  632.  
  633. Introspection and guest debugging:
  634.  
  635. VBoxManage debugvm <uuid|vmname> dumpvmcore [--filename=name]
  636.  
  637. VBoxManage debugvm <uuid|vmname> info <item> [args...]
  638.  
  639. VBoxManage debugvm <uuid|vmname> injectnmi
  640.  
  641. VBoxManage debugvm <uuid|vmname> log [[--release] | [--debug]]
  642. [group-settings...]
  643.  
  644. VBoxManage debugvm <uuid|vmname> logdest [[--release] | [--debug]]
  645. [destinations...]
  646.  
  647. VBoxManage debugvm <uuid|vmname> logflags [[--release] | [--debug]] [flags...]
  648.  
  649. VBoxManage debugvm <uuid|vmname> osdetect
  650.  
  651. VBoxManage debugvm <uuid|vmname> osinfo
  652.  
  653. VBoxManage debugvm <uuid|vmname> osdmesg [--lines=lines]
  654.  
  655. VBoxManage debugvm <uuid|vmname> getregisters [--cpu=id] [reg-set.reg-name...]
  656.  
  657. VBoxManage debugvm <uuid|vmname> setregisters [--cpu=id]
  658. [reg-set.reg-name=value...]
  659.  
  660. VBoxManage debugvm <uuid|vmname> show [[--human-readable] | [--sh-export] |
  661. [--sh-eval] | [--cmd-set]] [settings-item...]
  662.  
  663. VBoxManage debugvm <uuid|vmname> stack [--cpu=id]
  664.  
  665. VBoxManage debugvm <uuid|vmname> statistics [--reset] [--descriptions]
  666. [--pattern=pattern]
  667.  
  668. Extension package management:
  669.  
  670. VBoxManage extpack install [--replace] <tarball>
  671.  
  672. VBoxManage extpack uninstall [--force] <name>
  673.  
  674. VBoxManage extpack cleanup
  675.  
  676. Unattended guest OS installation:
  677.  
  678. VBoxManage unattended detect <--iso=install-iso> [--machine-readable]
  679.  
  680. VBoxManage unattended install <uuid|vmname> <--iso=install-iso> [--user=login]
  681. [--password=password] [--password-file=file] [--full-user-name=name]
  682. [--key=product-key] [--install-additions] [--no-install-additions]
  683. [--additions-iso=add-iso] [--install-txs] [--no-install-txs]
  684. [--validation-kit-iso=testing-iso] [--locale=ll_CC] [--country=CC]
  685. [--time-zone=tz] [--hostname=fqdn]
  686. [--package-selection-adjustment=keyword] [--dry-run]
  687. [--auxiliary-base-path=path] [--image-index=number]
  688. [--script-template=file] [--post-install-template=file]
  689. [--post-install-command=command]
  690. [--extra-install-kernel-parameters=params] [--language=lang]
  691. [--start-vm=session-type]

Workstation和Virtualbox的虚拟机磁盘扩容方式.的更多相关文章

  1. VirtualBox上Centos7磁盘扩容

    VirtualBox上Centos7磁盘扩容 非常实用 点击直达

  2. [CentOS7]Windows下VirtualBox虚拟机磁盘扩容

    目录 虚拟系统磁盘文件扩充 修改分区 LVM更新 扩容文件系统 参考资料 虚拟系统磁盘文件扩充 命令操作 命令行运行VBoxManage,modifyhd扩容需要文件格式为.vdi,如为.vmdk,需 ...

  3. Vmware Linux虚拟机磁盘扩容方法

    我的LINUX版本是ubuntu12.04 32bit.今天在下载android源代码的时候发现自己最初给这个虚拟机分配的磁盘空间不足了(只有20G).所以就需要给磁盘扩容.网上大致搜索了一下,主要有 ...

  4. VMware exsi虚拟机磁盘扩容

    创建Linux时分配磁盘空间随着使用的增加,使用率逐渐升高,需要对/root进行扩容,此时需要在添加或者扩展一下磁盘. 查看Linux版本信息 [root@localhost ~]# cat /etc ...

  5. Extended VM Disk In VirtualBox or VMware (虚拟机磁盘扩容)

    First, Clean VM all snapshot, and poweroff your VM. vmdk: vmware-vdiskmanager -x 16GB myDisk.vmdk vd ...

  6. VirtualBox更改虚拟机磁盘VDI的大小

    流程虚拟机中使用,有时会遇到磁盘大小是不够的,假设一套"动态分配的内存".通过下面的方法来手动扩展磁盘空间. 1.启动CMD命令行.进入VirtualBox安装文件夹.例如 cd  ...

  7. 最简单的Linux虚拟机磁盘扩容方法

    思路:1.虚拟机增加磁盘容量: 2.将增加的磁盘容量增加到系统分区中: 准备阶段: 下载Gparted软件:https://sourceforge.net/projects/gparted/files ...

  8. CentOS6.5 虚拟机 磁盘扩容

    1. 关闭虚拟机 2. 编辑虚拟机设置:增加硬盘的置备大小,或者添加新的硬盘 3. 启动虚拟机,查看可用磁盘大小 : # df -Th Filesystem Type Size Used Avail ...

  9. Vmware centos 虚拟机 磁盘扩容

    一,lvm ext4 扩容 1,首先关闭虚拟机,在vSphere Client 将硬盘大小增加或者新增一块硬盘 (从原来10G增加到50G) 2,开机 此时,df -hT只显示原来的磁盘大小 使用 f ...

随机推荐

  1. 【RAC搭建报错】You need disks from at least two different failure groups, excluding quorum disks and quorum failure groups, to create a Disk Group with normal redundancy

    报错: You need disks from at least two different failure groups, excluding quorum disks and quorum fai ...

  2. Flutter - Finished with error: FormatException: Bad UTF-8 encoding 0xc3 (at offset 169)

    方案1: 更改项目的Encoding方式 File -> Settings -> Editor,  choose "File Encodings", change Pr ...

  3. JDBC Mysql 驱动连接异常

    在做JDBC连接Mysql的时候遇到了三个异常: 第一个是:mysql8.0 caching_sha2_password 这个异常是由于是因为在mysql8.0之前的密码规则是mysql_native ...

  4. Swing的概述

    Swing在Java中是一个包,下面就是它的基本概述:简介: Java为了方便图形界面的实现, 专门设计了类库来满足各种各样的图形元素和用户交互事件, 该类库即为抽象窗口工具箱(Abstract Wi ...

  5. Stack Overflow访问问题的处理

    一直以来都有访问stackoverflow的习惯,但是老是因为js的问题让人很多操作都操作不了,而且打开的速度也很慢. 原因其实就是stackoverflow使用的google的cdn,于是想彻底一点 ...

  6. jar包、war包

    JavaSE程序可以打包成Jar包(J其实可以理解为Java了),而JavaWeb程序可以打包成war包(w其实可以理解为Web了).然后把war发布到Tomcat的webapps目录下,Tomcat ...

  7. golang--性能测试和分析

    前言 测试分为:压力测试.负载测试.性能测试,功能测试等等,其中在开发过程中开发人员经常要写一些test case unit 自己的模块进行功能测试测和性能.在分析出模块的性能瓶颈后开发人员就需要针对 ...

  8. Streamr助你掌控自己的数据(3)——教你在Streamr市场上发布数据

    博客说明 所有刊发内容均可转载但是需要注明出处. 教你在Streamr市场上发布数据 本系列文档主要介绍怎么通过Streamr管理自己的DATA,整个系列包括三篇教程文档,分别是:教你5分钟上传数据至 ...

  9. TensorFlow中的卷积函数

    前言 最近尝试看TensorFlow中Slim模块的代码,看的比较郁闷,所以试着写点小的代码,动手验证相关的操作,以增加直观性. 卷积函数 slim模块的conv2d函数,是二维卷积接口,顺着源代码可 ...

  10. Leetcode_6. Zigzag convertion

    6. Zigzag convertion 对输入的字符串做锯齿形变换,并输出新的字符串,所谓zigzag变化如下图所示. 将"ABCDEFGHIJKL"做4行的锯齿变换,新的字符串 ...