Anshul333 wrote: ↑
Thu Jul 18, 2019 5:00 pm
I have been using a raspberry pi for more than a year now and now the SanDisk 32GB is not working properly.
What does "not working properly" mean. Exactly what is the problem?
As a replacement I am thinking to buy a new SSD to boot the pi from but there are so many brands and so many options.
I don't need much storage 128 GB should be more than enough for me.
128GB SSD starts around the same price as 128GB A1 rated micro SD cards (although some brands are more expensive than others).
... and does an SSD really offer a performance boost over regular SD card?
Booting will be slower, but OS performance will be better, so once the system is up and running it should feel faster with SSD.
Since you've had your Pi "for more than a year now" it's safe to assume it's not a Pi4 (assuming Pi 3B or 3B+).
On the older model Pi computers you won't see the huge gains in performance you'd have on a PC with native SATA or USB-3, due to the Pi's USB 2.0 interface. However, an SSD will have much higher IOPS (Input Output operations Per Second), which is very important for operating system performance (in this case, much more so than raw throughput speed). So an SSD should outperform an SD card, and it's not just numbers, it's performance that you will actually see and feel (again, not a huge difference, but you will notice it).
What are your recommendations
Depends on your budget (and where you live).
The Crucial BX500 120GB SSD should be competitively priced and a good performer. I've been using a Silicon Power A55 128GB on my Pi 3B for awhile and I've been happy with its performance. Although at the time of this post the Crucial is less expensive on Amazon USA (if I was buying now, I'd get the Crucial).
If you don't mind spending a bit more, the Samsung 860 EVO and Crucial MX500 series drives are considered by many to be the best consumer SATA SSD models, but they don't have 120GB size, so you'll have to spring for a 250GB drive.
And now the disclaimer:
Assuming you have a Pi 3B+ model (or 3B with the USB boot OTP bit programmed), the real trick is finding a USB adapter that's compatible with the Raspberry Pi boot-loader. The Pi3 boot-loader is small and simple out of necessity (there was very little room on the SoC for code) and because of that, it's not compatible with all USB mass storage devices. You can't just plug in any old USB drive and expect it to boot (the boot loader on the 3B+ has been improved, but it's still not 100%).
So with that in mind, and depending on where you live and what's available to you, here is what I have tested and recommend.
This TNP USB3-SATA3 adapter cable
seems to be the generic version of the of old Eluteng black adapter, and that was pretty much the gold standard for USB booting a Pi3 from a SATA SSD or HDD (click adapter picture to see my SSD booted Pi 3B setup).
Note: if the picture on Amazon looks different from this one, it's not the same adapter (these things tend to change over time).
I have tested that TNP adapter with 4 different brands and models of SSD (Silicon Power A55, Crucial MX500, Kingston UV500 and MiDigitalSSD SB2), as well as with WD hard drives (and I tested the old Eluteng black adapter with lots of other drives).
The newer Eluteng adapter with blue SATA connector was not 100% reliable for me, so I don't recommend it.
The Sabrent EC-SSHD USB3-SATA3 adapter cable
has also worked well for me with SSD (haven't tested it with HDD), but I prefer the shorter cable of the TNP adapter. If you want a longer cable, the Sabrent is a good option.
If you get an adapter+drive combo that doesn't cold boot and reboot reliably, you can do the bootcode.bin only micro SD card method to fix that (in most cases) and that also works on other models which can't boot directly from USB (even the Pi Zero).
If you are planning to get a Pi 4B, note that USB booting has not been enabled yet, and it will require a new firmware for that. The USB boot enabled firmware is going to be worked on after they get network booting (so, likely at least a few months away). Also, the Pi 4B does not use the bootcode.bin file, so that won't work either. You can put /boot on SD card then load and run the OS from USB (SSD). That's what I'm doing now, and it's faster than the older Pi models on the Pi4 USB 3.0 ports.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?