I ran the dd command, but it didn't seem to clear the Pending Sector counts, but the fix-disk results looked better, so I ran a short smartctl and fix-disk, not sure what to do next ?
humax#
dd if=/dev/zero of=/mod/monitor/monitor.db bs=1M count=10
10+0 records in
10+0 records out
Then I ran FTP as root user and deleted the /mod/monitor/monitor.db file which was over 10.4M.
I left the other file named
monitor.db-journal, as I'm not sure if this is part of the sysmon package...
Then did a reboot, and checked the webif Hard Disc diagnostics page, but didn't see the Pending sector counts cleared, so I thought I will try running the smartctl and fix-disk again.
diag diagmode
reboot
humax#
smartctl --test=short /dev/sda
smartctl 5.41 2011-06-09 r3365 [7405b0-smp-linux-2.6.18-7.1] (local build)
Copyright (C) 2002-11 by Bruce Allen,
http://smartmontools.sourceforge.net
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 1 minutes for test to complete.
Test will complete after Tue Nov 20 17:44:15 2012
Use smartctl -X to abort test.
humax#
smartctl -i -l selftest /dev/sda
smartctl 5.41 2011-06-09 r3365 [7405b0-smp-linux-2.6.18-7.1] (local build)
Copyright (C) 2002-11 by Bruce Allen,
http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Seagate Pipeline HD 5900.2
Device Model: ST31000424CS
Serial Number: 9VX18ABQ
LU WWN Device Id: 5 000c50 02d79638b
Firmware Version: SC13
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Tue Nov 20 17:46:29 2012 GMT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== 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 Short offline Completed: read failure 90% 4922 530423802
# 2 Short offline Completed: read failure 90% 4922 530423802
# 3 Short offline Completed: read failure 90% 4869 530423802
# 4 Short offline Completed: read failure 90% 4869 530423802
# 5 Short offline Completed: read failure 90% 4869 530423802
# 6 Short offline Completed: read failure 90% 4839 530423802
# 7 Short offline Completed: read failure 50% 4839 530423802
# 8 Short offline Completed: read failure 90% 4839 530423802
# 9 Short offline Completed without error 00% 3071 -
humax#
fix-disk
Checking disk sda
Unmounted /dev/sda1
Unmounted /dev/sda2
Unmounted /dev/sda3
Checking partition /dev/sda1...
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 15/65808 files (6.7% non-contiguous), 14966/263064 blocks
Checking partition /dev/sda3...
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda3: 13/655776 files (7.7% non-contiguous), 84826/2622611 blocks
Creating swap file...
Setting up swapspace version 1, size = 1073737728 bytes
Checking partition /dev/sda2...
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda2: 6187/60334080 files (9.3% non-contiguous), 186548087/241304332 blocks
Finished - type 'reboot' to return to normal operation