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 2011-09-09 18:44:52

Biscotte
Member
Registered: 2007-05-21
Posts: 81

Scan Disc indicates problems - should I be worried?

I have had my DNS-323s for a long time.  All my DNS-323s are set up as separate individual discs - nothing mirrored.  The discs have been changed at intervals for bigger and bigger ones - many now at 2TB.

In recent times, I have made it 'my standard', to format the hard drives with FW1.10 and reverting to FW1.08 for stability.  This is due to EARS and not knowing which hard drives are 4k sector - and it should not hurt.  Everything has been formatted EXT3 that way. 

In the last couple of days I decided to use the 'Tools > Disc Tools > Scan Disc' option.   I have had these outcomes: 

In the first box checking Volume_1, it never came to a conclusion but sent me back to the login page.  When I went back to the scan disc option, I got a non-GUI interface - just text, and nothing that could be seen in the results box.  A 323 restart restored the GUI.  A second Scan Disc Vol1 gave the same result.  Restart and Scan Disc on Volume_2 said it was OK. 

Second Box: result was Volume_1 was OK and now restart which I did.  Then Volume_2 scan disc stopped with the result 'Failed'. 

I have no idea what the scan disc option does.  I was expecting some sort of message like sectors are failing, go get a new disc or something. 

Here are the Questions:
- what does this mean and should I be worried?  Have I been backing up eroneous data? 
- what should I do?  For example - reformat and reload all the (backed up) data. 
- has anyone else done this, with these sorts of results? 
- is it some sort of FW problem?  My understanding was there there was no real difference between 1.08 and 1.09.   
Note:  up to now I have never had any data problems (that I am aware of).  The 323 has always stumped up the goods, albeit slowly at times. 

Thanks in advance for any feedback.

Offline

 

#2 2011-09-09 20:00:34

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Scan Disc indicates problems - should I be worried?

Depending on what you have running, you could see failures. I would suggest loading the SMARTmon tools and access the drive diagnostics directly.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#3 2011-09-11 01:51:06

Biscotte
Member
Registered: 2007-05-21
Posts: 81

Re: Scan Disc indicates problems - should I be worried?

I have used telnet to get to the apparently failing disc. 
However (now) I have no clue how to get to the directory where the
smartmontools-5.39.1-1.tgz
programme is situated (q:\ff\packages) in order to run it.

With no Linux abilities, I have tried cd ..  command and so on but cannot get there.

Next attempt is to use a Linux boot cd to boot a pc
- pull the 'apparently failing disc', and
- use a usb cradle to access the disc
Then run smartmontools

Will this work, and which version of Linux should I use? 
- Knoppix
- Puppy
- Ubuntu
- UBCD4WinV360
Or something else? 

At the moment,all I want to do is run this smart monitor against the disc.
I'll worry about the results if I ever get them.
And for information in the past I have used Ext2 IFS For Windows (good for rapid initial disc population)

Offline

 

#4 2011-09-11 03:53:41

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Scan Disc indicates problems - should I be worried?

cd /ffp/packages
funpkg -i smartmontools-5.39.1-1.tgz


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#5 2011-09-11 14:53:19

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: Scan Disc indicates problems - should I be worried?

First HDD (sda):
smartctl -a -i -d marvell /dev/sda

Second HDD (sdb):
smartctl -a -i -d marvell /dev/sdb

As part of my nightly routine, the script I run (amongst other things) runs the smartctl statement and looks for errors.

Code:

LOG_FILE="/mnt/usb/logs/smartctl.log"
EEMAIL="myemail@mailserver.com"
if [ -f "${LOG_FILE}" ]; then
  echo "`date` Clearing old SmartCtl log [${LOG_FILE}]"
  rm "${LOG_FILE}"
fi
for _f in "sda" "sdb"; do
  echo "`date` Dumping SmartCtl data for [/dev/${_f}] to [${LOG_FILE}]"
  echo "`date` SmartCtrl Data for [/dev/${_f}]" >>  ${LOG_FILE}
  /ffp/sbin/smartctl -a -i -d marvell /dev/${_f} >> ${LOG_FILE}
done
if [ -f "${LOG_FILE}" ]; then
  SCC=`/ffp/bin/grep "self-assessment test result: PASSED" ${LOG_FILE}|/ffp/bin/wc -l`
  if [ "${SCC}" != "2" ]; then
    echo "`date` ************************ S.M.A.R.T. FAILURE ***********************"
    echo -n "`date` S.M.A.R.T. FAILURE - ${SCC} HDD" >>/mnt/usb/logs/SMART_Err.log
    if [ ${SCC} != "1" ]; then
      echo -n "s" >>/mnt/usb/logs/SMART_Err.log
    fi
    echo -n " passed" >>/mnt/usb/logs/SMART_Err.log    
    cat ${LOG_FILE} | /usr/bin/mutt -s NAS40_SMART_Alert ${EEMAIL}
  fi
  echo "`date` SmartCtl log Diagnostic Pass count = ${SCC}"
  CLCC=`/ffp/bin/grep "Load_Cycle_Count" ${LOG_FILE}|/ffp/bin/wc -l`
  if [ "$CLCC" != "" ]; then
    echo -n "`date` "
    /ffp/bin/grep -m 1 "Load_Cycle_Count" ${LOG_FILE}
    echo -n "`date` ">>/mnt/usb/logs/smart_LLC.log
    /ffp/bin/grep -m 1 "Load_Cycle_Count" ${LOG_FILE}>>/mnt/usb/logs/smart_LLC.log
  fi
  if [ "$CLCC" == "2" ]; then
    echo -n "`date` "
    /ffp/bin/tac ${LOG_FILE}|/ffp/bin/grep -m 1 "Load_Cycle_Count"
    echo -n "`date` ">>/mnt/usb/logs/smart_LLC.log
    /ffp/bin/tac ${LOG_FILE}|/ffp/bin/grep -m 1 "Load_Cycle_Count">>/mnt/usb/logs/smart_LLC.log
  fi
else
  echo "`date` ***WARNING***: SmartCtl log [${LOG_FILE}] does not exist"
fi

Last edited by FunFiler (2011-09-11 15:15:40)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB