In terms of expanding storage via USB devices, there are two options, but how you connect them will affect your success. For example, you can plug a USB hard drive or flash drive into one of the USB ports, but if another device needs that port, things can get tricky.
Many Raspberry Pi owners use powered USB hubs to get around this problem, and once you realize the importance of this (the computer doesn’t draw enough power to handle most USB devices), add a new USB storage device. otherwise, it shouldn’t be a problem.
Three main storage options
You will find that you have three main options for adding, storing, and deleting data on your Raspberry Pi:
- SD/SDHC card
- flash drive
- USB hard drive
We will look at the three options in more detail, how they can be used most effectively, and any downsides or disadvantages.
Using an SD card to store Raspberry Pi data
Fortunately, there is a way around this. Function file system extensions included in Raspbian’s raspi-config screen and allows you to increase the size of a partition up to the maximum capacity of your SD card. See 4 Tweaks to Supercharge your Raspberry Pi on how to do this.
Connecting and Installing a USB Drive
Inserting a USB flash drive will not have the same effect as in an OS like Ubuntu or Windows. Instead, you will need to manually mount the device in order to use it as an additional USB drive for your Raspberry Pi.
sudo ls /dev/sd*