FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2010
    Posts
    637

    how do I check SSD drive health?

    Hi All,

    SSD vendors have Windows based utilities to run trim and to check drive health. How do I do check SSD drive health in Fedora?

    Many thanks,
    -T

  2. #2
    Join Date
    Feb 2009
    Location
    Florida
    Posts
    524

    Re: how do I check SSD drive health?

    I don't know about trim, but I use 'smartmontools' to monitor drive health.

    Code:
    [root@fed26 ~]# smartctl -i /dev/sdb
    smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.11.4-300.fc26.x86_64] (local build)
    Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
    
    === START OF INFORMATION SECTION ===
    Model Family:     Western Digital Caviar Black
    Device Model:     WDC WD5002AALX-00J37A0
    Serial Number:    WD-xxxxxxxxxxxxxx
    LU WWN Device Id: xxxxxxx xxxxxxxxx
    Firmware Version: 15.01H15
    User Capacity:    500,107,862,016 bytes [500 GB]
    Sector Size:      512 bytes logical/physical
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   ATA8-ACS (minor revision not indicated)
    SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
    Local Time is:    Tue Jun 13 21:07:44 2017 EDT
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    
    [root@fed26 ~]#
    There is a detailed health report available using ' smartctl -a /dev/sdx ' command.

    Its in base Fedora repo.

    Code:
    [root@fed26 ~]# dnf install smartmontools
    There's a decent man document. after installation just type 'man smartctl'

    PS: being a CLI guy I entirely forgot there is a smart readout available on the Gnome GUI 'disks' tool. Just pick the menu in the upper right corner.
    Last edited by Kobuck; 14th June 2017 at 02:32 AM. Reason: more info
    Laptop: ASUS K61IC/ Intel T6600 2.20Ghz x2/ 4GB/ 320GB SataII/ NVidia G96M/ fc27.x86_64
    Tower: GigaByte (990FXA)/ AMD 1100T 3.3Ghz x6/ 16GB/ 7.5TB Sata III/ AMD 6770HD/ fc27.x86_64
    Bookshelf: Shuttle DS61 (H61)/ i3-3225 3.3Ghz x2/ 16GB/ 320GB Sata II/ Intel HD 4000/ fc26.x86_64
    Embedded: BeagleBone Blk / ARM AM3358 1 GHz x1/ 512MB/ 2GB eMMC/ PowerVR SGX530/ fc27.armv7hl

  3. #3
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,270

    Re: how do I check SSD drive health?

    If your drive supports TRIM, you can enable the fstrim.timer service and it will get trimmed periodically

    Code:
    systemctl enable --now fstrim.timer

Similar Threads

  1. How can I check my hard drive?
    By JustRob in forum Using Fedora
    Replies: 2
    Last Post: 19th March 2015, 07:22 PM
  2. How to check hard drive space?
    By digbydriver in forum Using Fedora
    Replies: 6
    Last Post: 8th October 2006, 04:44 AM
  3. Check Hard Drive
    By sfboarders in forum Hardware & Laptops
    Replies: 3
    Last Post: 25th June 2005, 06:29 AM
  4. How do I check on how much space do I got in hard drive
    By productive in forum Using Fedora
    Replies: 2
    Last Post: 21st April 2005, 02:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •