Custom Query (1469 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (184 - 186 of 1469)

Ticket Resolution Summary Owner Reporter
#1479 worksforme Add support for Realtek RTL9210B USB to SATA bridge David
Description

I just bought a Sabrent USB adapter containing the RTL9210B which supports both NVME and SATA M.2 disks. I have a SATA disk installed but I can´t read any smart data. Would it be possible to add support for this chipset? I saw another ticket, 1315, asking for added support, but then for the chipset without B, which seems only NVME. I now get (when using smartctl -d scsi -a /dev/sdb):

smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.11.16-1-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               Sabrent
Product:              
Revision:             1.00
Compliance:           SPC-4
User Capacity:        1.000.204.886.016 bytes [1,00 TB]
Logical block size:   512 bytes
Physical block size:  4096 bytes
LB provisioning type: not reported [LBPME=1, LBPRZ=0]
Rotation Rate:        Solid State Device
Logical Unit id:      0x3001237923792379
Serial number:        0000000000000000
Device type:          disk
Local Time is:        Wed Apr 28 17:46:12 2021 CEST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Disabled or Not Supported

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature:     0 C
Drive Trip Temperature:        0 C

Error Counter logging not supported

Device does not support Self Test logging

If I execute: smartctl -d test -a /dev/sdb I get:

/dev/sdb [USB NVMe Realtek]: Device of type 'sntrealtek' [NVMe] detected
/dev/sdb [USB NVMe Realtek]: Device of type 'sntrealtek' [NVMe] opened

Thanks in advance.

#1427 fixed Add support for SCT Error Recovery Timer features added in ACS-4 Christian Franke Jeremy Bauer
Description

ATA command set version 4 (ACS-4) and later support new capabilities for the SMART Command Transport (SCT) Error Recovery Control (ERT) function. Specifically, function codes 0003h-0005h were added. These functions are very useful for saving and retrieving persistent-over-power-cycle timer values and for resetting the drive to the manufacturer defaults. The patch provided enables the ability to use these new function codes by extending the functionality of the scterc.

The attached patch was generated from the git repo. Let me know if a svn patch is preferred.

Usage update:

-l TYPE, --log=TYPE

Show device log. TYPE: error, selftest, selective, directory[,g|s], xerror[,N][,error], xselftest[,N][,selftest], background, sasphy[,reset], sataphy[,reset], scttemp[sts,hist], scttempint,N[,p], scterc[,N,M][,p|r], devstat[,N], defects[,N], ssd, gplog,N[,RANGE], smartlog,N[,RANGE], nvmelog,N,SIZE

Man page update:

scterc[,READTIME,WRITETIME][,p|r] - [ATA only] prints values and descriptions of the SCT Error Recovery Control settings. These are equivalent to TLER (as used by Western Digital), CCTL (as used by Samsung and Hitachi/HGST) and ERC (as used by Seagate). READTIME and WRITETIME arguments (deciseconds) set the specified values. Values of 0 disable the feature, other values less than 65 are probably not sup\u2010 ported. For RAID configurations, this is typically set to 70,70 deciseconds. If ',p' is specified with read and write time values, these time values will be persistent over a power-on reset. If ',p' is specified without read and write time values, the persistent over power-on values will be returned. If ',r' is specified, all SCT timer settings are restored to the manufacturer's default value. The ',p' and ',r' options require the device to support ACS-4 or higher.

Usage Examples:

1) Print persistent power-on values

jrbauer@zeus:~$ sudo smartctl -l scterc,p /dev/sdb smartctl 7.2 (build date Jan 11 2021) [x86_64-linux-5.4.0-60-generic] (local build) Copyright (C) 2002-21, Bruce Allen, Christian Franke, www.smartmontools.org

SCT Error Recovery Control: Power-on Read: Disabled

Power-on Write: Disabled

2) Set power-on values

jrbauer@zeus:~$ sudo smartctl -l scterc,80,82,p /dev/sdb smartctl 7.2 (build date Jan 11 2021) [x86_64-linux-5.4.0-60-generic] (local build) Copyright (C) 2002-21, Bruce Allen, Christian Franke, www.smartmontools.org

SCT Error Recovery Control set to:

Power-on Read: 80 (8.0 seconds)

Power-on Write: 82 (8.2 seconds)

3) Reset power-on and current values to the device default

jrbauer@zeus:~$ sudo smartctl -l scterc,r /dev/sdb smartctl 7.2 (build date Jan 11 2021) [x86_64-linux-5.4.0-60-generic] (local build) Copyright (C) 2002-21, Bruce Allen, Christian Franke, www.smartmontools.org

SCT Error Recovery Control set to: default values.

#130 fixed Add support for Samsung Story Station 3.0 2TB Drive Christian Franke Steven Ellis
Description

Drive works with the "-d sat" option.

smartctl -a -d sat /dev/sdb
smartctl 5.40 2010-10-16 r3189 [x86_64-redhat-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     SAMSUNG HD203WI
Serial Number:    S27KJ1ZZ600470
Firmware Version: 1AN10003
User Capacity:    2,000,398,934,016 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 6
Local Time is:    Mon Dec 20 17:03:10 2010 NZDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Drive HD203WI is an EcoGreen F3

The following needs to be added to drivedb.h

  { "USB: Samsung Story Station; ",
    "0x04e8:0x6054",
    "",
    "",
    "-d sat"
  },
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.