How to use USB storage on Openwrt?

  1. Are there different ways to do it ? Like for installing packages on it or using it for NAS, is the method different .
  2. File System ?
  3. Packages ? There are 3 groups of package on different pages of openwrt documentation -
    • usbutils kmod-usb-storage-uas kmod-usb-storage
    • block-mount e2fsprogs kmod-fs-ext4 kmod-usb-storage kmod-usb2 kmod-usb3
    • kmod-usb-core kmod-usb3
  4. What things I can do with USB storage ?
    • NAS
    • Download to it - files and torrents
    • File Server
    • Install Packages to it

1 the router becomes the NAS
2 pick one
3 https://openwrt.org/docs/techref/block_mount
4 all of them

2 Likes
  1. RE: There is only 1 "way" to use USB storage on openwrt. it isn't like I can only use it for NAS or installing package or something else.. ?

  2. How to choose file system? pros and cons ?

  3. OK i need kmod-fs-ext4 is for file system, kmod-usb3 for USB 3 support,
    what else do I need or should install ?
    do I need block-mount, e2fsprogs, kmod-usb-core, usbutils, kmod-usb-storage-uas, kmod-usb-storage

  4. What else can I do with USB storage on Openwrt ?

1 No, you can use it for both
2 google it, there are several options
3 probably all of them except for e2fsprogs
4 if you use floppies for storage, they are able to play tunes

Have you worked through this page? https://openwrt.org/docs/guide-user/storage/usb-drives-quickstart

1 Like

@frollic

vs

Since you can have more than one partition, you can do both, and keep them apart.

How to download and run packages to USB flashdrive

read https://openwrt.org/docs/guide-user/additional-software/extroot_configuration