Install OS on RAID1 thanks to dual SATA board?
#10
(05-10-2019, 11:19 AM)Thatoo Wrote: I asked for help on #rock64:matrix.org matrix room chat but couldn't get any help there.
If I understand well, you setup the RAID1 correctly, then you partition and format it, and finally you installed armbian script to install it in order to boot on SD and have the system on SATA/
Am I correct?

Sort of. With btrfs, you create the partition first, on one drive, and format it, before adding the second drive. With just one drive, and letting nand-sata-install format the partition as btrfs, booting worked fine. After the nand-sata-install script is when I turned the one-drive btrfs partition into a two-drive RAID1 btrfs partition. (That's one of the advantages that btrfs has over mdraid: it's super easy to add drives to an existing configuration.)

Quote:And after all that, when you reboot it, it didn't work.
What didn't work?
It didn't boot at all? or does it boot from SD but don't reach system on the RAID1 SATA?
Are both of your drive correctly powered? I could read many people talking about power problem, need of external power supply and stuff, a button to push to power SATA drives... [I can't find back these threads...].

At this point, I just know it didn't boot up completely. The white LED turns on for a bit, and then turns off. I can't connect to it on the network. There's no monitor attached, so I don't know if it's displaying any error messages. But I will hook up a monitor if necessary to debug this.

Some research suggests that there is some special configuration that needs to be done to the bootloader for booting multi-drive btrfs partitions. I'm still looking into it. Unfortunately, there isn't as much knowledge out there on btrfs compared to mdraid, since btrfs isn't as mature.

Quote:Right now I found that thread : https://forum.pine64.org/showthread.php?...ight=raid1

I hope you'll manage to make it work and do a beautiful tutorial for other newbies.
Thank you.

I saw that thread. I think the power supply issue depends on the exact drives in use. So far, I don't suspect that, because the RAID1 configuration works fine until I reboot.

Anyway, I'm continuing to work on this.


Messages In This Thread
RE: Install OS on RAID1 thanks to dual SATA board? - by markb1 - 05-10-2019, 11:47 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  linux-headers and quartz64-post-install package conflicts Berzerkleyfan 2 1,330 12-01-2023, 05:17 AM
Last Post: Berzerkleyfan
  Star64: SATA Der Geist der Maschine 1 1,516 07-26-2023, 12:35 PM
Last Post: Gladox114
  PBP Debian 11 GRUB install error zlth 2 2,513 11-18-2022, 07:42 AM
Last Post: zlth
  SOQUARTZ Compute module W does not fit Raspberry Pi CM4 dev board ihab 0 1,887 10-06-2022, 08:46 PM
Last Post: ihab
  wrong launguage install chadace 1 4,398 06-08-2020, 08:31 PM
Last Post: chadace
  How to boot from the SD card and install to eMMC? ravanh 2 7,048 03-18-2020, 09:42 AM
Last Post: tophneal
  Rock64 suitable for headless TVHeadend install? elsmandino 3 7,165 06-26-2018, 11:37 AM
Last Post: Luke
  Here Is another mini-how-to to install Raspbian:DESKTOP/ETHERNET/HDMI speedro86 4 8,995 04-15-2018, 07:37 AM
Last Post: bunkerWHz
  My first Single Board! jjh221 4 7,555 04-09-2018, 06:52 PM
Last Post: jjh221
  sopine cluster board install Smurfbot 1 4,848 03-31-2018, 04:09 AM
Last Post: pfeerick

Forum Jump:


Users browsing this thread: 4 Guest(s)