Solved

Understanding Drive's  Bus Number/TargetID/LUN

Posted on 2011-09-22
9
2,923 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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
>>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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
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
Google Storage: Standard vs. Nearline vs. Coldline

Google Cloud Storage has a number of classes to choose from. Although there are a lot in common, they vary in price and usage terms. This post explains Google Cloud Storage classes and helps to understand which  one to choose.

 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
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
Comment Utility
>>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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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
Comment Utility
thanks as always..
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Learn about cloud computing and its benefits for small business owners.
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

772 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

12 Experts available now in Live!

Get 1:1 Help Now