Updating content of disk shared under network storage for DLNA sharing

I am using the GL-MT6000 with OpenWrt 21.02-SNAPSHOT r15812+1085-46b6ee7ffc, kernel 5.4.238, firmware 4.7.7 release1.

I can share a disk through the network storage functionality ( Network Storage - GL.iNet Router Docs 4 ) and I can access it just fine through sftp at sftp://[email protected]/tmp/mountd/disk1_part1/

However, when connecting to the "GL-mt6000 DLNA Server" through VLC for example, only some of the folders are shown. If I "force" a rescan by changing the path shared, by sharing only a sub-folder for example, /disk1_part1/test/

then all of the test folder is correctly shown, and I can even revert to sharing only /disk1_part1/ and I will see all the folders.

However, if I restart the router, then I can see again only some of the files / folder. Is there a simpler way to force a re-scan, or am I missing something?

I used an A1300 router, V4.7.2, for testing and there was no problem. Does the problem have to be reproduced with an MT6000 device? Have you tried anything else?


I only have a MT-6000, and the problem is that it sometimes correctly index all the files & folders, sometimes not. It may be a faulty drive, but what I am looking for right now is if there is a command to force a re-scan of the drive.

Related: Incomplete directory returned from DLNA server - #17 by tsantilis where it was recommended to check for non-standard folder / file names, and where the issue vanished after a reboot if I read correctly.

There is no command to rescan the drive. Normally, everything will be visible after it is mounted.