You are not logged in.
vb@hp ~ $ sudo e2fsck -n /dev/sda4
e2fsck 1.42.9 (4-Feb-2014)
/dev/sda4 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found. Fix? no
Inode 13410611 was part of the orphaned inode list. IGNORED.
Pass 2: Checking directory structure
Entry 'libudev.so.1.6.9' in /usr/lib (13371309) has deleted/unused inode 13410611. Clear? no
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(53845666--53845695)
Fix? no
Inode bitmap differences: -13410611
Fix? no
/dev/sda4: ********** WARNING: Filesystem still has errors **********
/dev/sda4: 785449/16564224 files (1.1% non-contiguous), 56425476/66238464 blocks
vb@hp ~ $ sudo smartctl -a /dev/sda
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-24-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Laptop SSHD
Device Model: ST500LM000-1EJ162
Serial Number: W3704EPG
LU WWN Device Id: 5 000c50 06966f2f3
Firmware Version: SM11
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Thu Feb 15 02:08:59 2018 EET
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
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
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: ( 150) 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 100) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x1081) SCT Status supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 114 099 006 Pre-fail Always - 63206296
3 Spin_Up_Time 0x0003 099 098 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 099 099 020 Old_age Always - 1567
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 080 060 030 Pre-fail Always - 4404893446
9 Power_On_Hours 0x0032 083 083 000 Old_age Always - 15251
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 099 099 020 Old_age Always - 1638
184 End-to-End_Error 0x0032 098 098 099 Old_age Always FAILING_NOW 2
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 099 000 Old_age Always - 4295032845
189 High_Fly_Writes 0x003a 041 041 000 Old_age Always - 59
190 Airflow_Temperature_Cel 0x0022 065 055 045 Old_age Always - 35 (Min/Max 31/35)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 732
193 Load_Cycle_Count 0x0032 036 036 000 Old_age Always - 128826
194 Temperature_Celsius 0x0022 035 045 000 Old_age Always - 35 (0 4 0 0 0)
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
254 Free_Fall_Sensor 0x0032 100 100 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 2
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 2 occurred at disk power-on lifetime: 6780 hours (282 days + 12 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 00 e8 ff ff ff 4f 00 00:00:15.364 READ FPDMA QUEUED
60 00 08 ff ff ff 4f 00 00:00:15.364 READ FPDMA QUEUED
60 00 08 ff ff ff 4f 00 00:00:15.364 READ FPDMA QUEUED
60 00 08 ff ff ff 4f 00 00:00:15.364 READ FPDMA QUEUED
60 00 08 ff ff ff 4f 00 00:00:15.364 READ FPDMA QUEUED
Error 1 occurred at disk power-on lifetime: 6534 hours (272 days + 6 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 00 00 ff ff ff 4f 00 00:00:31.264 READ FPDMA QUEUED
60 00 00 ff ff ff 4f 00 00:00:31.251 READ FPDMA QUEUED
60 00 00 ff ff ff 4f 00 00:00:31.238 READ FPDMA QUEUED
60 00 00 ff ff ff 4f 00 00:00:31.225 READ FPDMA QUEUED
60 00 00 ff ff ff 4f 00 00:00:31.212 READ FPDMA QUEUED
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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.
Last edited by amaro (2018-02-15 00:10:00)
Offline
184 End-to-End_Error 0x0032 098 098 099 Old_age Always FAILING_NOW 2
Personally I would replace the drive or seek other opinions.
Offline
So you think 'fsck' will not be able to repair the errors?
Offline
I would suspect that it can repair the errors but you will encounter more errors in the future. See what the smart short test reveals.
Edit:
By repair the errors I mean make the filesystem consistent so that corrupted files can be rewritten not recover lost data.
Last edited by loqs (2018-02-15 00:39:49)
Offline
I see. I hoped it would repair the errors so I will be able to use it till I buy new hdd.
Thank you very much for taking the time to help me with this issue, loqs!
Offline