If you want to automatically mount USB drives on a server running Debian or Ubuntu (including Raspbian or Ubuntu MATE for Raspberry Pi) you can use a simple, but very effective tool called USBmount. USBmount is a set of scripts used to automatically mount USB mass storage devices when they are plugged in. While it's not created to only run on servers, USBmount is especially useful on a server because it doesn't have a graphical user interface, and it doesn't depend on any desktop environment.
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.