2

I have made a cloud storage server using NextCloud and a Raspberry Pi and currently I am using an external hard drive as the data directory.

However, the external HD has a capacity of 1TB and I don't have (and will never have) that much data on the cloud; in fact, I would be very surprised if I ever stored more than 16GB. So I wondered whether I could, instead of using the external HD, use a USB 3.0 flash drive with a capacity of 32GB (say).

Are there any down sides to this? For example, will upload/download speeds be slower? Do USB sticks have a shorter life than ext HDs? etc.

Note: I'm completely new to Raspberry Pi and all things related to it!

1

Depending on the hard disk drive you are using and the USB stick you want use the chances are performance wise there isn't going to be much difference. Depending on the model of Pi you have, the USB ports and the Ethernet port share the same controller. This means the USB transfer rate is bottle-necked by any traffic through the Ethernet port.

Also worth considering is all models of the Pi use USB 2.0 connectors. At best through a USB 2.0 connection, (theoretically), you are going to get a connection speed of 53MB/s. (See this post for more details). Generally speaking a modern 7200RPM drive is at best going to give read speeds of around 160MB/s and write speeds of around 150MB/s. Again that's a best case scenario, so you should expect less.

The read and write speeds of the USB drive depends on the type of flash memory that is used in it. A cheap flash drive is obviously going to perform worse in read and write tests. However flash memory can perform on par or better than a HDD. Although you will pay a premium for uber fast flash drives.

To be honest I don't think you will notice a difference between the two. The only thing I would add is if you fill the USB flash drive to capacity it will start to slow down. You are going to be less likely to run into that issue with the 1TB drive.

I can't imagine any lifespan differences would cause you issues. And I'm not sure I could argue one drive is more reliable than the other. If you would like a detailed comparison in this area I suggest you give this page a look.

0

I just set up something very similar with OwnCloud and I started out using a 1TB external HD. I am now just using a USB 3.0 Sandisk 124GB flash drive and I think the flash memory is actually faster than the HDD. I don't think you'll notice any performance issues by doing this.

0

In my opinion USB are better... Reasoning because HDD use a power cable where as USB do not they plug in directly to the USB port only. Also for example Sandusky makes a USB with 1.5 TB of space, so does Samsung! Yes HDD look bigger but they aren't actually mean that they are better only more space consuming and wired. They don't have more/less life and download speeds would be equal!

Hope this helped you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.