NotebookCHECK - Notebook Forum

English => News => Topic started by: Redaktion on April 02, 2020, 14:25:14

Title: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: Redaktion on April 02, 2020, 14:25:14
The Raspberry Pi 4 is a powerful SBC, but now you can add an NVMe drive to the Pi Foundation's latest device. Using the Realtek RTL9210 controller, an M.2 NVMe drive can be connected to a Raspberry Pi 4 via one of its USB 3.1 Type-A ports. Better yet, it costs less than US$25 to do.

https://www.notebookcheck.net/Raspberry-Pi-Add-an-M-2-2280-NVMe-drive-to-the-Raspberry-Pi-4-for-under-US-25.459711.0.html
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: Siehe hei Gaudi on April 02, 2020, 17:09:11
I don't care, I need to 2 to 4 SATA Ports.
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: Veg on April 02, 2020, 17:25:02
Quote from: Siehe hei Gaudi on April 02, 2020, 17:09:11
I don't care, I need to 2 to 4 SATA Ports.

Google allnetchina quad sata hat
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: DouglasLourey on April 02, 2020, 18:15:29
There is a workaround to USB mass storage boot.  It still requires a SD memory card, but the operating system is loaded from USB mass storage.
Assumption: Your Raspberry pi is up and running.
1. Copy the current root drive to an image file.
2. Create a ext4 partition on the USB drive
3. Copy the image file to the new ext4 partition
4. Resize the partition to size desired using GPARTED.
5. Edit fstab files to mount the new partition as / (There are two of them)
6. Edit /boot/cmdline.txt and change /dev/mmcblk0p2 to /dev/sda1
Line six is the trick to boot from USB mass storage.
These are my notes for my Banana Pi, so some details must be changed for the Raspberry Pi, but both boards are similar.
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: Damien on April 02, 2020, 19:10:35
So click bait headline.
Should read add USB 3 nvme adaptor for 5x the price of AliExpress.
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: Alex Alderson on April 02, 2020, 20:04:55
Quote from: Damien on April 02, 2020, 19:10:35
So click bait headline.
Should read add USB 3 nvme adaptor for 5x the price of AliExpress.

Except it is not though is it?

"USB 3 nvme adaptor" returns the below. There are no equivalent adaptors that cost US$4.79 on AliExpress, unless I'm mistaken?
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: ProDigit on April 02, 2020, 23:55:41
How dumb is that?
Corsair GTX line is a USB flash drive with SSD technology under the hood.
Or,
Get a USB 3.0 to Sata cable, and connect an SSD to it.
Much cheaper. But the Corsair works really well too.
In fact, most regular USB flash drives work well.
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: Robotbrain on April 03, 2020, 03:21:35
Quote from: DouglasLourey on April 02, 2020, 18:15:29
There is a workaround to USB mass storage boot.  It still requires a SD memory card, but the operating system is loaded from USB mass storage.
Assumption: Your Raspberry pi is up and running.
1. Copy the current root drive to an image file.
2. Create a ext4 partition on the USB drive
3. Copy the image file to the new ext4 partition
4. Resize the partition to size desired using GPARTED.
5. Edit fstab files to mount the new partition as / (There are two of them)
6. Edit /boot/cmdline.txt and change /dev/mmcblk0p2 to /dev/sda1
Line six is the trick to boot from USB mass storage.
These are my notes for my Banana Pi, so some details must be changed for the Raspberry Pi, but both boards are similar.

BerryBoot makes this even easier and doable in a GUI, plus you can do multiboot easily. Leepspvideo has a quick video on YouTube about it.

This site won't let me post links, but it's called "EASY SSD Install Raspberry Pi 4. BerryBoot 2.0 part 2"
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: SUSHIL on April 03, 2020, 03:54:03
I tried to run a web server over pi 4 B. Everything installed properly including LAMP and wordpress for my domain susthesurfer.com but i couldn't able to host due to port forwarding issues. I tried everything but port 80 always showing blocked in Port checker tool. Kindly help
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: susthesurfer on April 03, 2020, 04:03:19
I tried to host my website susthesurfer.com on raspberry pi 4B all worked fine but i got stuck while port forwarding. I tried. Everything to forward port 80 on my mi3c router but it didn't worked for me. The port checker tool always shows port 80 is blocked. Can anyone help me?
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: haybobhagpants on April 03, 2020, 04:22:53
Makes me wonder if we can somehow connect an external GPU to a laptop via the aforementioned USB 3 to PCIe adapters.
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: aditya on April 03, 2020, 08:54:19
There are SBCs that support NVMe natively. These include:

* Rock Pi 4 from Radxa
* RockPro64 from Pine64

They are slightly more expensive than a Raspberry Pi 4, but offer better I/O and overall performance.

Software support used to be the achilles heel of such boards, but it has gotten better and many work with upstream Linux and mesa now.
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: M4L on April 03, 2020, 09:42:28
Have a Look at the Suptronics Homepage For a M.2 SSD Extensions
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: radu on April 03, 2020, 14:35:52
Quote from: susthesurfer on April 03, 2020, 04:03:19
I tried to host my website susthesurfer.com on raspberry pi 4B all worked fine but i got stuck while port forwarding. I tried. Everything to forward port 80 on my mi3c router but it didn't worked for me. The port checker tool always shows port 80 is blocked. Can anyone help me?
Maybe your ISP is blocking port 80? You can ask them.
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: LuckyAngel on April 03, 2020, 14:50:24
Check out ngrok dot com
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: Damien on April 03, 2020, 21:46:05
Quote from: Alex Alderson on April 02, 2020, 20:04:55
Quote from: Damien on April 02, 2020, 19:10:35
So click bait headline.
Should read add USB 3 nvme adaptor for 5x the price of AliExpress.

Except it is not though is it?

"USB 3 nvme adaptor" returns the below. There are no equivalent adaptors that cost US$4.79 on AliExpress, unless I'm mistaken?

I got a pair of boards ordered last week cost me £6.50 each including postage
So its possible
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: Paul Beckett on April 03, 2020, 23:42:35
I run a Pi3B+ with a 128 gb m.2 drive in an Element14 case and provided hat, no sd card and very happy with it, i ran originally to boot from sd card but you end up with double the drives, directories. This is the type solution im looking for my Pi4.
Title: Re: Raspberry Pi: Add an M.2 2280 NVMe drive to the Raspberry Pi 4 for under US$25
Post by: Tobias78 on March 22, 2021, 18:16:43
Sadly you conveniently forgot to mention that NONE of these adapters (not even with the low-energy Realtek chipset) currently work stable on the PI4b. If you only have a tiny amount of low volume transfers in your pi project, maybe you'll get lucky, but try to write 1TB in one go and you'll quickly see immediately that the connection is unreliable.
Pretending this is a thing people should do is absolutely reckless!
There's a reason why the only of-the-shelf M.2 board out there only supports M2 SSDs.
Must be hard to produce quality content to attract readers.