Pcornel
Storage · Storage Interfaces

USB Storage

Cheat sheet · https://pcornel.dk/topic.php?topic=3906

Back to the Topic

Answer

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.

Remember

  • UAS is faster than BOT.
  • USB is not for always-on server storage.
  • Eject safely to avoid corruption.

First checks

  • lsusb -t — USB tree and speed
  • lsblk -d -o NAME,TRAN — usb transport
  • dmesg | grep -i -e usb -e uas — UAS vs usb-storage

Verify in this order

host USB controller → UAS/BOT → device

Where it usually breaks

First mismatch in media/firmware → device controller → interface/link → host driver → block device → upper storage layer; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3906

Confirmation

Confirm action

Continue?