Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#812 closed enhancement (worksforme)

Crucial MX300 SSD M.2 Support

Reported by: mdednev Owned by:
Priority: minor Milestone: Release 6.6
Component: drivedb Version: 6.5
Keywords: Cc:

Description

Here is information about SSD Crucial MX300. Additional information for
the attributes decoding is in attached Micron Technical Note.

Attachments (3)

smartctl-Crucial-MX300.txt (16.8 KB ) - added by mdednev 7 years ago.
smartctl -A output for Crucial MX300
tnfd22_client_ssd_smart_attributes.pdf (261.7 KB ) - added by mdednev 7 years ago.
Micron's technical note to be used for attribute decoding
smartctl_mx300 (911 bytes ) - added by mdednev 7 years ago.
Simple wrapper shell script for proper attribute decoding when using existing smartctl binary

Download all attachments as: .zip

Change History (5)

by mdednev, 7 years ago

Attachment: smartctl-Crucial-MX300.txt added

smartctl -A output for Crucial MX300

by mdednev, 7 years ago

Micron's technical note to be used for attribute decoding

by mdednev, 7 years ago

Attachment: smartctl_mx300 added

Simple wrapper shell script for proper attribute decoding when using existing smartctl binary

comment:1 by Christian Franke, 7 years ago

Keywords: Crucial MX300 removed
Milestone: Release 6.6
Resolution: worksforme
Status: newclosed

MX300 was added in r4393, r4394. See ticket #763.

comment:2 by Christian Franke, 7 years ago

Simple wrapper shell script for proper attribute decoding when using existing smartctl binary

Note that you could add a local drive database file (e.g. /etc/smart_drivedb.h) for missing entries. See -B, --drivedb option on smartctl man page for further info.

The local entries could also be passed inline in a wrapper script, for example:

#!/bin/bash

db='
  { "Crucial MX300 SSDs",
    "Crucial_CT(275|525|1050|2050)MX300SSD[14]",
    "", "",
    "-v 5,raw48,Reallocate_NAND_Blk_Cnt "
    // ...
  },
  // ...
'

exec /usr/sbin/smartctl -B +<(echo "$db") "$@"

(requires bash due to <(...) redirection, does not work with other shells)

Note: See TracTickets for help on using tickets.