USB Hard Drive Suddenly Unaccessible R7800 [SOLVED]

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Wed May 13, 2020 14:19    Post subject: USB Hard Drive Suddenly Unaccessible R7800 [SOLVED] Reply with quote
I setup a USB external drive on my R7800 using the simple guide from here: https://wiki.dd-wrt.com/wiki/index.php/USB_storage#Updated_Instructions

But suddenly I cannot access it from a network device. I unplugged it from the router and connected it to USB on my Mac to confirm it's working fine.

I restarted the router, turned off USB services, confirmed under NAS services that the drive is detected still. On my Mac I can see dd-wrt in my network but I immediately get "Connection failed"

Here is what I see under the USB services tab:

Diskspace /tmp/mnt/sda1
7%
258.4G / 3.4T



--- /dev/sda
Block device, size 3.639 TiB (4000786153472 bytes)
DOS/MBR partition map
Partition 1: 2.000 TiB (2199023255040 bytes, 4294967295 sectors from 1)
Type 0xEE (EFI GPT Protective)
GPT partition map, block size 512 bytes, 128 entries
Disk size 3.639 TiB (4000786153472 bytes, 7814035456 blocks of 512 bytes)
Disk GUID 429760A8-961D-7A42-9A96-A9F5C48DD0E4
Partition 1: 3.639 TiB (4000784056320 bytes, 7814031360 blocks of 512 bytes from 2048)
Type Basic Data (GUID A2A0D0EB-E5B9-3344-87C0-68B6B72699C7)
Partition Name "My Book"
Partition GUID D3EFF39D-C89C-E849-9520-A0D0A8003BDF
exFAT file system
Partition 2: unused
/dev/sda not mounted Unsupported Filesystem

--- /dev/sda1
Block device, size 3.639 TiB (4000784056320 bytes)
exFAT file system
/dev/sda1 mounted to /tmp/mnt/sda1

I also saw that in Drive Manager under the NAS tab,
it lists /dev/sda as Filesystem:Partition. But the above output lists it as exFAT filesystem. Should I change it in Drive Manager to exFAT? Would that potentially cause a format?
Sponsor
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Fri May 15, 2020 12:41    Post subject: Reply with quote
I turned off automatic drive mounting. Hit apply. Then turned it back on and hit apply again.

Now I have 4 drives listed when I only have one partition. I'm using exFAT, Kong 39345M.

Disk Info
Diskspace /tmp/mnt/sda1
7%
258.4G / 3.4T


Diskspace /tmp/mnt/sdb1
7%
258.4G / 3.4T


Diskspace /tmp/mnt/sdc1
7%
258.4G / 3.4T


Diskspace /tmp/mnt/sdd1
7%
258.4G / 3.4T
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Fri May 15, 2020 14:04    Post subject: Reply with quote
Further update: I turned off Automount & NAS and rebooted. It removed all the duplicate drive entries but still unaccessible.

I'm trying to manual mount the drive using UUID but 'blkid' is only returning AE24-0E15 as the UUID. I don't know if this is the correct UUID but it's alll I get. Separately, I can navigate to /tmp/mnt/sda1 and see the contents of the drive without issue but cannot connect via Finder.

Some info from dmesg below:

[ 122.334048] hub 3-0:1.0: USB hub found
[ 122.339804] hub 3-0:1.0: 1 port detected
[ 122.343595] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 122.347296] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 122.352685] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 122.363183] hub 4-0:1.0: USB hub found
[ 122.372302] hub 4-0:1.0: 1 port detected
[ 122.596841] hotplug (1849): drop_caches: 3
[ 122.600330] hotplug (1850): drop_caches: 3
[ 122.616396] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 122.619345] [EXFAT] trying to unmount...
[ 122.622058] [EXFAT] unmounted successfully
[ 122.630290] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 122.652445] scsi host2: usb-storage 2-1:1.0
[ 123.689516] scsi 2:0:0:0: Direct-Access WD My Book 25EE 4009 PQ: 0 ANSI: 6
[ 123.692161] sd 2:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
[ 123.697147] scsi 2:0:0:1: Enclosure WD SES Device 4009 PQ: 0 ANSI: 6
[ 123.697314] sd 2:0:0:0: [sda] 7814035456 512-byte logical blocks: (4.00 TB/3.64 TiB)
[ 123.697322] sd 2:0:0:0: [sda] 4096-byte physical blocks
[ 123.720098] sd 2:0:0:0: [sda] Write Protect is off
[ 123.724870] sd 2:0:0:0: [sda] Mode Sense: 47 00 10 08
[ 123.725686] sd 2:0:0:0: [sda] No Caching mode page found
[ 123.729721] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 123.735163] sd 2:0:0:0: [sda] Optimal transfer size 0 bytes < PAGE_SIZE (4096 bytes)
[ 123.742349] sd 2:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
[ 123.758806] sda: sda1
[ 123.761199] sd 2:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
[ 123.762880] sd 2:0:0:0: [sda] Attached SCSI disk
[ 123.966690] [EXFAT] trying to mount...
[ 124.378189] [EXFAT] mounted successfully
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Sun May 17, 2020 15:47    Post subject: Reply with quote
So I upgraded to R43028 4/29/20. Reset to default and setup the router again. Same issue persists. Unsupported filesystem.

