DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-01-09 21:30:14

dudu_georgescu
Member
Registered: 2009-01-09
Posts: 11

Checking a HDD for errors

Hi,

Is there a way to check a HDD mounted in a DNS 323 for errors (i.e. surface test, read-write test, bad sectors, etc.)? And by this I do not necessarily mean only the filesystem (which can be checked using fsck).

Appreciate it,

George

Offline

 

#2 2009-01-09 22:06:01

duhblow7
Member
Registered: 2008-05-29
Posts: 18

Re: Checking a HDD for errors

check the smartmontools package provided with ffp 0.5.

smartmontools

Package: smartmontools-5.38-3
Homepage: http://smartmontools.sourceforge.net/
Description:

The smartmontools package contains two utility programs (smartctl
and smartd) to control and monitor storage systems using the
Self-Monitoring, Analysis and Reporting Technology System (SMART)
built into most modern ATA and SCSI hard disks.  In many cases,
these utilities will provide advanced warning of disk degradation
and failure.
[pkgsrc]

Requires:

    * ffp-base-0.5-1 or gcc-4.1-2
    * ffp-base-0.5-1 or uclibc-0.9.29-7

Offline

 

#3 2009-01-10 05:40:48

dudu_georgescu
Member
Registered: 2009-01-09
Posts: 11

Re: Checking a HDD for errors

My Samsung F1 seems to not be accepting any issued commands sad

Offline

 

#4 2009-01-10 17:05:16

devotee
Member
From: Valencia, Spain
Registered: 2008-12-12
Posts: 43

Re: Checking a HDD for errors

dudu_georgescu wrote:

My Samsung F1 seems to not be accepting any issued commands sad

Remember to use the "-d marvell" switch, i.e. smartctl -d marvell -a /dev/sda

You can also use the "badblocks" command to check for surface errors ("badblocks /dev/sda", "badblocks /dev/sdb"), but be careful when using switches (the default is a non-destructive check, but there's a switch to perform a multipass, destructive check).


CH3SNAS • 2x Seagate Barracuda ES 7200.11 ST31000340AS 1TB SATAII (3.0Gb/s) 7200RPM 32MB (Rev: SD1A) • Individual volumes • FW1.05 (Firmware Date: 12/31/2008) • ext2

Offline

 

#5 2009-01-10 18:01:17

dudu_georgescu
Member
Registered: 2009-01-09
Posts: 11

Re: Checking a HDD for errors

devotee wrote:

dudu_georgescu wrote:

My Samsung F1 seems to not be accepting any issued commands sad

Remember to use the "-d marvell" switch, i.e. smartctl -d marvell -a /dev/sda

You can also use the "badblocks" command to check for surface errors ("badblocks /dev/sda", "badblocks /dev/sdb"), but be careful when using switches (the default is a non-destructive check, but there's a switch to perform a multipass, destructive check).

One more question: seems that SMART is disabled for my HDD. What are the consequences if I enable it and leave it enabled? Or should I disable it after performing the tests?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB