Home Server with RAID 1 SATA M2 SSDs
#1
I have been using a Raspberry Pi Model B as a home server for a decade now. Mainly as an http/cronjob server, it has never failed on me (did a SD card upgrade at some point for additional disk space). Backup was just a couple of SDs ready to replace the failing one.



Now I need more CPU power so I got myself a RockPro64 4GB and plan to setup it with two M2 SSDs in RAID 1.



My current inventory:

- board

- 60W power adapter

- PCIE to M2 SATA adapter (two slots) based on the JMB582 chip



Items I am waiting for:

- heat sink (forgot to order it with the board)

- serial to usb adapter (because apparently you cannot install Debian without it as video fails: https://youtu.be/dENsLmDhq5Y)

- 2x SATA SSDs (1TB each)



Tried installing Debian 12 but (as per the linked YouTube video) I think I got this https://wiki.pine64.org/wiki/ROCKPro64#N..._on_Debian so now I need something to hook up to the uart (please let me know if I am wrong on this).



Manjaro worked great and I was able to at least confirm the SATA adapter is loaded fine:
$ lspci
00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3399 PCI Express Root Port
01:00.0 SATA controller: Micron Technology Corp. JMB58x AHCI SATA controller
  Reply
#2
(03-19-2023, 07:18 AM)runyor Wrote: Tried installing Debian 12 but (as per the linked YouTube video) I think I got this https://wiki.pine64.org/wiki/ROCKPro64#N..._on_Debian so now I need something to hook up to the uart (please let me know if I am wrong on this).

Why not SSH into the RP64 and run the command?
  Reply
#3
(03-19-2023, 07:21 PM)diederik Wrote:
(03-19-2023, 07:18 AM)runyor Wrote: Tried installing Debian 12 but (as per the linked YouTube video) I think I got this https://wiki.pine64.org/wiki/ROCKPro64#N..._on_Debian so now I need something to hook up to the uart (please let me know if I am wrong on this).

Why not SSH into the RP64 and run the command?

I assumed the DHCP client is not enabled by default on the Debian installer as the board did not show up on my router's devices list.
  Reply
#4
What is the symptoms of your issue? Can you step by step what you have done so far? Which image? Booting from eMMC or SD?
  Reply
#5
For your setup you might find useful information here:

https://git.sr.ht/~chrichri/RockPro64_u-...RAID_howto

If your SATA controller is supported by u-boot you could finish your setup without serial console, but I'd strongly advice to be ready for failure in which case debugging via serial would be needed. Reverting to a boot from sdcard/eMMC works without serial console by disabling SPI via jumper.
  Reply
#6
Not worth setting up another account.....
Flash sector size 0x2000 ..... is this a typo? maybe 0x200?
  Reply
#7
(09-25-2023, 01:17 PM)wdt Wrote: Not worth setting up another account.....
Flash sector size  0x2000  ..... is this a typo?  maybe 0x200?

Hm, I'm not really into that topic, but it seems that sectors used for erasing can be quiet big. Information from the SPIs data sheet (wiki) point to a size of 4096byte, but the page https://github.com/sbabic/libubootenv/bl..._config.md says it can be left out.

A quick test reveals that indeed the commands fw_* work without that parameter. I'll take it out off the howto.
  Reply
#8
0x2000 = 8K ,, this seems too low (small) for an erase block size, which is usually 64K or larger
Nowadays often 256K,, but this is NOR flash so it could be different
-----
and after looking at the examples I think that it is indeed erase block size,, just mislabled
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Anyone require a apple-sleek NAS case, w/ ample passive cooling & mutliple ssds? dairymilkbatman 0 340 01-19-2024, 02:17 PM
Last Post: dairymilkbatman
  Smart TV & server storz 1 1,304 01-19-2024, 01:59 PM
Last Post: dairymilkbatman
  Umbrel Server Shaeroden 0 1,315 05-04-2022, 06:14 PM
Last Post: Shaeroden
  SkiffOS server with Docker ,NAS, Home assistant, Jellyfin, Snikket XMPP (tutorial) GreyLinux 12 9,695 04-04-2022, 05:26 AM
Last Post: GreyLinux
  SimpNas server with docker - home assistant, radicale , jellyfin & esphome (tutorial) GreyLinux 0 4,365 01-17-2021, 11:33 AM
Last Post: GreyLinux
  [WIP] backup server (4 sata HDDs + ZFS) rolando 8 11,955 06-30-2020, 10:58 AM
Last Post: dml-pc
  OMV + VPN server + Pi Hole? odhinnhrafn 3 7,841 03-16-2020, 05:01 PM
Last Post: mabs
  RockPro64 as PATA/SATA bridge? Count Omega 1 4,254 12-07-2019, 02:25 PM
Last Post: Count Omega
Video ARMBand an easily configured Home Media Server gabrielsr 2 6,129 07-22-2019, 04:56 AM
Last Post: stuartiannaylor

Forum Jump:


Users browsing this thread: 1 Guest(s)