[HELP] SD card split (plugins + lan storage)

I have inserted in my GL-Inet router an 256 GB SD card.

Now I need to do following:

  1. Give 6GB to system (for installing plugins)
  2. Give 250GB to lan storage

Anyone can guide me how to do it? Or maybe someone can give me such script?

you don't need specify the actual size of them, just use 1 partition and make a folder which hold your lan storage files.in that case,these 2 functions share their capacity so you can use more or less of the storage for each of them.

for 1 https://openwrt.org/docs/guide-user/additional-software/extroot_configuration
for 2 simply mount the partition somewhere

How?

Can you please provide detailed instructions?

I assume you're going to share it, install ksmbd or samba, and it'll become clear.

1 Like