Rootserver Sponsor

webtropia"

Donations

Please support your operating system's further development:

donate"

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
LatOffline
Post subject: SMART error (CurrentPendingSector)  PostPosted: 07.07.2017, 18:35



Joined: 2010-09-19
Posts: 205

Status: Offline
Greetings,

I received the below notification in the system mailing:
      Quote:
SMART error (CurrentPendingSector) detected on host

This message was generated by the smartd daemon running on:

host name: [removed]
DNS domain: [removed]

The following warning/error was logged by the smartd daemon:

Device: /dev/sdc [SAT], 1 Currently unreadable (pending) sectors

Device info:
WDC WD30EFRX-68AX9N0, S/N:WD-WMCxxxx, WWN:5-0014ee-6589ab2da, FW:80.00A80, 3.00 TB

For details see host's SYSLOG.

You can also use the smartctl utility for further investigation.
The original message about this issue was sent at Sat Jul 1 16:35:33 2017 EDT
Another message will be sent in 24 hours if the problem persists.


smartctrl -q noserial -a /dev/sdc gives me:
      Quote:
smartctl -q noserial -a /dev/sdc
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.11.0-7.slh.3-aptosid-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Red
Device Model: WDC WD30EFRX-68AX9N0
Firmware Version: 80.00A80
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Fri Jul 7 14:19:19 2017 EDT
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: ( 121) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: (40560) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 407) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x70bd) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 24
3 Spin_Up_Time 0x0027 181 180 021 Pre-fail Always - 5908
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 42
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 075 075 000 Old_age Always - 18464
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 34
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 25
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 16
194 Temperature_Celsius 0x0022 119 111 000 Old_age Always - 31
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 1
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 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 Extended offline Completed: read failure 90% 18376 1314945728

SMART Selective self-test log data structure revision number 1
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.

So I guess what we're looking is at
      Quote:
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 1


smartctl -l selftest /dev/sdc gives me:
      Quote:
smartctl -l selftest /dev/sdc
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.11.0-7.slh.3-aptosid-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed: read failure 90% 18376 1314945728


and parted -l
      Quote:
Model: ATA WDC WD30EFRX-68A (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 3001GB 3001GB ext4 msftdata


I've seen different configurations around, but they're either for ext2, or linux flag, and some dd commands, but I don't want to mess up the drive. What should I do now? probably change that flag from mftdata to linux? Thanks
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: SMART error (CurrentPendingSector)  PostPosted: 09.07.2017, 03:10



Joined: 2010-08-25
Posts: 962

Status: Offline
Raw_Read_Error_Rate is basically the more important reading, that said, I personally have made very mixed experiences with S.M.A.R.T. in basically all directions... I do have drives that are basically dead (spinning up, but reproducably causing read/ write errors) which get a clean bill of health from S.M.A.R.T. (even in extended testing), just as well as drives where S.M.A.R.T. started complaining about impeding death (literally) 10 years ago and which are still going strong (even after extended read/ write tests).

According to my experiences, you really have to look at the situation from a different angle. If you use your drives for important data and/ or in a commercial environment, any kind of bad signs from a drive (S.M.A.R.T., read errors, dropping out of a RAID array, etc.) should be taken seriously and cause immediate replacement. In a personal setting I simply don't care about S.M.A.R.T. at all, wait for eventual read/ write errors and then give the drive an extended treatment of (manual) read/ write tests before really disposing them, in many cases they'll go back into service again and usually survive quite a while longer. Keep in mind that no amount of S.M.A.R.T., checksumming, snapshotting or RAID levels avoids the need for creating (and testing!) offline(!) backups in regular intervals, at least for the data you care about.

What is the actual problem now?
Is the data no longer readable?
 
 View user's profile Send private message  
Reply with quote Back to top
LatOffline
Post subject: RE: SMART error (CurrentPendingSector)  PostPosted: 09.07.2017, 03:58



Joined: 2010-09-19
Posts: 205

Status: Offline
Hi slh. So far the harddrive is working fine. I can read, and I have moved some files to other harddrive (so I assume I can write). All started when a file became corrupted while it was being written/appended, but so far it was just that file.

I've ordered a new 4 Tb drive to move what is left in the drive just in case and I'm planning to reuse the old one to a less active use.

Do you have any recommendation of what to do with the old drive once I've migrated the data? just recreate the partition table to Linux, and reformat? The harddrive only has a primary partition and it's nothing fancy as a lvm, nor part of a RAID.

Thank you
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: SMART error (CurrentPendingSector)  PostPosted: 09.07.2017, 04:05



Joined: 2010-08-25
Posts: 962

Status: Offline
Move the data as soon as possible, once the drive is unused, you can try to determine the extent of the damage.

For personal/ unimportant/ temporary data only:
Run "shred -v /dev/sdX", this overwrites the disk with (basically) random data three time, afterwards try to read the disk a couple of times (at least twice) like "cat /dev/sdX >/dev/null". If none of these commands resulted in error messages (read/ write errors, check the terminal you use for running the command and dmesg), the disk has remapped the broken sector and is good to go (again) for just about any purpose that doesn't require reliability and/ or data integrity. If you got any errors (other than disk full), the drive is broken - bang it on a hard surface and (ideally) drive a few nails through it, that way no one but a very determined and wealthy intelligence service would even bother to try recovering any data from it.
 
 View user's profile Send private message  
Reply with quote Back to top
LatOffline
Post subject: RE: SMART error (CurrentPendingSector)  PostPosted: 09.07.2017, 18:03



Joined: 2010-09-19
Posts: 205

Status: Offline
Nice, I'll try that after moving the data.
Also, don't worry. We like to destroy harddrives in here. It is a nice stress release Wink
Thank you, slh.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio