NetXMS Support Forum

English Support => General Support => Topic started by: xenth on April 17, 2008, 04:52:38 PM

Title: S.M.A.R.T. value readout question
Post by: xenth on April 17, 2008, 04:52:38 PM
Question about the parameter in PhysicalDisk.SmartStatus

The parameter page on the documentation page says the following: Zero-based HDD number on Windows

Exactly what is this? And how do I find out what number the target HDD has? 

Couldn't find this on Google  :(
Title: Re: S.M.A.R.T. value readout question
Post by: Alex Kirhenshtein on April 17, 2008, 09:55:10 PM
This number is used to make device name (\\.\PhysicalDriveX, where X is that number) for accessing it using CreateFile().

You can find out disk number in Device manager: select HDD -> Properties -> Volumes -> Populate. "Disk" field should be something like 'Disk X' - that's it.
Title: Re: S.M.A.R.T. value readout question
Post by: xenth on April 21, 2008, 09:44:22 AM
Thanks, works like a charm  :)