Use this when using USB drives for transfers or offline backups.
USB Storage
USB storage connects external drives and flash sticks over USB, using UAS or the older BOT protocol. It is convenient for transfers and offline backups but not suited to always-on server storage.
1. USB storage for portable media and backups.
2. Use UAS driver for speed.
3. Unreliable for servers (resets, power).
4. Encrypt portable media.
5. Eject safely.
host USB controller → UAS/BOT → device
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
lsusb -t # Driver=uas vs usb-storage
dmesg | grep -i usb | tail
Step 2 Common mistakes Narrow the fault
- Using USB disks as primary storage for VMs.
- Not ejecting safely, risking file system damage.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- UAS is faster than BOT.
- USB is not for always-on server storage.
- Eject safely to avoid corruption.
lsusb -t— USB tree and speedlsblk -d -o NAME,TRAN— usb transportdmesg | grep -i -e usb -e uas— UAS vs usb-storage
ReferenceHow it works1 section · depth on demand
How it works
USB storage uses either the older Bulk-Only Transport (usb-storage, one command at a time) or UASP (uas), which queues commands like SCSI. Speed depends on the slowest of port, cable, enclosure bridge chip and drive. USB is meant for removable and backup media; a dropped connection makes the disk disappear, which file systems and RAID tolerate poorly.
ReferenceImportant terms & boundaries1 section · depth on demand
Facts
| Standard | Speed |
|---|---|
| USB 3.2 Gen 1 | 5 Gb/s |
| USB 3.2 Gen 2 | 10 Gb/s |
| USB 3.2 Gen 2×2 | 20 Gb/s |
| USB4 | 40 Gb/s |
UASP improves performance over the old BOT protocol. Avoid USB disks in RAID/pools — they disconnect.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Interfaces → USB Storage. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.t10.org/ · confidence 94%