Install Adguard Home on Linksys MR8300 but total storage mismatch

i would to test ADH on a MR8300 Router ( ) . From the device page this router have 256MB on NAND but i seen different total space on control panel.

If 57.5Mb are 83% of free space , this mean the total space is about only 70Mb. So, seem there's not enough space for ADH. So why only 70Mb of total storage available? There's some packages to see the storage configuration? Thank you.

Seems there are two OS partitions on the flash, if that's correct, your availabe flash space would never be larger than 128mb, plus there's some other data stored on it as well, like boot loader, ART partition, uboot env partition, etc.

Do a cat /proc/mtd or check the boot log.

57mb should however be more than enough to install AGH?


Here the command executed

 cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "sbl1"
mtd1: 00100000 00020000 "mibib"
mtd2: 00100000 00020000 "qsee"
mtd3: 00080000 00020000 "cdt"
mtd4: 00080000 00020000 "appsblenv"
mtd5: 00080000 00020000 "ART"
mtd6: 00200000 00020000 "appsbl"
mtd7: 00080000 00020000 "u_env"
mtd8: 00040000 00020000 "s_env"
mtd9: 00040000 00020000 "devinfo"
mtd10: 05800000 00020000 "kernel"
mtd11: 05500000 00020000 "rootfs"
mtd12: 05800000 00020000 "alt_kernel"
mtd13: 05500000 00020000 "alt_rootfs"
mtd14: 00100000 00020000 "sysdiag"
mtd15: 04680000 00020000 "syscfg"

For install ADH is enough about 10Mb of space

but due to large data collected data it suggested to have at least 100Mb of storage available like said on This if i understood correctly.

I don't use AGH myself, but unless that data's static, I wouldn't want constant flash writes, it'd kill it pretty quickly.

Right observation because the writings are there because of the data collection !. Alternatively, it seems to me that we are talking about using an external USB storage.

That, or NFS/SMB mount.

You mean using local remote storage like a nas? In that case i think USB is simpler to config and use.

Yeah, some kind of network(ed) storage.

It's pretty much the same, you either mount a USB drive, or a NFS drive, same command, different params.

1 Like

While a network based filesystem would technically work, I would never consider this for a router or other (relatively low-level) networking device, as you run into bootstrapping issues and race conditions easier, given that the network you want to use, is only provided once the router is full up and running (yes, static IPs - but that breaks the central (re-)configuration mantra). Therefore I'd always favour local storage (as in cheap USB stick) over remote storage for this kind of device in particular.

Yes, me too i prefer local storage like usb key. Can you suggest me where to find instruction to use a usb key on usb to use with ADH?

No idea what adguard needs (if there's anything special about it), for the 'normal' case of mounting local storage, there's blockd.

1 Like

Thanks for your answers. Another idea may to foreseeing a options to select storage location directly on ADH menu once usb key mounted. This make the setup simpler i think.

Or just get a free for life cloud host, at for instance Oracle, and run your own ADH on it.

Yes is a options, there's many free services that permit to do but in my case i prefer to use a local options. If i remember rightly oracle requires a credit card even for free services.

if they do, the one they got on file have been replaced at least twice already.

never heard anything from them regarding charges.