smartctl -h

戻る

C:\Program Files\smartmontools\bin>smartctl -h smartctl version 5.37 [i686-mingw32-xp-sp2] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Usage: smartctl [options] device ============================================ SHOW INFORMATION OPTIONS ===== -h, --help, --usage Display this help and exit -V, --version, --copyright, --license Print license, copyright, and version information and exit -i, --info Show identity information for device -a, --all Show all SMART information for device ================================== SMARTCTL RUN-TIME BEHAVIOR OPTIONS ===== -q TYPE, --quietmode=TYPE (ATA) Set smartctl quiet mode to one of: errorsonly, silent -d TYPE, --device=TYPE Specify device type to one of: ata, scsi, marvell, sat, 3ware,N -T TYPE, --tolerance=TYPE (ATA) Tolerance: normal, conservative, permissive, verypermissive -b TYPE, --badsum=TYPE (ATA) Set action on bad checksum to one of: warn, exit, ignore -r TYPE, --report=TYPE Report transactions (see man page) -n MODE, --nocheck=MODE (ATA) No check if: never, sleep, standby, idle (see man page) ============================== DEVICE FEATURE ENABLE/DISABLE COMMANDS ===== -s VALUE, --smart=VALUE Enable/disable SMART on device (on/off) -o VALUE, --offlineauto=VALUE (ATA) Enable/disable automatic offline testing on device (on/off) -S VALUE, --saveauto=VALUE (ATA) Enable/disable Attribute autosave on device (on/off) ======================================= READ AND DISPLAY DATA OPTIONS ===== -H, --health Show device SMART health status -c, --capabilities (ATA) Show device SMART capabilities -A, --attributes Show device SMART vendor-specific Attributes and values -l TYPE, --log=TYPE Show device log. TYPE: error, selftest, selective, directory, background -v N,OPTION , --vendorattribute=N,OPTION (ATA) Set display OPTION for vendor Attribute N (see man page) -F TYPE, --firmwarebug=TYPE (ATA) Use firmware bug workaround: none, samsung, samsung2 -P TYPE, --presets=TYPE (ATA) Drive-specific presets: use, ignore, show, showall ============================================ DEVICE SELF-TEST OPTIONS ===== -t TEST, --test=TEST Run test. TEST is: offline short long conveyance select,M-N pending,N a fterselect,on afterselect,off -C, --captive Do test in captive mode (along with -t) -X, --abort Abort any non-captive test on device =================================================== SMARTCTL EXAMPLES ===== smartctl -a /dev/hda (Prints all SMART information) smartctl --smart=on --offlineauto=on --saveauto=on /dev/hda (Enables SMART on first disk) smartctl -t long /dev/hda (Executes extended disk self-test) smartctl --attributes --log=selftest --quietmode=errorsonly /dev/hda (Prints Self-Test & Attribute errors) smartctl -a /dev/scsi21 (Prints all information for SCSI disk on ASPI adapter 2, ID 1) smartctl -a /dev/sda (Prints all information for SCSI disk on PhysicalDrive 0) smartctl -a /dev/pd3 (Prints all information for SCSI disk on PhysicalDrive 3) smartctl -a /dev/tape1 (Prints all information for SCSI tape on Tape 1) smartctl -A /dev/hdb,3 (Prints Attributes for physical drive 3 on 3ware 9000 RAID) smartctl -A /dev/tw_cli/c0/p1 (Prints Attributes for 3ware controller 0, port 1 using tw_cli) ATA SMART access methods and ordering may be specified by modifiers following the device name: /dev/hdX:[saic], where 's': SMART_* IOCTLs, 'a': IOCTL_ATA_PASS_THROUGH, 'i': IOCTL_IDE_PASS_THROUGH, 'c': ATA via IOCTL_SCSI_PASS_THROUGH. The default on this system is /dev/hdX:psai C:\Program Files\smartmontools\bin>smartctl -h smartctl version 5.37 [i686-mingw32-xp-sp2] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Usage: smartctl [options] device ============================================ SHOW INFORMATION OPTIONS ===== -h, --help, --usage Display this help and exit -V, --version, --copyright, --license Print license, copyright, and version information and exit -i, --info Show identity information for device -a, --all Show all SMART information for device ================================== SMARTCTL RUN-TIME BEHAVIOR OPTIONS ===== -q TYPE, --quietmode=TYPE (ATA) Set smartctl quiet mode to one of: errorsonly, silent -d TYPE, --device=TYPE Specify device type to one of: ata, scsi, marvell, sat, 3ware,N -T TYPE, --tolerance=TYPE (ATA) Tolerance: normal, conservative, permissive, verypermissive -b TYPE, --badsum=TYPE (ATA) Set action on bad checksum to one of: warn, exit, ignore -r TYPE, --report=TYPE Report transactions (see man page) -n MODE, --nocheck=MODE (ATA) No check if: never, sleep, standby, idle (see man page) ============================== DEVICE FEATURE ENABLE/DISABLE COMMANDS ===== -s VALUE, --smart=VALUE Enable/disable SMART on device (on/off) -o VALUE, --offlineauto=VALUE (ATA) Enable/disable automatic offline testing on device (on/off) -S VALUE, --saveauto=VALUE (ATA) Enable/disable Attribute autosave on device (on/off) ======================================= READ AND DISPLAY DATA OPTIONS ===== -H, --health Show device SMART health status -c, --capabilities (ATA) Show device SMART capabilities -A, --attributes Show device SMART vendor-specific Attributes and values -l TYPE, --log=TYPE Show device log. TYPE: error, selftest, selective, directory, background -v N,OPTION , --vendorattribute=N,OPTION (ATA) Set display OPTION for vendor Attribute N (see man page) -F TYPE, --firmwarebug=TYPE (ATA) Use firmware bug workaround: none, samsung, samsung2 -P TYPE, --presets=TYPE (ATA) Drive-specific presets: use, ignore, show, showall ============================================ DEVICE SELF-TEST OPTIONS ===== -t TEST, --test=TEST Run test. TEST is: offline short long conveyance select,M-N pending,N a fterselect,on afterselect,off -C, --captive Do test in captive mode (along with -t) -X, --abort Abort any non-captive test on device =================================================== SMARTCTL EXAMPLES ===== smartctl -a /dev/hda (Prints all SMART information) smartctl --smart=on --offlineauto=on --saveauto=on /dev/hda (Enables SMART on first disk) smartctl -t long /dev/hda (Executes extended disk self-test) smartctl --attributes --log=selftest --quietmode=errorsonly /dev/hda (Prints Self-Test & Attribute errors) smartctl -a /dev/scsi21 (Prints all information for SCSI disk on ASPI adapter 2, ID 1) smartctl -a /dev/sda (Prints all information for SCSI disk on PhysicalDrive 0) smartctl -a /dev/pd3 (Prints all information for SCSI disk on PhysicalDrive 3) smartctl -a /dev/tape1 (Prints all information for SCSI tape on Tape 1) smartctl -A /dev/hdb,3 (Prints Attributes for physical drive 3 on 3ware 9000 RAID) smartctl -A /dev/tw_cli/c0/p1 (Prints Attributes for 3ware controller 0, port 1 using tw_cli) ATA SMART access methods and ordering may be specified by modifiers following the device name: /dev/hdX:[saic], where 's': SMART_* IOCTLs, 'a': IOCTL_ATA_PASS_THROUGH, 'i': IOCTL_IDE_PASS_THROUGH, 'c': ATA via IOCTL_SCSI_PASS_THROUGH. The default on this system is /dev/hdX:psai
戻る