NAS USB Drive Drops on Reboot

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
genki
DD-WRT Novice


Joined: 22 Apr 2017
Posts: 3

PostPosted: Sat Apr 22, 2017 5:09    Post subject: NAS USB Drive Drops on Reboot Reply with quote
Running de-wrt:
=========
Router Model Asus RT-N66U
Firmware Version DD-WRT v24-sp2 (02/04/15) big - build 26138M
Kernel Version Linux 3.10.67 #6281 Wed Feb 4 06:42:30 CET 2015 mips

Firmware: DD-WRT v24-sp2 (02/04/15) big
=========

My QUESTION:

I have a 16 GB USB formatted with fat32:

--- /dev/sda1
Block device, size 14.41 GiB (15471493632 bytes)
Windows NTLDR boot loader
FAT32 file system (hints score 4 of 5)
Volume size 14.40 GiB (15463923712 bytes, 943843 clusters of 16 KiB)
Volume name "KINGSTON"
/dev/sda1 mounted to /tmp/mnt/sda1

I have followed setup in this forum post:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=278070&sid=736f2ce25a27a4ec71d7e48e90513020

After the router is powered up and running, I insert the USB into one of two slots. In either one, I can access the drive from either Mac or PC on my network.

BUT, after the router reboots (I have it set to reboot overnight to keep settings refreshed as others have recommended), I can no longer access the drive. The error message I get is 'there was a problem connecting to this drive.' To gain access again I have to either delete the share user (Services->NAS->FileSharing->Users), apply settings, and then re-add it OR unplug the USB drive physically from the router and plug it in again.

I've tried to read all relevant posts to this topic. Nothing quite seems to fit my question/needed answer. Thanks in advance for any inputs!

~Genki

My settings below:

Services->NAS settings:
=======================
FTP Server

ProFTPD
ProFTPD Disable

DLNA Server
MiniDLNA Disable

Samba Server

Samba
Samba Enable

Server String
Workgroup

Bittorrent
Transmission Daemon Disable
Transmission Directory /jffs/transmission

File Sharing


Shares
Path
/mnt/sda1
Subdir
Name
<mysharename>
Public
<checked>
Access
<Read and Write>

Users
User Name
<myusername>
Password
<mypassword>
Access Shares
<mysharename> -- <check>
samba
<check>
ftp


Services->USB settings:
=======================

Core USB Support Enable
USB Printer Support Disable
USB Storage Support Enable
Automatic Drive Mount Enable
Run-on-mount Script Name
Mount this Partition to /jffs UUID
Mount this Partition to /opt UUID
Use SES Button to remove drives Disable
Disk Info
Diskspace /tmp/mnt/sda1
21%3.1G / 11.3G


---
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sat Apr 22, 2017 12:01    Post subject: Reply with quote
I do not see any obvious errors in your configuration.
Things I can think off is using a different USB stick, and using a more recent firmware (do not forget to reset to default and put in your settings manually).

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Xeon2k8
DD-WRT Guru


Joined: 11 Feb 2016
Posts: 1288

PostPosted: Sat Apr 22, 2017 15:33    Post subject: Reply with quote
I don't get why you need to reboot every single night. One of the features that distinguish a good firmware is that it should be rock solid for months, so shouldn't be doing that.
_________________
R6400v2 (boardID:30) - Kong 36480 running since 03/09/18 - (AP - DNSMasq - AdBlocking - QoS)
R7800 - BS 31924 running since 05/26/17 - (AP - OpenVPN Client - DNSMasq - AdBlocking - QoS)
R7000 - BS 30771 running since 12/16/16 - (AP - NAS - FTP - SMB - OpenVPN Server - Transmission - DDNS - DNSMasq - AdBlocking - QoS)
R6250 - BS 29193 running since 03/20/16 - (AP - NAS - FTP - SMB - DNSMasq - AdBlocking)
genki
DD-WRT Novice


Joined: 22 Apr 2017
Posts: 3

PostPosted: Sun Apr 23, 2017 4:30    Post subject: Reply with quote
egc and Xeon2k8 -- thanks for quick replies and (someone) for moving my post to the proper location. I just read the point about what belongs in 'General Questions.' Sorry! javascript:emoticon('Embarassed')

egc — I looked for the latest firmware for my router and looks like I have it (v24 sp2)? Is there a newer version?

Xeon2k8 — Thank you. I agree it seems like overkill. My brother-in-law who's an expert with IT in general set this up for me. Just trusting him really. I had the same thought though -- and my workaround is to have the router reboot once per week, hopefully allowing the drive to remain mounted all week. So I only have to tweak it once a week. My kids won't be hounding me every day.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Sun Apr 23, 2017 10:08    Post subject: Reply with quote
Your build is pretty old Sad
wiki (read this first): http://www.dd-wrt.com/wiki/index.php/Asus_RT-N66U

Latest build: ftp://ftp.dd-wrt.com/betas/2017/04-06-2017-r31825/broadcom_K3X/ I think you should have the mega build
Check the build thread on any incompatibilities, be sure to reset to default follow the wiki for that and put everything in manuallly.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
genki
DD-WRT Novice


Joined: 22 Apr 2017
Posts: 3

PostPosted: Tue Apr 25, 2017 1:16    Post subject: Reply with quote
egc: Thanks.

I'll consider updating (weighing time for me to do so vs. benefits -- I have a temporary workaround on the USB drive issue).

Going forward, how would I decide when and to what build I should update (what is best practice for a relative noob)? Under the wiki you reference, my build # is listed as the recommended build. How do I decide when to update and to what build?

Thanks.
Xeon2k8
DD-WRT Guru


Joined: 11 Feb 2016
Posts: 1288

PostPosted: Tue Apr 25, 2017 5:38    Post subject: Reply with quote
genki wrote:
egc: Thanks.

I'll consider updating (weighing time for me to do so vs. benefits -- I have a temporary workaround on the USB drive issue).

Going forward, how would I decide when and to what build I should update (what is best practice for a relative noob)? Under the wiki you reference, my build # is listed as the recommended build. How do I decide when to update and to what build?

Thanks.

When to update well... If you haven't got any problems on the build you are then there is really no need to, probably after a year you could consider updating, unless you are a bit paranoid about security. To what build I would say search on your router thread and build threads for feedback from people with the same router, the LATEST is not always the most stable.

_________________
R6400v2 (boardID:30) - Kong 36480 running since 03/09/18 - (AP - DNSMasq - AdBlocking - QoS)
R7800 - BS 31924 running since 05/26/17 - (AP - OpenVPN Client - DNSMasq - AdBlocking - QoS)
R7000 - BS 30771 running since 12/16/16 - (AP - NAS - FTP - SMB - OpenVPN Server - Transmission - DDNS - DNSMasq - AdBlocking - QoS)
R6250 - BS 29193 running since 03/20/16 - (AP - NAS - FTP - SMB - DNSMasq - AdBlocking)
swenak
DD-WRT Novice


Joined: 04 May 2014
Posts: 2

PostPosted: Sat Jul 15, 2017 16:48    Post subject: Reply with quote
I have same problem with accessing NAS (Samba) afer reboot. When I disable/enable Samba and Apply settings, I can connect to USB drive (it is 1TB NTFS formated SSD).

I have same router as genki, Asus RT-AC66U B1 and now using latest DD-WRT v3.0-r32700M kongac (07/15/17), but same problems was on previous firmwares and DD-WRT standard too.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum