How to Fix Router external storage volume name changes?

General discussion related to "Everything".
Post Reply
Flourgrader
Posts: 85
Joined: Fri May 28, 2021 7:55 am

How to Fix Router external storage volume name changes?

Post by Flourgrader »

Hi all,
I am running windows 10, version 21H1 (OS Build 19043.1110).
Everything Version 1.5.0.1269a (x64).
I have a Router TP-Link AC2800 (also known as the Archer VR2800).
There is a known problem with this router!
It is a Firmware problem!
When you connect multiple external hard drives to the shared USB3 ports
On the side of the router, it assigns a network addresses name to them.
EG: \\192.168.1.1\volume(sdb1)
Lets say the above volume contains all video
EG: \\192.168.1.1\volume(sda1)
And let’s say the above contains all music.
All works well at this point.
But when you switch off the router or re-boot it the router flips the volume labels.
So, volume(sdb1) now contains music and volume(sda1) contains video.
So, when the name of a volume changes (from sda1 to sdb1, for example) addresses become invalid.
That means all the programs on your PC that poll the router for data
Can’t find it.
It’s pretty rubbish, and TP-Link are in no rush to ever fix this problem.
Millions of these routers must have been sold worldwide, so a lot of people in the same boat as me.
So, I am looking for a software fix, or partial fix is better than none.
I was wanting to know if there is any way I can mark the volumes from within Everything to make corrections when the volume labels are flipped?
Or is there any third-party software out there that can run as a service in Windows 10 to fix this problem?
Thank You.
therube
Posts: 4646
Joined: Thu Sep 03, 2009 6:48 pm

Re: How to Fix Router external storage volume name changes?

Post by therube »

For Everything, maybe you could automate something s/sda1/sdb1/, changing the Everything.ini - prior to starting up Everything?

So if you had /sda1/music/ & /sdb1/video/...

set up two Everything.ini's
call one, 1.music, the other 2.video
only difference is whether /sd?1/ points to music or video
which depends on whether your router has decided to use (sd?1) a or b
(-while Everything is not running-)
copy the appropriate (1 or 2) over the existing Everything.ini
then start up Everything

pseudo-code:

Code: Select all

 
rem:  just see if some expected directory exists
rem:  if it does, copy 1.music to Everything.ini & if not, copy 2.video

if exist /sda1/music
copy /y  1.music  Everything.ini
else
copy /y  2.video  Everything.ini

cmd/c  start   Everything.exe
It's ugly, but I suppose something like that should work.
In this case, there is no GUID to key in on.
Really nothing to key in on, considering the flip-flop.

(Guess what you're not going to buy - next time.)
Flourgrader
Posts: 85
Joined: Fri May 28, 2021 7:55 am

Re: How to Fix Router external storage volume name changes?

Post by Flourgrader »

I was thinking of something on the same lines.
But i did not know how to express it.
Thank you for the idea and the code therube.
Post Reply