Category Archives: Storage array

How to match an Windows (HyperV) disk to a SAN attached disk using the wwn

Hard Drive

Where do I find the wwn of a disk in Windows / HyperV? That’s the question.

There are a number of identifiers to find out which LUN is which disk, but the only undeniably unique number to find out which disk is which LUN is by using the globally unique wwn number of a LUN. The question is: “where can I find the wwn of a disk in HyperV?”

The LUN number, as assigned by the storage array can be found by using diskpart:

Read more »

How to list the naa-numbers of LUNs and VMware VMFSs on a Dell EMC Unity system

EMC Unity

In the Unity the naa numbers (wwn) are listed in the “block” section, but not in the VMware section. If you view the LUNs from the host perspective, the naa numbers are visible, but in the list of LUNs ¬†would have been easier. You can list all details from LUNs and datastores on the CLI by using the uemcli commands:

uemcli -d 10.11.12.13 -u Local\admin -p [password] /stor/prov/luns/lun show -detail > unity.txt
uemcli -d 10.11.12.13 -u Local\admin -p [password] /stor/prov/vmware/vmfs show -detail >> unity.txt

Now simply open the unity.txt file and voila: there they are!

New Dell EMC Unity lineup: Unity XT 380F, 480F, 680F and 880F?

While looking for something totally different I stumbled on a few new Unity XT (?) model numbers.

On this dellemc.com website I spotted some Chinese publication on this new model.

[edit] The new and working website is now working: www.dellemc.com.

Read more »

How to expand a LUN on VNX using the CLI

Once in a while you come across a storage system that cannot be managed through the GUI or you just want to script or use the CLI to perform management tasks on a VNX. Recently I came across an old VNX2 which GUI wasn’t responding the way I’d like, so I decided to use the CLI instead.

In this particular case I needed to expand a LUN.

First I listed the current size:

naviseccli -h [SPA/B ip#] -user [user] -password [password] -scope [scope] getlun [LUN#]

Then I expanded the LUN to the new size:

naviseccli -h [SPA/B ip#] -user [user] -password [password] -scope [scope] lun -expand -l [LUN#] -capacity [new capacity] -sq [mb/gb/tb/bc]

Pay attention to the number and the prefix! It could be a lot of work if you needed to resize a LUN from 50GB to 60GB and instead GB, you used TB…..

And finally I checked if the new size was actually available:

naviseccli -h [SPA/B ip#] -user [user] -password [password] -scope [scope] getlun [LUN#]

Sometimes CLI is so much easier than the GUI!

Read more »

How to remove an offline VNX from a Unisphere domain

When decommissioning a VNX, I recently forgot to remove the array from the existing domain. After the VNX was “unracked and unstacked” I saw my mistake and tried to remove it from the domain by using the “add/remove systems” in Unisphere, but the remove-button was grayed out. Even engineering mode didn’t help me.

There is another way to remove unwanted VNXs from a domain! You might have guessed it already, because it’s by using the command line!

First you’ll have to find out what existing VNX is the domain master. This can be done in Unisphere by looking up the current master. Click on “Domains” followed by “Select Domain Master”.

The outcome will show you the list of domain in the domain as well as the current master.

Now you can open a command line box and enter the following command to deleted the unwanted VNX from the domain:

naviseccli -Address -User -Password -Scope 2 domain -remove