Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying a combination of FCINFO and PSEXEC to get the LUN ID (LUN NUMBER) used by servers, but i cant get this information directly from fcinfo.

I've also try using WMI until i learned that i should know the wmi namespace of the lun controller installed on each server.

Is this possible at all?

share|improve this question
add comment

1 Answer 1

Not sure if you've resolved this issue yet...However this may be possible using Powershell.

You can try the same using the The Get-DiskScsiLun function available in Powershell

The Get-DiskScsiLun function uses the following WMI objects: Win32_LogicalDisk, Win32_LogicalDiskToPartition, Win32_DiskDriveToDiskPartition and Win32_DiskDrive.

For more details please refer http://rvdnieuwendijk.com/2012/05/29/powershell-function-to-get-disk-scsi-lun-number/

Cheers!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.