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-05-22 10:23:27

onionbobo
New member
Registered: 2009-05-22
Posts: 2

DNS323 power failure reboot only 1 HDD detected

Hi, does anyone have the same problem or know the fix?

I have two Seagate hard drives in the DNS 323, 1 x 500gb, another 1 x 250gb, they are sepreate volumns, the problem is if there is a power failure, or simply turn the unit off and on again, only one of the hard drive is detected and accessable, in order to fix this, I have to soft reboot the harddrive from the web GUI under system " restart" then both drive are detected and no problems.

This happens every single time when there's a power failure or turnning off the system.

This is fine with me however when I'm not home, my parents could never figure it out, so I want this issue to be fixed permanently. Any ideas?


Thanks guys.

Offline

 

#2 2009-05-22 10:53:52

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: DNS323 power failure reboot only 1 HDD detected

I have seen same symptoms on regular pc's in some occasions.
You could add some lines to your fun_plug which will check if /dev/sdb* exists or if some specific partition is mounted, if not then do reboot.
I also suggest you to set some sleep parameter before you reboot, which will help you to remove these lines if you don't need them any more.

For example

Code:

#!/bin/sh
if [ ! -e /mnt/HD_b2/some_file_on_your_hard_to_detect_hdd ]
then
  sleep 600
  reboot
fi

DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#3 2009-05-22 13:08:41

onionbobo
New member
Registered: 2009-05-22
Posts: 2

Re: DNS323 power failure reboot only 1 HDD detected

Awesome! Your script works like a charm, thank you so much Sala! : ) : ) : )

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB