Custom Query (1556 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (307 - 309 of 1556)

Ticket Resolution Summary Owner Reporter
#1161 duplicate /dev/sda: Unknown USB bridge [0x152d:0x0578 (0x3101)] Jean-Marc LACROIX
Description

Hi dear team,

I am using one HC1 SBC board (octa armhf CPU 32 bits) from hardkernel with one 250 GB SSD drive connected on internal USB3 to SATA.

It seems supported on Linux OS 4.18, because i can access on the device.

It seems also possible to use LVM without issues in first analyse.

But after creating around 120 logical partition (LV), i try to use smartmontools to extract statistics on the SSD.

When i launch following command :

smartctl -i /dev/sda --xall

i have : Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sda: Unknown USB bridge [0x152d:0x0578 (0x3101)] Please specify device type with the -d option.

Current Linux kernel : root@srv-hc1-110:~# uname -a Linux srv-hc1-110 4.18.0-0.bpo.3-armmp-lpae #1 SMP Debian 4.18.20-2~bpo9+1 (2018-12-08) armv7l GNU/Linux root@srv-hc1-110:~# dpkg -l |grep smartmon ii smartmontools 6.5+svn4324-1 armhf control and monitor storage systems using S.M.A.R.T.

Thanks in advance for your help Best regards

#1163 duplicate Transcend MTS800 (TS256GMTS800) papamoose
Description

Attributes 160-169 don't seem to be in the database. Based on some googling it seems the attributes are the same as the values for some other transcend ssds.

root@debian:~# /usr/sbin/smartctl -A /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-5-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x0000   100   100   000    Old_age   Offline      -       0
  5 Reallocated_Sector_Ct   0x0000   100   100   000    Old_age   Offline      -       0
  9 Power_On_Hours          0x0000   100   100   000    Old_age   Offline      -       13711
 12 Power_Cycle_Count       0x0000   100   100   000    Old_age   Offline      -       77
160 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       0
161 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       43
163 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       26
164 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       31697
165 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       85
166 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       0
167 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       31
168 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       3000
169 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       99
175 Program_Fail_Count_Chip 0x0000   100   100   000    Old_age   Offline      -       0
176 Erase_Fail_Count_Chip   0x0000   100   100   000    Old_age   Offline      -       0
177 Wear_Leveling_Count     0x0000   100   100   050    Old_age   Offline      -       0
178 Used_Rsvd_Blk_Cnt_Chip  0x0000   100   100   000    Old_age   Offline      -       0
181 Program_Fail_Cnt_Total  0x0000   100   100   000    Old_age   Offline      -       0
182 Erase_Fail_Count_Total  0x0000   100   100   000    Old_age   Offline      -       0
192 Power-Off_Retract_Count 0x0000   100   100   000    Old_age   Offline      -       49
194 Temperature_Celsius     0x0000   100   100   000    Old_age   Offline      -       33
195 Hardware_ECC_Recovered  0x0000   100   100   000    Old_age   Offline      -       194
196 Reallocated_Event_Count 0x0000   100   100   016    Old_age   Offline      -       0
197 Current_Pending_Sector  0x0000   100   100   000    Old_age   Offline      -       0
198 Offline_Uncorrectable   0x0000   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0000   100   100   050    Old_age   Offline      -       0
232 Available_Reservd_Space 0x0000   100   100   000    Old_age   Offline      -       100
241 Total_LBAs_Written      0x0000   100   100   000    Old_age   Offline      -       180500
242 Total_LBAs_Read         0x0000   100   100   000    Old_age   Offline      -       160835
245 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       253576

The following patch is all that would be necessary.

# diff drivedb.h drivedb.h.new
1555a1556,1568
>   { "Transcend MTS800",
>     "TS(64|128|256|512|1T)GMTS800", // tested with TS256GMTS800 only
>     "", "",
>     "-v 160,raw48,Uncorrectable_Error_Cnt "
>     "-v 161,raw48,Valid_Spare_Block_Cnt "
>     "-v 163,raw48,Initial_Bad_Block_Count "
>     "-v 164,raw48,Total_Erase_Count "
>     "-v 165,raw48,Max_Erase_Count "
>     "-v 166,raw48,Min_Erase_Count "
>     "-v 167,raw48,Average_Erase_Count "
>     "-v 168,raw48,Max_Erase_Count_of_Spec "
>     "-v 169,raw48,Remaining_Lifetime_Perc "
>  },

With patch applied:

root@debian:~/smartmontools-RELEASE_6_6/smartmontools# /usr/local/sbin/smartctl -A /dev/sdb
smartctl 6.6 (build date Feb  4 2019) [x86_64-linux-4.9.0-5-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x0000   100   100   000    Old_age   Offline      -       0
  5 Reallocated_Sector_Ct   0x0000   100   100   000    Old_age   Offline      -       0
  9 Power_On_Hours          0x0000   100   100   000    Old_age   Offline      -       13711
 12 Power_Cycle_Count       0x0000   100   100   000    Old_age   Offline      -       77
160 Uncorrectable_Error_Cnt 0x0000   100   100   000    Old_age   Offline      -       0
161 Valid_Spare_Block_Cnt   0x0000   100   100   000    Old_age   Offline      -       43
163 Initial_Bad_Block_Count 0x0000   100   100   000    Old_age   Offline      -       26
164 Total_Erase_Count       0x0000   100   100   000    Old_age   Offline      -       31697
165 Max_Erase_Count         0x0000   100   100   000    Old_age   Offline      -       85
166 Min_Erase_Count         0x0000   100   100   000    Old_age   Offline      -       0
167 Average_Erase_Count     0x0000   100   100   000    Old_age   Offline      -       31
168 Max_Erase_Count_of_Spec 0x0000   100   100   000    Old_age   Offline      -       3000
169 Remaining_Lifetime_Perc 0x0000   100   100   000    Old_age   Offline      -       99
175 Program_Fail_Count_Chip 0x0000   100   100   000    Old_age   Offline      -       0
176 Erase_Fail_Count_Chip   0x0000   100   100   000    Old_age   Offline      -       0
177 Wear_Leveling_Count     0x0000   100   100   050    Old_age   Offline      -       0
178 Runtime_Invalid_Blk_Cnt 0x0000   100   100   000    Old_age   Offline      -       0
181 Program_Fail_Cnt_Total  0x0000   100   100   000    Old_age   Offline      -       0
182 Erase_Fail_Count_Total  0x0000   100   100   000    Old_age   Offline      -       0
192 Power-Off_Retract_Count 0x0000   100   100   000    Old_age   Offline      -       49
194 Temperature_Celsius     0x0000   100   100   000    Old_age   Offline      -       33
195 Hardware_ECC_Recovered  0x0000   100   100   000    Old_age   Offline      -       194
196 Reallocated_Event_Count 0x0000   100   100   016    Old_age   Offline      -       0
197 Current_Pending_Sector  0x0000   100   100   000    Old_age   Offline      -       0
198 Offline_Uncorrectable   0x0000   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0000   100   100   050    Old_age   Offline      -       0
232 Available_Reservd_Space 0x0000   100   100   000    Old_age   Offline      -       100
241 Host_Writes_32MiB       0x0000   100   100   000    Old_age   Offline      -       180500
242 Host_Reads_32MiB        0x0000   100   100   000    Old_age   Offline      -       160835
245 TLC_Writes_32MiB        0x0000   100   100   000    Old_age   Offline      -       253576

I am not sure how to verify the attributes names. Hopefully, someone else can either verify or tell me what needs to be done.

#1164 invalid Incorrect value in SMART attribute 190 when using JSON output Christian Turri
Description

Hi, I am using the new -j option to output the smartctl data as JSON and I noticed that the parameter 190 (Airflow_Temperature_Cel) raw value is incorrect when the output is JSON. If I ran this:

smartctl -a /dev/ada0

I get

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022   058   043   045    Old_age   Always   In_the_past 42 (Min/Max 23/42 #102)

but I run it with the -j option I get this:

      {
        "id": 190,
        "name": "Airflow_Temperature_Cel",
        "value": 58,
        "worst": 43,
        "thresh": 45,
        "when_failed": "past",
        "flags": {
          "value": 34,
          "string": "-O---K ",
          "prefailure": false,
          "updated_online": true,
          "performance": false,
          "error_rate": false,
          "event_count": false,
          "auto_keep": true
        },
        "raw": {
          "value": 438792814634,
          "string": "42 (Min/Max 23/42 #102)"
        }

The raw value being 438792814634 but the expected raw value is 42. I am running version 7.1 svn_revision 4891. Thanks

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.