In general esata/usb works the same, only difference is that you don't need the USB kmod drivers and instead need the sata ones.
- make sure the sata kmods are installed, the last is device/chip specific:
kmod-ata-ahci, kmod-ata-core, kmod-ata-???-sata
- add the kmod for the FS of your choice, by default only ext4 is present:
kmod-fs-f2fs, kmod-fs-btrfs, kmod-fs-exfat
- NOTE: avoid ntfs if possible - Use Gparted to setup/format your drive via Bootiso or PartitionWizard Portable on Windows
- Luci has options under System/Mountpoints to manage the detected disks, aka fstab
- Optional use Samba3/4 or Ksmbd to share the drive via SMB, Luci packages are named:
luci-app-samba3/4, luci-app-ksmbd
- Optional add the
wsdd2
package to make the shares visible in windows - Optional add the
avahi-dbus-daemon
and/orksmbd-avahi-service
(ksmbd only) to make the shares visible for Linux/MacOS
PS: In general the luci-app-xy packages have all the dependencies needed, so try to just install those first and all extra required packages should be also pulled in automatically.