[FIXED in r50146/]EA 8500- NAS Mount Errors

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2
Author Message
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Tue Sep 20, 2022 17:07    Post subject: Reply with quote
bare in mind ntsfix is not shipped with ntfs3 only ntfs-3g usually with full distros, dd-wrt no idea, you can check which ntfs driver you have with lsmod
_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Sponsor
mark74
DD-WRT Novice


Joined: 16 Nov 2021
Posts: 31

PostPosted: Sat Oct 01, 2022 15:19    Post subject: Reply with quote
I was able to set up a script to mount the drives as I needed by turning off the automount option and setting up separate mount commands during startup. However, I am seeing the following errors in dmesg during start up around recognizing the usb devices. Does this mean any issues with router flash memory since it is referencing "mtdblock0"?

Quote:

[ 40.238980] sd 2:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[ 40.405070] blk_update_request: I/O error, dev mtdblock0, sector 0
[ 40.405624] blk_update_request: I/O error, dev mtdblock0, sector 8
[ 40.410728] blk_update_request: I/O error, dev mtdblock0, sector 16
[ 40.416812] blk_update_request: I/O error, dev mtdblock0, sector 24
[ 40.423106] blk_update_request: I/O error, dev mtdblock0, sector 32
[ 40.429363] blk_update_request: I/O error, dev mtdblock0, sector 40
[ 40.435570] blk_update_request: I/O error, dev mtdblock0, sector 48
[ 40.441885] blk_update_request: I/O error, dev mtdblock0, sector 56
[ 40.448110] blk_update_request: I/O error, dev mtdblock0, sector 64
[ 40.454232] blk_update_request: I/O error, dev mtdblock0, sector 72
[ 40.472447] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[ 40.508854] Buffer I/O error on dev mtdblock1, logical block 0, async page read
[ 40.518025] Buffer I/O error on dev mtdblock1, logical block 32, async page read
[ 40.518663] Buffer I/O error on dev mtdblock1, logical block 32, async page read
[ 40.525041] Buffer I/O error on dev mtdblock1, logical block 33, async page read
[ 40.532510] Buffer I/O error on dev mtdblock1, logical block 33, async page read
[ 40.539882] Buffer I/O error on dev mtdblock1, logical block 34, async page read
[ 40.547216] Buffer I/O error on dev mtdblock1, logical block 34, async page read
[ 40.576543] Buffer I/O error on dev mtdblock2, logical block 0, async page read
[ 40.619886] Buffer I/O error on dev mtdblock3, logical block 0, async page read

blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Oct 02, 2022 1:59    Post subject: Reply with quote
https://forum.openwrt.org/t/blk-update-request-i-o-errors/7865
https://openwrt.org/docs/techref/flash#innocent_mtdblock_io_errors
I think hardware is fine. Try ext2, ext4, different and fresh USB drive.
May want to start over, clean partitions, after nvram erase && reboot.
mark74
DD-WRT Novice


Joined: 16 Nov 2021
Posts: 31

PostPosted: Fri May 19, 2023 23:29    Post subject: Reply with quote
I was able to turnoff automount and use findfs to mount my drives using drive-label last year. It worked well.

However, it looks like that has stopped working with the recent versions I can't find "findfs" command any longer on this router. Are there any other alternatives? Will that be added back?

I am on 52485 using EA8500. 5/11 build

Code:

root@EA8500:~# which which
/usr/bin/which
root@EA8500:~# which findfs
root@EA8500:~#
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1932

PostPosted: Sat May 20, 2023 0:04    Post subject: Reply with quote
Per Yngve Berg wrote:
In the Services->USB, fill in the UUID to mount as "jffs" and "opt" and use them in the NAS setup.

And use automount and your mount point information for scripts.

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6290
Location: Texas

PostPosted: Sat May 20, 2023 0:37    Post subject: Reply with quote
Code:
mrjcd@daDeb:~$ ssh root@ea8500.mrjcd.com
DD-WRT v3.0-r52596 std (c) 2023 NewMedia-NET GmbH
Release: 05/18/23
Board: Linksys EA8500
==========================================================
 
     ___  ___     _      _____  ______       ____  ___
    / _ \/ _ \___| | /| / / _ \/_  __/ _  __|_  / / _ \
   / // / // /___/ |/ |/ / , _/ / /   | |/ //_ <_/ // /
  /____/____/    |__/|__/_/|_| /_/    |___/____(_)___/
                                                     
                       DD-WRT v3.0
                   https://www.dd-wrt.com


==========================================================


BusyBox v1.36.0 (2023-05-18 04:55:18 +07) built-in shell (ash)

root@EA8500:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                21248     21248         0 100% /
none                       512         0       512   0% /dev
/dev/sda1             30657520  23076988   5997840  79% /tmp/mnt/sda1
/dev/sdb1             14965728   6283096   7900604  44% /tmp/mnt/sdb1
root@EA8500:~# cat /tmp/disktype.dump

--- /dev/sda
Block device, size 29.88 GiB (32080200192 bytes)
DOS/MBR partition map
Partition 1: 29.88 GiB (32079085568 bytes, 62654464 sectors from 2048)
  Type 0x83 (Linux)
  Ext4 file system
    Volume name "32GBext4"
    UUID F704F783-CFB5-4547-9987-A7336CBA923E (DCE, v4)
    Last mounted at "/tmp/mnt/sda1"
    Volume size 29.88 GiB (32078036992 bytes, 7831552 blocks of 4 KiB)

