Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Did I create a bad sector?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Did I create a bad sector?

#1 Post by Lysander »

So my main SSD has had 5 bad sectors for a while, not sure how long, though I keep an eye on it every so often.

Yesterday I installed Weechat and had an issue with it and forced the process to stop by closing the terminal window. Next, something unexpected [for me anyway] happened. I opened Vivaldi and it just showed a white blank screen. Whatever I did, I couldn't get past it. I tried getting to the shell to logout, nothing, REISUB didn't work either as it normally does. I had to do a hard restart. This hard restart took a little longer than normal - normally it takes less than ten seconds from GRUB to login, but it took about twice as long and the monitor very briefly powered off since it had no signal.

After this I checked the disk and the SSD has 6 bad sectors. Is it possible I did this? SMART says the disk is OK though, and I haven't noticed any performance lapse. Every restart has been normal since.

Here is the output of

Code: Select all

sudo smartctl -a /dev/sdc1

Code: Select all

smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Intel X18-M/X25-M/X25-V G2 SSDs
Device Model:     INTEL SSDSA2M080G2GC
Serial Number:    CVPO012502X3080JGN
LU WWN Device Id: 5 001517 959275320
Firmware Version: 2CV102HD
User Capacity:    80,026,361,856 bytes [80.0 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 T13/1532D revision 1
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue May 30 21:07:14 2017 BST

==> WARNING: This drive may require a firmware update to
fix possible drive hangs when reading SMART self-test log:
http://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=18363

SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(    1) seconds.
Offline data collection
capabilities: 			 (0x75) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Abort Offline collection upon new
					command.
					No Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (   1) minutes.
Conveyance self-test routine
recommended polling time: 	 (   1) minutes.

SMART Attributes Data Structure revision number: 5
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  3 Spin_Up_Time            0x0020   100   100   000    Old_age   Offline      -       0
  4 Start_Stop_Count        0x0030   100   100   000    Old_age   Offline      -       0
  5 Reallocated_Sector_Ct   0x0032   100   100   000    Old_age   Always       -       6
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       18128
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       3911
192 Unsafe_Shutdown_Count   0x0032   100   100   000    Old_age   Always       -       116
225 Host_Writes_32MiB       0x0030   200   200   000    Old_age   Offline      -       309369
226 Workld_Media_Wear_Indic 0x0032   100   100   000    Old_age   Always       -       5927
227 Workld_Host_Reads_Perc  0x0032   100   100   000    Old_age   Always       -       15
228 Workload_Minutes        0x0032   100   100   000    Old_age   Always       -       17799671
232 Available_Reservd_Space 0x0033   099   099   010    Pre-fail  Always       -       0
233 Media_Wearout_Indicator 0x0032   093   093   000    Old_age   Always       -       0
184 End-to-End_Error        0x0033   100   100   099    Pre-fail  Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Vendor (0x98)       Completed without error       00%     18128         -
# 2  Vendor (0xe0)       Completed without error       00%     18128         -
# 3  Vendor (0xf0)       Completed without error       00%     18128         -
# 4  Vendor (0x90)       Completed without error       00%     18128         -

SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

User avatar
dasein
Posts: 7680
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: Did I create a bad sector?

#2 Post by dasein »

Lysander wrote:I had to do a hard restart. This hard restart took a little longer than normal...
In and of itself, this is not unusual. (That is to say, fsck takes a little time to run.)

A handful of reallocated sectors is not a serious matter, either. A sudden spike in reallocated sector count is a "red flag," but often it comes too late to be an effective warning.

tl;dr: Develop and maintain a backup regimen for your important data. That way, you won't have to worry about every little niggle from SMART.

Failure to heed this advice gives the rest of us the right to point and snicker when (not if) you lose important data.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Did I create a bad sector?

#3 Post by Lysander »

dasein wrote:tl;dr: Develop and maintain a backup regimen for your important data. That way, you won't have to worry about every little niggle from SMART.

Failure to heed this advice gives the rest of us the right to point and snicker when (not if) you lose important data.
You're right about this - I've been lazy and not added a backup utility. I've now scheduled daily backups on another hard drive. I'll relax a little bit more about it, but will close processes properly too...

Post Reply