Hi! I'm Olga Weis (more about my credentials at https://www.electronic.us/author/olgaweis/). I'm a technical author at Electronic Team, Inc., and I often explore different ways to use the company's software.
Today, the topic is USB drive sharing! USB drives are a broad category of hardware - the first things that come to mind are flash drives and portable HDDs (the ones that are basically normal SATA drives with a USB adapter and a plastic shell around them). But I'd also include USB CD/DVD drives and NASes (Network Attached Storage) that have a USB interface. All these devices have two things in common: they require a lot more bandwidth than an input device, and don't like interruptions. Interrupted playback from a DVD or a hard drive can cause video artifacts, and interrupted writing can waste a blank CD, or corrupt a file system!
That being said, here's what I suggest.
Contents
Some methods may be more or less suitable - or completely unavailable - depending on your situation.
Windows (I'm assuming 11 - don't connect 10 to a network, non-ESU editions don't get security updates anymore!) provides a native solution for drive and folder sharing. Even though you don't need to mess around with a console, it's still pretty tedious. Reportedly, Windows updates can also break this functionality. However, once a drive is shared, accessing it is really easy, literally just a few clicks.

To start sharing folders or drives on Windows 11, do the following:
And for individual folders:
As for joining - open File Explorer, select Network, and it should appear there.
Drive mapping on Windows uses the SMB protocol. Technically, SMB shares are also accessible from Linux machines through the Samba application, but the process can be a bit tough. You need to specify the domain, and may also need to force the use of a certain protocol. As is usually the case with Windows-Linux interactions, things break and it's hard to find a definite guide.
Linux users have access both to NFS (in the form of nfs-kernel-server) and to SMB (samba). Both require command-line and config file setup. In fact, I even found Linux-Linux SMB sharing to be somewhat easier than NFS. Samba shares are listed in Nautilus, under Network, without any extra setup - much like they are on Windows.
Since Samba is the easier option, here's how you create a share:
A Samba share configuration looks like this:
[testshare]
path = /home/youruser/sharedfolder
browseable = yes
read only = yes
Note: you need "browseable" for the folder to show up in Nautilus. "read only" is recommended, so you explicitly know the setting without needing to remember the default.
To open a share created in Samba, launch Nautilus (sometimes simply called Files) and go to Network. If the folder doesn't appear, use the "Server address" text field to manually find it.
FlexiHub by Electronic Team, Inc. is probably the best option in terms of convenience, and it's almost guaranteed to work. However, it's also paid. I see it as a trade-off - do you want to trudge through menus? Or worse, try and explain them to a relative/coworker over the phone? Even on Linux, the FlexiHub installer never caused me (or others that needed access to my drives) any trouble.
NFS and SMB share individual folders, but they don't give you full access to the drive. If you need to use it like a block device - for example, to run smartctl, to burn an .iso file with dd, or simply view device information - that would require a USB-over-IP solution. FlexiHub works this way, and devices redirected this way behave like they're physically connected.
If you're sharing drives on a local network, NFS and SMB are fine. But exposing ports to the internet is a huge risk! Either use a VPN, a tunnel connection, or FlexiHub, since it handles the security side of the connection for you.
Create single-use login tokens ("Shared access" at https://account.flexihub.com/) if you want to share your devices - don't just give others your password!
The primary risk when using a drive remotely is, of course, unauthorized access. If you do decide to make yours available on a public network, use IP whitelisting instead of plain password protection. And, when it comes to personal data, never make it available on the Internet at all.
Then, there's the more mundane risk of bad writes. If you aren't intending to write to a disk, use it in explicit read-only mode, or change the files and folders you're accessing to be read-only. On Windows, you can add a volume attribute for this, and on Linux, you can change permissions for folders in Nautilus or through chmod. Don't forget to change recursively. You can also unmount the drive and manually reconnect it through udisksctl with the "o -ro" argument.
Of course, if you are intending to write to a network drive, use a journalling file system on it, like ext4 (Linux) or NTFS (Windows). This won't help much with a non-rewritable CD or DVD, so don't write to these over the network, period. And finally, always keep backups!
For a USB drive, the first thing you should do is always connect it to a USB3.0 port (or the latest standard at the time of reading), with a high-quality USB3.0 cable.
Pick out the best Ethernet cables, use the shortest cables possible, and for non-local sharing, pick out the provider that gives you the most bandwidth.
When benchmarking it, don't forget to test the drive both with large files, and sets of smaller files. On Linux, use the "time" command when running tests. Windows usually shows file transfer speed in the transfer dialog, but I'd time it just in case.
That's it! Good luck with your USB drive!
FlexiHub