[OpenWrt Wiki] Share USB hard-drive with Samba using LuCI
openwrt.org › docs › guide-userNov 25, 2020 · Whether it is a USB pen or a hard-drive. Simply plug it in the USB port, and it should show be automatically detected by OpenWrt (if you ssh into the router you will typically find a new entry /dev/sda for the device, and /dev/sda1 for it's first partition). Now go to the Mount points tab under System in the Luci web-interface. You will find your USB storage device listed already as show below.
[OpenWrt Wiki] Quick Start for Adding a USB drive
openwrt.org › docs › guide-userMar 07, 2021 · This Forum article also has a lot of background information: https://forum.openwrt.org/t/more-on-usb-drive-installation/30695/2 If you just want to temporarily mount the drive (say, for testing), you can simply enter: mkdir /tmp/MyDrive; mount /dev/sda1 /tmp/MyDrive Note that, as of OpenWRT v18, the Ext4 file system will be autodetected.
[OpenWrt Wiki] Using storage devices
openwrt.org › docs › guide-userOct 25, 2021 · The typical OpenWrt package already has core USB device drivers installed (if your device has USB ports at all), but might not yet have an USB storage device driver installed. Install this storage driver first (if it is already installed, the following command will just say “is already installed”: opkg install kmod-usb-storage