Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 294344

create and add virtual disks to existing VMs (ESXi 5)

$
0
0

I found a couple of references to how to do this via searching, but they were all for very old (v2/v3) ESX versions so I'm pretty sure those commands don't exist.

 

I'm looking to support a few users who are doing testing on linux VMs where they require very large numbers of drives in their linux VM's... so I'm pretty sure there is some CLI-driven way that I can create virtual disks and assign them to VM's ... adding 20 disks to 10 machines via the vSphere CLI would take forever.  ;-)

 

I'm sure that the commands will be pretty obvious once I figure it out, but my limited CLI experience involves ssh-ing directly into the ESXi hosts themselves, whereas in this case (I think?) I'm going to be doing it at the vSphere level so that the disks don't necessarily have to exist on the same host as the VMs...

 

even a pointer to the right place in the documentation would be perfect... I'm pretty sure it's going to come down to something this simple:

"create a virtual disk named AAA of size XXX in datastore YYY, and provision it as {thin, thick, whatever}"

"add virtual disk AAA to virtual machine BBB and call it SCSI 0:CCC"

 

I just don't know the commands to translate this into VM-CLI-speak   ;-)


Viewing all articles
Browse latest Browse all 294344

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>