Hard drive drops from network

Post Reply
kpon
Posts: 9
Joined: Sat Nov 03, 2012 10:30 pm

Hard drive drops from network

Post by kpon » Wed Nov 21, 2012 8:47 pm

Every few days, my HMND drops from the network and I cannot access it. So all I have to do is pull the plug on my drive and plug it back in.

After doing that, i can access the web admin portal, but I cannot access the SMB shares right away, maybe about 30 mins or so before i can access it.

I've tried rebooting my router as well, and that did not help either. (actiontec v1000)

Anybody have any ideas on what I can do? or is the drive on its way out the door?

Thanks for reading! :)

Mijzelf
Posts: 6194
Joined: Mon Jun 16, 2008 10:45 am

Re: Hard drive drops from network

Post by Mijzelf » Thu Nov 22, 2012 8:13 am

Which plug do you pull? The power, or the network?

kpon
Posts: 9
Joined: Sat Nov 03, 2012 10:30 pm

Re: Hard drive drops from network

Post by kpon » Thu Nov 22, 2012 3:36 pm

the power.

Mijzelf
Posts: 6194
Joined: Mon Jun 16, 2008 10:45 am

Re: Hard drive drops from network

Post by Mijzelf » Fri Nov 23, 2012 8:14 am

Hm. It doesn't respond on power button press? Does the fan still work?

The problem could be the network (of the NAS) which needs a restart. In that case it should still respond the power button. The other option is a heat problem. That could stall the whole system. But if the fan still works I can hardly believe that. Do you know is it's doing something special when it disappears?

kpon
Posts: 9
Joined: Sat Nov 03, 2012 10:30 pm

Re: Hard drive drops from network

Post by kpon » Fri Nov 23, 2012 5:04 pm

power button press works.. (should I be using the power button more, rather than pulling the plug?).. Fan still works... the hard drive outer case is warm at most.

Its pretty random of when it goes out. Sometimes I could be watching a TV show off my HTPC which reads off of this drive. Or sometimes its not doing anything at all, and it will cut out. (i.e. i'm away all day, and i'll come home, and I cannot access it.)


The thing is, i still can access the web portal when it goes out. Are there any specific settings I should set on my router? I've been looking through the logs, but nothing really stands out at me, unless i'm looking at the wrong ones.. (/var/logs)

Mijzelf
Posts: 6194
Joined: Mon Jun 16, 2008 10:45 am

Re: Hard drive drops from network

Post by Mijzelf » Fri Nov 23, 2012 7:11 pm

kpon wrote:should I be using the power button more, rather than pulling the plug?
Yes! The box is actually a server, and like all computers with a writable filesystem you should shutdown it properly to avoid filesystem damage.

When the webinterface is still accessible (and the power button works), the OS on the box (Linux) is still alive. That might mean that only the filesharing service (Samba) crashed (or stopped another way). You can have a look at specific samba logs. (I think in /var/log/samba or /var/log/smb). I don't think the router has anything to do with this. At least not when samba stops when a movie is streaming over samba.

When the samba logs don't show anything special, it is possible to let Samba automatically restart each night, or something like that. To accomplish that you'll need telnet access.

kpon
Posts: 9
Joined: Sat Nov 03, 2012 10:30 pm

Re: Hard drive drops from network

Post by kpon » Sat Nov 24, 2012 3:10 am

So just now, I had to reboot it again, but the power button didn't work this time.

here's the log files from /var/logs/samba ...

This one is from a file named log.smbd

Code: Select all

[2012/11/18 06:25:06,  0] param/loadparm.c:lp_do_parameter(7196)
  Ignoring unknown parameter "preallocate"
[2012/11/18 06:25:06,  0] param/loadparm.c:lp_do_parameter(7196)
  Ignoring unknown parameter "preallocate"
[2012/11/18 06:25:06,  0] param/loadparm.c:lp_do_parameter(7196)
  Ignoring unknown parameter "preallocate"
