Issues with 'smartctl -d test' in Windows
Arun Anbalagan <[email protected]> Fri, 15 Jul 2016 11:20:54 +0900
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <CAMWJ6CjJ6P=8csQNpaSzrggwXa=04ddHrg4oCicU_6=Phn0UCQ@mail.gmail.com> |
Hi there, I'm trying to query the SMART metrics (-A / -a) in my Windows server. But, using 'smartctl -A /dev/sda' doesn't help, as I received the following error: *# smartctl -A /dev/sda* *Read Device Identity failed: Input/output Error* *A mandatory Smart command failed: exiting. To continue, add one or more '-T permissive' option.* Hence, I tried finding the correct 'device' type, using 'smartctl -d test'. *# smartctl -d test /dev/sda* */dev/sda: Device of type 'ata' [ATA] detected* */dev/sda: Device of type 'ata' [ATA] opened* I assumed that the right option to use should be '-d ata', and issued the command as follows: *# smartctl -A -d ata /dev/sda* Unfortunately, it failed with the same error message shown above (noticed with 'smartctl -A /dev/sda'). After some research, I decided to use *'# smartrctl -A -d sat /dev/sda'*, and smartctl behaved correctly and displayed the metrics. I'm just wondering, why 'smartctl -d test' doesn't display 'sat'. Isn't the output of 'smartctl -d test' misleading? Please correct me if I have misunderstood something here. I'm using Windows 7, with the hard disks being 'Samsung MZMLN256HCHP-000' SSD disks. Since I'm not quite aware of the disk types before running 'smartctl -A', I rely on 'smartctl -d test' to decide them. Is there any known issue with '-d test' in Windows? If so, is there any other method to get the device type? Thanks for your inputs. Regards, Arun. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Smartmontools-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/smartmontools-support