Solved

Understanding Drive's  Bus Number/TargetID/LUN

Posted on 2011-09-22
9
3,057 Views
Last Modified: 2012-05-12
right click on any drive->properties->Hardware Table->Click on Name of Drive and then see below drive properties

On a physical machine with SAN, I see

Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 0
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 1
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 2
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 3
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 4
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 5
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 6
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 7
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 8
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 9
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 10
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 11
Location: Bus Number 1, TargetID 0, LUN 0

vs

On a VM I see

Location: Bus Number 0, TargetID 0, LUN 0
Location: Bus Number 0, TargetID 1, LUN 0
Location: Bus Number 0, TargetID 2, LUN 0

Does that mean in the physical machines, there are 12+1 LUNs? There 2 Bus numbers what is the significanse of it?
on the VM, does that mean there are all in the dedault LUN of the datastore?
0
Comment
Question by:25112
  • 5
  • 4
9 Comments
 
LVL 118
ID: 36580922
For the moment lets ignore physical and virtual machines, and look at some terms

Bus Number
This is the Storage Bus Number

TargetID
This is the method by which individual devices are identified on the Storage Bus. Often called a SCSI ID, each disk or chassis location has an ID.

LUN
A LUN is a Logical Unit Number. It can be used to refer to an entire physical disk, or a subset of a larger physical disk or disk volume. The physical disk or disk volume could be an entire single disk drive, a partition (subset) of a single disk drive, or disk volume from a RAID controller comprising multiple disk drives aggregated together for larger capacity and redundancy. LUNs represent a logical abstraction or, if you prefer, virtualization layer between the physical disk device/volume and the applications.

On your phsyical machine, you would have 13 disks presented to the OS, on Bus 0, SCSI 6, LUN - 0 - 11, and Bus 1, SCSI ID 0, LUN 0
On your virtual machinbe, you would have 3 disks presented to the OS, on SCSI ID 0, 1, 2

it's has nothing to do with datastores. Only the Physcial Server HOSTING the VM, has datastores.
0
 
LVL 5

Author Comment

by:25112
ID: 36581495
>>It can be used to refer to an entire physical disk, or a subset of a larger physical disk or disk volume. The physical disk or disk volume could be an entire single disk drive, a partition (subset) of a single disk drive, or disk volume from a RAID controller comprising multiple disk drives aggregated together for larger capacity and redundancy.

so many options there.. so just by looking at disk management it is not possible to tell what exactly or how small/big the LUN is, right?you need more tool as you said..
--------------------------
>On your phsyical machine, you would have 13 disks presented to the OS, on Bus 0, SCSI 6, LUN - 0 - 11, and Bus 1, SCSI ID 0, LUN 0

2 bus- 2 devices- lot of LUNs is that typical of SAN
1 bus-3devices-1LUN - means like 3 exit doors on a bus? (one box availing itself 3 times)-more room for bottleneck?

-----------------------------
datastore- i understood from the other post that it is the basically the array or arrays of disk, and the supply for disk. I understand it for a VM machine, that its host holds the datastore.. what about in a purely physical server.. how do you define its datastore.

0
 
LVL 118
ID: 36581882
The LUN is equal to the disk partition or disk, so LUN 12 = a Disk Partition or Disk.

It is typical of a SAN, but could also be local attached Scsi Disk.

Yes, But The BUS is designed to commincate with multiple devices.

A physical server just has disks. There is not datastore on a phsyical disk.

Datastores are sepecifc to VMware hosts, where a bunch of disks or single disk is formatted with VMFS (VMware Filing System), this is a datastore, where Virtual Machines are stored.

0
 
LVL 5

Author Comment

by:25112
ID: 36582112
OK-
with the VM,
"
Location: Bus Number 0, TargetID 0, LUN 0
Location: Bus Number 0, TargetID 1, LUN 0
Location: Bus Number 0, TargetID 2, LUN 0
"
does it confirm that all 3 drives are part of the same LUN?

 (perhaps other VM have drives part of this LUN, too, but which we do not know from the above) there may be more LUNs in the datastore or the LUN is the only one for datastore for the Hosting machine.. right?
0
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 
LVL 118
ID: 36582129
No, Because each has a Seperate TagertID, SCSI Id.

Each is Unique.

do not consure host storage resources with virtual machines guests.

Until you have access to the host, you will never know, how Host Storage is configured.
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 36582159
It's possible that VMs, may or may not share the same datastore on the hosts, the hosts may have multiple datastores, connected to SANs or Local Storage.

There is NO WAY to tell, unless you have access to the HOST server, hosting rhe VMs.
0
 
LVL 5

Author Comment

by:25112
ID: 36582208
>>No, Because each has a Seperate TagertID, SCSI Id.

OK; I take that for the VM environment. thanks..

 What about physical? does the same reasoning apply:  Each is not Unique?


Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 0
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 1
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 2
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 3
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 4
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 5
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 6
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 7
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 8
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 9
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 10
Port(2,2,2,2,3,3,3,3) Location: Bus Number 0, TargetID 6, LUN 11
Location: Bus Number 1, TargetID 0, LUN 0
0
 
LVL 118
ID: 36582261
No, because here the SCSI ID is the Same, it's 6, LUN is variable, so SCSI Address can contacted

0:6:0, 0:6:1 these could be disks, or Disk Units on a SAN/DAS, or storage which is presented to the server. (direct attached storage chassis)
0
 
LVL 5

Author Comment

by:25112
ID: 36594202
thanks as always..
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now