[2012/11/18 06:25:06,  0] param/loadparm.c:lp_do_parameter(7196)
  Ignoring unknown parameter "preallocate"
[2012/11/18 06:25:06,  0] param/loadparm.c:lp_do_parameter(7196)
  Ignoring unknown parameter "preallocate"
[2012/11/18 06:25:06,  0] param/loadparm.c:lp_do_parameter(7196)
  Ignoring unknown parameter "preallocate"
[2012/11/18 06:25:06,  0] param/loadparm.c:lp_do_parameter(7196)
  Ignoring unknown parameter "preallocate"
[2012/11/18 06:25:06,  0] param/loadparm.c:lp_do_parameter(7196)
  Ignoring unknown parameter "preallocate"
[2012/11/18 06:25:06,  0] printing/pcap.c:pcap_cache_reload(158)
  Unable to open printcap file /etc/print/printcap for read!
[2012/11/18 06:25:06,  0] printing/pcap.c:pcap_cache_reload(158)
  Unable to open printcap file /etc/print/printcap for read!
[2012/11/18 06:28:45,  0] lib/util_sock.c:read_socket_with_timeout(939)
[2012/11/18 06:28:45,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Transport endpoint is not connected
and this one is from log.nmdb

Code: Select all

[2012/11/19 18:39:31,  0] nmbd/nmbd.c:main(849)
  nmbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2012/11/19 18:39:32,  0] nmbd/nmbd.c:terminate(68)
  Got SIGTERM: going down...
[2012/11/19 18:39:39,  0] nmbd/nmbd.c:main(849)
  nmbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2012/11/19 20:00:36,  0] nmbd/nmbd.c:main(849)
  nmbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2012/11/19 20:00:40,  0] nmbd/nmbd.c:terminate(68)
  Got SIGTERM: going down...
[2012/11/19 20:00:48,  0] nmbd/nmbd.c:main(849)
  nmbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2012/11/20 18:07:07,  0] nmbd/nmbd.c:main(849)
  nmbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2012/11/20 18:07:08,  0] nmbd/nmbd.c:terminate(68)
  Got SIGTERM: going down...
[2012/11/20 18:07:13,  0] nmbd/nmbd.c:main(849)
  nmbd version 3.2.5 started.


Mijzelf
Posts: 6194
Joined: Mon Jun 16, 2008 10:45 am

Re: Hard drive drops from network

Post by Mijzelf » Sat Nov 24, 2012 6:41 pm

I suppose the clock of your NAS runs OK? In that case this are old logs. And I don't see anything special in them.

kpon
Posts: 9
Joined: Sat Nov 03, 2012 10:30 pm

Re: Hard drive drops from network

Post by kpon » Sun Nov 25, 2012 7:44 am

Yea, it runs ok.. i didn't realize those dates were old. The last modified date on the file was the day I grabbed those logs. (Nov 23).

I unplugged my printer for now to see if there's a difference. I've also set a schedule to restart samba everyday in crontab.

.. just a wild guess about the printer because of this line: "Unable to open printcap file /etc/print/printcap for read!"

kpon
Posts: 9
Joined: Sat Nov 03, 2012 10:30 pm

Re: Hard drive drops from network

Post by kpon » Thu Dec 06, 2012 7:19 pm

just an update - after unplugging my printer, its been up and running without any problems..

so not really sure how to fix the printer portion now.

Knocik
Posts: 1
Joined: Tue Oct 29, 2013 6:20 pm

Re: Hard drive drops from network

Post by Knocik » Tue Oct 29, 2013 6:26 pm

I have similar issue. NAS is freezing time to time (usually when buckup or heavier transfer is done). Power button is not working, so have to be unplugged from power. Front panel is having only white solid led. Drive is not visible on the network. Previously I've noticed that all devices connected to the same switch are off the network too. I bought another switch and the same. Replaced router and the same, however recently improved and only NAS is not on the net. Temp displayed on the manager is around 50 degrees.

Post Reply