I'm at a complete loss, I checked the modules and exfat is there. It was working as a simple network share until it suddenly stopped.

Edit: If I decide to format the drive, what is the best format for a mixed environment of Mac/Windows/iOS?
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Sun May 17, 2020 18:01    Post subject: Reply with quote
hmmmm if you intend to move the drive (not recommended)
than i don't know...not sure if exfat is stable...
otherwise ext3 or ext 4 for hdd or ext2 for flash thumb drives...as its a linux system anyway..

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Mon May 18, 2020 19:38    Post subject: Reply with quote
I have no intention of moving the drive. It’ll stay on the router. I just can’t find anything other than exFAT that can support what I need.
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Mon May 18, 2020 20:16    Post subject: Reply with quote
you can install ext2/3/4 filesystem support on your OS instead...
_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Mon May 18, 2020 23:47    Post subject: Reply with quote
So when searching for a possible file format solution NTFS/ext2,3,4/etc I found a thread about BS builds no longer working with bonjour and other broadcasting protocols for the hard drive.

So I was able to connect via IP address and lo and behold the drive mounted. I could read/write without a problem. Unsupported file system is still listed under the USB services but it's working.

Fingers crossed it remains up.
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Tue May 19, 2020 12:17    Post subject: Reply with quote
I spoke too soon, the drive is discoverable and can mount but nearly all file transfer is failing with Finder errors. Error -36 when trying to copy to the drive and error 8084 when trying to copy from the drive. Oddly enough I can view the contents of the drive without a problem. Only the smallest of files under 10MB can be copied to the drive.

To be certain I unplugged the drive from the router and plugged in directly to my Mac and thankfully none of those errors occur. So the hard drive file system is intact.

Now to find out why these errors are happening
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Wed Jun 03, 2020 15:23    Post subject: Reply with quote
After even more troubleshooting it appears that having NAS will not work.

I partitioned the drive as ext4 on my Mac using 3rd party software (Paragon). I labeled it JFFS to have it auto mount which it did. And for a day both my Macs could read/write natively. It didn't make any sense to me how they could do so. But then suddenly it marked all files being transferred to the drive as unreadable/writeable.

Frustrated, I partitioned it again as exFAT, labeled as JFFS, and had zero luck yet again. Wouldnt even mount to JFFS. I don't know how anyone with a Mac has a NAS setup. If you do I'm all ears.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6868
Location: Romerike, Norway

PostPosted: Wed Jun 03, 2020 18:22    Post subject: Reply with quote
It has been a lot of problems with NAS on a lot of later builds this spring.

Try 43306 or later.
blackraiin
DD-WRT Novice


Joined: 27 Dec 2017
Posts: 46

PostPosted: Thu Jun 04, 2020 3:03    Post subject: Reply with quote
So I have a Mac also and NOTHING works for me. I tried the newer builds and ended up reverting to the last build of 2019. That is the last working build in my opinion.

I have 2 external HDD formatted using NTFS. One of the HDD is almost at 100% capacity so I am not even thinking about reformatting that and the second one is at least a little over 100+GB capacity of 8TB HDD.

So what best suites me is to use the last build of 2019. It works and not upgrading the fw until or if this current issue is fixed regarding Samba.
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Thu Jun 04, 2020 13:32    Post subject: Reply with quote
Thanks for the input. I thought I was alone in this regard. I'm running 43028 4/29/20. I'll decide soon whether revert to last build of 2019 or the newest BS build.

If rolling back to an older version are there different steps than upgrading to a newer firmware?
blackraiin
DD-WRT Novice


Joined: 27 Dec 2017
Posts: 46

PostPosted: Thu Jun 04, 2020 17:08    Post subject: Reply with quote
fathornet wrote:
Thanks for the input. I thought I was alone in this regard. I'm running 43028 4/29/20. I'll decide soon whether revert to last build of 2019 or the newest BS build.

If rolling back to an older version are there different steps than upgrading to a newer firmware?


I think i'll try the build you're using because I tried to copy a file over a wireless connection and it crashed. I lost wireless connection. And yes I am glad to see that I wasn't the only one with this issue who is using a Mac ...
fathornet
DD-WRT Novice


Joined: 07 Apr 2017
Posts: 42

PostPosted: Thu Jun 04, 2020 20:10    Post subject: Reply with quote
I upgraded to 43306 with no luck. exFAT partition is unsupported and samba isn't broadcasting the drive on the local network. I tried with and without usernames. I can connect via IP but can only view the contents of the drive. So same as before.

Maybe I'll try to rollback to end of 2019 sometime soon.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum