Netapp Serial Number

  • NetApp and LUN serial. The resulting WWID for this 'Serial#' will be 36564494b346f6e7575736f. It looks like ' 360a98000 ' prefix belongs to NetApp company; this part is fixed part of WWID and not included into this 'Serial#' string. Then the string just printed in hexadecimal form.
  • The environment where I do things is hosted on NetApp storage, and the LUN serial number from NetApp arrays is in ASCII, so in order to match to the ScsiCanonicalName the LUN serial number first needs to be converted to HEX.
  • I want to know my netapp storage serial number, I connect this device via it's management IP, then I login the web page,but can't find where's the SN. I'm on a local office,and my device is in my IDC room,so I only use the web manage it.

What was the command to retrieve the serial number from a 6280 or 3210 filer or any filer for that matter. I thought it was simply: serialnum.

Netapp Serial Number Command

Number
Home > VMTN > Automation Tools > VMware PowerCLI > Discussions
Netapp 7 mode commands



How to trace a VM disk to a guest disk

No voodoo involved. If you’re a Linux person then the mechanics of this process should work for you also. For Windows people I'll include some PowerShell code that should work in Server 2008 and later (requires PowerCLI, and uses WMI).

How to trace a disk:

  • IF THE DISK IS NOT a physical mode RDM then simply match the ddb.uuid (virtual disk uuid) of the vmdk to the disk serial number seen in the guest OS. To get the virtual disk uuid in PowerShell you can call the queryvirtualdiskuuid method of the VirtualDiskManager managed object (example in code). If you’re not an administrator in VMware then you’ll need System.View privilege, and on every datastore with a disk you want to inspect you’ll need the Datastore.FileManagement privilege.
  • IF THE DISK IS a physical mode RDM then it’s a little trickier but not bad. In this case the disk serial reported in the guest should display the LUN serial number from the array - NOT the virtual disk uuid of the RDM vmdk. For these you need to try to match the disk serial of the guest with the last 24 characters of the ScsiCanonicalName of the VM hard disk. This may or may not be a 1-step process. The environment where I do things is hosted on NetApp storage, and the LUN serial number from NetApp arrays is in ASCII, so in order to match to the ScsiCanonicalName the LUN serial number first needs to be converted to HEX. Not sure how other storage vendors are formatting their LUN serial numbers so you may need to tweak. I’ve coded the script below to hopefully work if you’re on some other array vendor and they either A) use a 12-character ASCII LUN serial number, or B) present a 24-chracter HEX LUN serial number.

Works great in my environment but certainly not claiming it will work everywhere. What I know for sure:

Netapp serial number warranty

Netapp License Keygen

  1. Works on Windows VMs with between 1 and 4 SCSI adapters. (Based on the methodology # SCSI adapters should not matter, nor should their model.)
  2. Works with physical mode RDM disks presented from NetApp storage. (Never tried with virtual mode but don't they should work, possibly minor adjustments required.)
  3. 2003 servers don’t work because the Win32_DiskDrive class of WMI didn't provide a SerialNumber property in that version (probably solvable if you must).
  4. If anything exists in the guest that masks the disk serial number then this will not work.
  5. This won't work somewhere and probably lots of places. Interested to hear your stories either way.

Netapp Warranty Lookup

This code is just hacked together. No error handling - if it bombs it bombs. Just connect to your VI server (script does NOT do this) and edit $vmName to match the server you want to check.

Enjoy