<b>/dev/sda</b> not mounted <b>Unsupported Filesystem</b><hr>

--- /dev/sda1
Block device, size 29.88 GiB (32079085568 bytes)
Ext4 file system
  Volume name "32GBext4"
  UUID F704F783-CFB5-4547-9987-A7336CBA923E (DCE, v4)
  Last mounted at "/tmp/mnt/sda1"
  Volume size 29.88 GiB (32078036992 bytes, 7831552 blocks of 4 KiB)

<b>/dev/sda1</b> mounted to <b>/tmp/mnt/sda1</b><hr>

--- /dev/sdb
Block device, size 14.61 GiB (15682240512 bytes)
DOS/MBR partition map
Partition 1: 14.60 GiB (15680405504 bytes, 30625792 sectors from 2048)
  Type 0x83 (Linux)
  Ext4 file system
    Volume name "16GBext4"
    UUID 0CFDEE24-2710-4FFF-A543-0F8AFB91A82F (DCE, v4)
    Last mounted at "/tmp/mnt/sdb1"
    Volume size 14.60 GiB (15680405504 bytes, 3828224 blocks of 4 KiB)

<b>/dev/sdb</b> not mounted <b>Unsupported Filesystem</b><hr>

--- /dev/sdb1
Block device, size 14.60 GiB (15680405504 bytes)
Ext4 file system
  Volume name "16GBext4"
  UUID 0CFDEE24-2710-4FFF-A543-0F8AFB91A82F (DCE, v4)
  Last mounted at "/tmp/mnt/sdb1"
  Volume size 14.60 GiB (15680405504 bytes, 3828224 blocks of 4 KiB)

<b>/dev/sdb1</b> mounted to <b>/tmp/mnt/sdb1</b><hr>
root@EA8500:~# date
Fri May 19 19:35:53 CDT 2023
root@EA8500:~#
mark74
DD-WRT Novice


Joined: 16 Nov 2021
Posts: 31

PostPosted: Sun May 21, 2023 16:18    Post subject: Reply with quote
dale_gribble39 wrote:
Per Yngve Berg wrote:
In the Services->USB, fill in the UUID to mount as "jffs" and "opt" and use them in the NAS setup.

And use automount and your mount point information for scripts.


If I use both usb ports, same drive is assigned sda1 or sdb1 during reboot. So my mountpoints become invalid which was the reason for using findfs. While one of my mountpoint is optware, the other one is not jffs.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12882
Location: Netherlands

PostPosted: Sun May 21, 2023 16:40    Post subject: Reply with quote
There a scripts available to do that (which use blkid, I think).

From my notes:
Quote:
Script to create fixed mountpoints
Can be handy if you have more than one drive as the drives might swap mount points on reboot:
https://pastebin.com/VDZ32r2D


There are others too

_________________
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
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14217
Location: Texas, USA

PostPosted: Sun May 21, 2023 16:50    Post subject: Reply with quote
mark74 wrote:
dale_gribble39 wrote:
Per Yngve Berg wrote:
In the Services->USB, fill in the UUID to mount as "jffs" and "opt" and use them in the NAS setup.

And use automount and your mount point information for scripts.


If I use both usb ports, same drive is assigned sda1 or sdb1 during reboot. So my mountpoints become invalid which was the reason for using findfs. While one of my mountpoint is optware, the other one is not jffs.

Are you saying that the UUID of your drive volumes change? Interesting. I don't think sir PYB would suggest something so trivial if that were the case.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
mark74
DD-WRT Novice


Joined: 16 Nov 2021
Posts: 31

PostPosted: Tue May 23, 2023 16:02    Post subject: Reply with quote
kernel-panic69 wrote:
mark74 wrote:
dale_gribble39 wrote:
Per Yngve Berg wrote:
In the Services->USB, fill in the UUID to mount as "jffs" and "opt" and use them in the NAS setup.

And use automount and your mount point information for scripts.


If I use both usb ports, same drive is assigned sda1 or sdb1 during reboot. So my mountpoints become invalid which was the reason for using findfs. While one of my mountpoint is optware, the other one is not jffs.

Are you saying that the UUID of your drive volumes change? Interesting. I don't think sir PYB would suggest something so trivial if that were the case.


No, UUID is the same. The device name(sd1, sdb1 etc.) associated with physical device will keep changing on reboot.

I think if I provide UUID and mount it as jffs (i.e. not my own mount point name), it may work through auto mount GUI. I was trying to keep it mounted to a different mount point that I reference elsewhere in the network.
mark74
DD-WRT Novice


Joined: 16 Nov 2021
Posts: 31

PostPosted: Tue May 23, 2023 16:14    Post subject: Reply with quote
egc wrote:
There a scripts available to do that (which use blkid, I think).

From my notes:
Quote:
Script to create fixed mountpoints
Can be handy if you have more than one drive as the drives might swap mount points on reboot:
https://pastebin.com/VDZ32r2D


There are others too

Just added the 1 line for findfs() function and executed it followed by mount commands. Everything worked as it used to.

Thanks for the solution.
Goto page Previous  1, 2 Display posts from previous:    Page 2 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