Category Archives: hardware - Page 2

How to find out the LUN id of a Windows disk

Hard Drive

Attaching multiple LUNs to a Windows host and later trying to figure out which LUN is which can be a drag. I found out that using the “details disk” command in diskpart can help you finding backup the right LUN:

 

diskpart

list disk

select disk 19 (or whatever drive you want to see the details of)

detail disk

HITACHI DF600F  Multi-Path Disk Device
Disk ID: 00000000
Type   : FIBRE
Status : Online
Path   : 0
Target : 2
LUN ID : 7
Location Path : UNAVAILABLE
Current Read-only State : Yes
Read-only  : Yes
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

There are no volumes.

 

So in this particular case the Host LUN id was 7. This should help you along a bit 🙂

Dell EMC World 2016 Austin, TX, USA

Dell EMC World 2016

You’ve all heard the news last week (at least, I think you did): On September 7 the huge merger between Dell and EMC took place, making the Dell Technologies transaction the biggest technology company integration in history! So the digital transformation is really here, and Dell Technologies / Dell EMC is leading the way. From October 18 to 20, Dell EMC will host business and IT leaders from around the world for the biggest enterprise technology event of the year, Dell EMC World 2016 in Austin, Texas. And I received an invite to join the EMC Elect and Dell Rock Stars to report on the news that Michael Dell and others will bring us. Many thanks go to Mark Browne, who made sure EMC Elect people were invited to be present at this event. We’ll be in super secret influencer meetings, sneak peek preview breakfasts and we’ll be sitting in a reserved seat section to watch Michael Dell perform on stage! Yeah, I’m pretty excited! After being invited to the VNX2 launch in Milan in 2013, I’m once again present at a major event as part of the EMC Elect.

Read more »

How to add new members to an existing Cisco smart zone

Cisco MDS

DCNM is down. I love the tool, but the downside is that you forget how to use the CLI. I faced downtime of our DCNM appliance and was forced to use the CLI instead. No big deal actually, but I still want to post the commands to use when you need to add new hosts to existing zones.

First you might want to create a new device alias for the new hosts:

device-alias database
device-alias name server1 pwwn 20:11:00:15:b9:00:00:00
device-alias name server2 pwwn 20:11:00:15:b9:00:00:01
device-alias commit

And then you want to add the new aliases to the existing (smart) zone:

config
zone name NameOfZone vsan 123
member device-alias server1 init
member device-alias server2 init
zone commit vsan 123

You can commit the whole zoneset now by running:

zoneset activate name ZoneSetName vsan 123

That’s it! there’s not much to it, and can save you a lot of time as well!

Useful EMC VMAX CLI commands

VMAX

Over the years I collected a number of useful CLI commands to control the DMX / VMAX machines I worked with. Even though nowadays Unisphere for VMAX is a useful tool, nothing really beats the command line!
Read more »

How to list Host LUN ids in VMAX Masking Views

VMAX

Creating tdevs and masking them to hosts (storage groups in a masking view) is relatively easy in the Unisphere for VMAX interface, but what if you add a few tdevs of exactly the same size and you want to make sure that the VMware administrator uses the right LUN for each VMFS he’s going to create? One way to make sure he knows which LUN corresponds with what tdev is the Host LUN id. To list the host LUN ids

symaccess -sid 1234 show view mv_some-maskingview-name

or (a bit more verbose)

symaccess -sid 1234 list view -name mv_some-maskingview-name -detail

The second command shows each initiator group nested within other initiator groups as well.

Both generate a table with the following headers:

Sym                                                            Host
Dev     Dir:Port    Physical    Device    Name    Lun    Attr    Cap(MB)

The column under “Host Lun” shows the Host LUN ids.