Loosing \ disconnecting External USB regularly

If your question pertains to using an external HDDs or even the USB Copy feature, post it here.
Forum rules
This is a user forum for Synology users to share experience/help out each other: for any compatibility issues, please contact from the Synology technical support team:
https://account.synology.com/support/suppo ... p?lang=enu
chrismain1@gmail.com
I'm New!
I'm New!
Posts: 1
Joined: Sun May 01, 2016 11:43 pm

Loosing \ disconnecting External USB regularly

Postby chrismain1@gmail.com » Mon May 02, 2016 12:00 am

Synology DS212J
DSM 5.2-5644 Update 5 (I know i haven't upgraded to 6.0 yet as I saw there were some compatibility issues with Symform which I have spent months trying to get to work properly and finally it is, so I'm too scared to touch anything for now)
Seagate expansion 1TB external HD attached.
Windows 10

For the last few weeks - about once a week, the external harddrive drops off and can't be found. The Power is still on, in the control panel the disk can no longer be found, and the small blue external HD icon at the top the the DSM manager is gone.
I have to manually unplug the HD and replug in for it to be recognised, then things work fine for another week or so.

Can anyone direct me to some instructions for troubleshooting this please
Thanks
AimHere
Trainee
Trainee
Posts: 19
Joined: Sun Jan 26, 2014 9:15 pm

Re: Loosing \ disconnecting External USB regularly

Postby AimHere » Fri Nov 10, 2017 1:22 pm

I frequently have the same problem, with multiple external USB drives. The drives go into "sleep" mode on their own, disappearing from DSM (both in Control Panel/External Devices and the list of shared folders in Filestation). The only way I can get them back is to unplug the power from the drive briefly, then plug it back in. I even went so far as to move all my external drives onto their own power strip, so I could power-cycle them all at once without physically unplugging.

The external drives are NOT configured to hibernate in DSM.

At one point I thought I would be clever and write a script that would "touch" a file on each of the drives, then run that script periodically as a scheduled event in DSM. But that doesn't seem to work. Here's the script:

Code: Select all

#!/bin/bash
DRIVE=1
; set MAXDRVE to highest-numbered USB disk
MAXDRIVE=4
FILE="keepalive"
while [ $DRIVE -le $MAXDRIVE ]; do
FULLNAME="/volumeUSB$DRIVE/usbshare/$FILE"
echo "Touching $FULLNAME"
rm -f "$FULLNAME"
touch "$FULLNAME"
DRIVE=$(( $DRIVE + 1 ))
done
exit 0


I have a Task Scheduler entry set up to run this every half-hour, yet most of the drives STILL go to sleep at least once a week or so.

If anyone can figure out a more elegant (and permanent) solution, please let me know!

Return to “External Harddrives & USB Flash Drives”

Who is online

Users browsing this forum: No registered users and 1 guest