Smartmontools unter Windows

gea

Cadet 4th Year
Registriert
Dez. 2024
Beiträge
84
Smartmontools ist ein wichtiges Tool um Platten zu testen dass es auch unter Windows gibt
Setup: Windows Installer

Howto:
Als erstes muss man die Platten auflisten (Terminal) z.B.

smartctl -d pd --scan
/dev/pd0 -d nvme # /dev/pd0, NVMe device
/dev/pd1 -d scsi # /dev/pd1, SCSI device

Hier ist die Besonderheit dass smartctl nicht die normalen Windows Namen wie physicaldrive0 benutzt sondern pd0

Egal, wir können jétzt da wir das wissen Smart auslesen
(ich wusste das bis heute nicht, ohne -d pd gibt smartct- --scan unter Windows sda,, sdb aus - was Plattenzuordnungen erschwert:

C:\Users\me>smartctl -HA /dev/pd0
Code:
smartctl 7.5 2025-04-30 r5714 [x86_64-w64-mingw32-w11-24H2] (AppVeyor)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning:                   0x00
Temperature:                        40 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    4%
Data Units Read:                    83,124,394 [42.5 TB]
Data Units Written:                 75,628,566 [38.7 TB]
Host Read Commands:                 920,399,201
Host Write Commands:                1,219,291,056
Controller Busy Time:               3,870
Power Cycles:                       2,624
Power On Hours:                     9,416
Unsafe Shutdowns:                   177
Media and Data Integrity Errors:    0
Error Information Log Entries:      10,634
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               40 Celsius
Temperature Sensor 2:               50 Celsius
 
  • Gefällt mir
Reaktionen: madmax2010
Ja, nett die Info das ein Linux-Tool auch unter Windows läuft.
Etabliert hat sich da bei Problemen unter Windows die Software CrystalDiskInfo.
 
Smartmontools ist kein Linux Tool sondern ein allgemeines Tool das Smart Daten oder Plattentemperatur ausliest. Man kann damit auch short und long Tests anstossen um Platten zu prüfen.

Smartmontools ist für praktisch jedes OS verfügbar, für OSX oder Windows direkt als Installer, bei Windows GSmartControl sogar da bereits integriert und muss nichtmal extra installiert werden.

Kurz: Ein unverzichtbares Tool für jeden Storageserver egal welches OS.
 
  • Gefällt mir
Reaktionen: Fusionator, recu und Inzersdorfer
gea schrieb:
Hier ist die Besonderheit dass smartctl nicht die normalen Windows Namen wie physicaldrive0 benutzt sondern pd0

Egal, wir können jétzt da wir das wissen Smart auslesen
(ich wusste das bis heute nicht, ohne -d pd gibt smartct- --scan unter Windows sda,, sdb aus - was Plattenzuordnungen erschwert:

Ich glaube, Du verallgemeinerst Deine Spezialfälle.

Hier gibt es ein paar englischsprachige Tips zur Benutzung von den smartmontools:

https://forum.cgsecurity.org/phpBB3/viewtopic.php?f=5&t=10910
 
gea schrieb:
bei Windows GSmartControl sogar da bereits integriert und muss nichtmal extra installiert werden
Wo/Wie ist das zu finden?
 
@PC295
https://gsmartcontrol.shaduri.dev/software-requirements

Note: The Windows packages already include all the required software.
  • Smartmontools. Windows users have an option to install a separate version of smartmontools on their systems, and GSmartControl will automatically use it.
Ergänzung ()

recu schrieb:
Ich glaube, Du verallgemeinerst Deine Spezialfälle.

Hier gibt es ein paar englischsprachige Tips zur Benutzung von den smartmontools:

https://forum.cgsecurity.org/phpBB3/viewtopic.php?f=5&t=10910
Spezialfall?

Ein normales
smartctl.exe --scan liefert unter Windows
/dev/sda -d nvme # /dev/sda, NVMe device
/dev/sdb -d scsi # /dev/sdb, SCSI device

Ist lustig das den Windows Platten physicaldriveX zuzuordnen

Die Option -d pd ist nur bei Windows unbedingt nötig und die muss man kennen
smartctl.exe -d pd --scan
/dev/pd0 -d nvme # /dev/pd0, NVMe device (=physicaldrive0)
/dev/pd1 -d scsi # /dev/pd1, SCSI device
 
Zuletzt bearbeitet:
  • Gefällt mir
Reaktionen: recu und PC295
Hallo gea,

vielen Dank für den Hinweis, ich glaube, dass könnte schneller sein als mit

smartctl -i /dev/sda
smartctl -i /dev/sdb

sich die einzelnen Festplatten anzugucken!
 
Hi, wo in GSmartControl sieht man die FARM-Werte für eine SeaGate IronWolf, um zu sehen ob die HDD schon gelaufen ist?
Mit der cmd (als Admin) komme ich nicht klar, ist direkt über SATA im PC angeschlossen:

Code:
C:\Program Files\smartmontools\bin> smartctl -d pd --scan
/dev/pd0 -d ata # /dev/pd0, ATA device
/dev/pd1 -d ata # /dev/pd1, ATA device

C:\Program Files\smartmontools\bin>smartctl -HA /dev/pd1
smartctl 7.5 2025-04-30 r5714 [x86_64-w64-mingw32-w10-1809] (AppVeyor)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: Input/output error

If this is a USB connected device, look at the various --device=TYPE variants
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

Code:
C:\Program Files\smartmontools\bin>smartctl --scan-open
/dev/sda -d ata # /dev/sda, ATA device
/dev/sdb -d ata # /dev/sdb, ATA device

C:\Program Files\smartmontools\bin>smartctl -a /dev/sda -d ata
smartctl 7.5 2025-04-30 r5714 [x86_64-w64-mingw32-w10-1809] (AppVeyor)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: Input/output error

If this is a USB connected device, look at the various --device=TYPE variants
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
 
Zuletzt bearbeitet:
Zurück
Oben