?
Solved

VMWare - add virtual disks to a VM

Posted on 2013-06-25
11
Medium Priority
?
355 Views
Last Modified: 2013-06-25
Hi,

Sorry for the dummy question, first time doing it...

I have a VM that I want to assign three virtual disks to it 3x150G, and 2x500g. (so its 5)

In VMware I have this datastores assigned to my VMs - datastores file attached and VM summary attached

So, can I go ahead and Create New Virtual disks with the sizes I want? (split it), (using the datastore that I have "ds_local")

By doing this will it appear in the fdisk command in my VM the disk?

In the VM (that runs RHEL) what I have now is this:

[root@otadp9app ~]# fdisk -l

Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00097b50

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64        3917    30944256   8e  Linux LVM

Disk /dev/mapper/vg_sysomostst-lv_root: 27.5 GB, 27455913984 bytes
255 heads, 63 sectors/track, 3337 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
datastores.jpg
vm-summary.jpg
create-VD.jpg
0
Comment
Question by:joaotelles
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 39276088
Yes, when you create a virtual disk, you have the option to specify size, and which datastore it's located on, also you have the choice, of which SCSI ID on the SCSI Bus the disk is associated, assuming a SCSI disk.

this will then be

/sdb
/sdd
/sde
/sdf

etc
0
 

Author Closing Comment

by:joaotelles
ID: 39276101
Tks.
0
 
LVL 123
ID: 39276105
no problems
0
ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

 

Author Comment

by:joaotelles
ID: 39276130
I can see the LUNs there but they dont have the SCSI UID....

[root@otadp9db /]# ls -ltr /dev/sd[b-z]
brw-rw----. 1 root disk 8, 16 Jun 25 16:03 /dev/sdb
brw-rw----. 1 root disk 8, 32 Jun 25 16:03 /dev/sdc
brw-rw----. 1 root disk 8, 48 Jun 25 16:03 /dev/sdd
brw-rw----. 1 root disk 8, 64 Jun 25 16:03 /dev/sde
brw-rw----. 1 root disk 8, 80 Jun 25 16:03 /dev/sdf


[root@otadp9db /]# /sbin/scsi_id -g -u /dev/sdc
[root@otadp9db /]#


Am I missing anything?
0
 
LVL 123
ID: 39276142
SCSI ID is shown, at the VM Settings, it's not likely to be shown to VM, because it's a virtual scsi id, for a virtual scsi disk
0
 

Author Comment

by:joaotelles
ID: 39276158
Im not finding it...

See attachment...
disk-settings.jpg
0
 
LVL 123
ID: 39276177
scsi id
0
 

Author Comment

by:joaotelles
ID: 39276198
The ID is '2' ??? I didnt understand.. I was hoping to get something like this:

[root@agi4 ~]# scsi_id -g -u -s /block/sdb
36000c295c6b7b66cac7736df6b7cc1b3
0
 
LVL 123
ID: 39276209
SCSI ID is shown in VM Settings for the disk.

Yes, the SCSI ID for the disk on the bus is 2.

it will not be shown in the VM. (it's virtual aka does not exist!)

scsi_id queries a SCSI device via the SCSI INQUIRY, but these disks are not true scsi disks, that only happens in the real physical world!

this is virtual.
0
 

Author Comment

by:joaotelles
ID: 39276393
Tks for the help once again! :)
0
 
LVL 123
ID: 39276530
no probs!
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question