Rock64: Debian root fs on software RAID1 of eMMC and microSD - is installing it the s
#1
I have already searched the forum for RAID. If I missed something pertinent my questions, please let me know.
    I do not know whether the following data are correct; regardless, I am more concerned with outliers of failure. I include these details for general information.
eMMC lifespan - https://electronics.stackexchange.com/qu...mc-is-dead - "The optimistic estimation would be based on the assumption that your system accumulates data until it can fill one complete erase block, then writes all the data in one go. In that case, your eMMC will live 4'000'000 * 3'000 / (4*20) = 150'000'000 seconds That's about 4.75 years."
microSD lifespan - https://superuser.com/questions/17350/wh...an-sd-card - "My experience with FLASH is integrity begins to falter in as little as 5 years."

1a. Can I compose a RAID1 using eMMC and microSD?
1b. How may I set the boot priority? - https://forum.armbian.com/topic/4583-rock64/ tells me how to disable, but I do not necessarily want to do so.

2. What is the performance of eMMC? (I gather that the microSD will operate at ~23MB/s, and will set the rate determining step for RAID.) The closest answer I found to my question seems to be only theoretical - https://forum.pine64.org/showthread.php?tid=4881

    And, if applicable
3. How may I use /usr/local/sbin/resize_rootfs.sh on the RAID? Must I disassemble it to do one element at a time?
4. How may I use an/the store's USB adapter(s) to repeat the entire RAID1 installation (including my subsequent addition and configuration of servers)?
  Reply
#2
(08-02-2018, 02:28 PM)jovval Wrote: I have already searched the forum for RAID. If I missed something pertinent my questions, please let me know.
    I do not know whether the following data are correct; regardless, I am more concerned with outliers of failure. I include these details for general information.
eMMC lifespan - https://electronics.stackexchange.com/qu...mc-is-dead - "The optimistic estimation would be based on the assumption that your system accumulates data until it can fill one complete erase block, then writes all the data in one go. In that case, your eMMC will live 4'000'000 * 3'000 / (4*20) = 150'000'000 seconds That's about 4.75 years."
microSD lifespan - https://superuser.com/questions/17350/wh...an-sd-card - "My experience with FLASH is integrity begins to falter in as little as 5 years."

1a. Can I compose a RAID1 using eMMC and microSD?
1b. How may I set the boot priority? - https://forum.armbian.com/topic/4583-rock64/ tells me how to disable, but I do not necessarily want to do so.

2. What is the performance of eMMC? (I gather that the microSD will operate at ~23MB/s, and will set the rate determining step for RAID.) The closest answer I found to my question seems to be only theoretical - https://forum.pine64.org/showthread.php?tid=4881

    And, if applicable
3. How may I use /usr/local/sbin/resize_rootfs.sh on the RAID? Must I disassemble it to do one element at a time?
4. How may I use an/the store's USB adapter(s) to repeat the entire RAID1 installation (including my subsequent addition and configuration of servers)?

My question is why? if its for boot/work speed you lose a lot of speed because the system is going to wait for the slowest media to finish in writes (IIRC) (microsd in this case) or its not going to be faster than the faster media, if its for security microsd is super unreliable in any case (specially if you write to it a lot, if you are so worried about losing info im guessing its info that change a lot), a better solution is to do some automated backup externally, being a usb hdd or ssd or some cloud service...i know that this is not what you ask for but personally i wouldnt trust a microsd neither for speed nor for security not to mention that for security you also forget that both medias are inside the same device, in the case of a major tragic failure (fire, power surge) you can lose both at the same time, on the other hand if the device backup externally to a different location you can recover it...
  Reply
#3
Trash_Can_Man,
    thank you for your reply.

    The answer does not matter, but to satisfy any curiosity, it is that I will not have ready access to the Rock64 once installed.
    I already acknowledged a diminution in speed (see my comment about the rate determining step). I would like some quantification of my expected loss (from eMMC's performance).
    I already do and will implement remote backup, and sometimes local too, so I am not concerned about failure catastrophic or correctable. I suppose the inclusion of that point would have clarified my focus.

    By the way, I now see that the title, even here in the thread, clipped off "is installing the system just as straightforward as usual?" or something to that effect. By "as usual" I meant, as a typical debian installation to RAID1, adapted to install from the eMCC (or, if must be, the microSD -- for which I lack a usb adapter).
    So, is RAID1 this way do-able and at what non-economic cost precisely?

    If anyone can address the corrected title's question, the aforementioned pair, and, most important, those in the OP, I would be most grateful.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 50 03-24-2024, 01:07 PM
Last Post: mara
  How to update/compile Debian 12.5? Wizardknight 2 208 03-14-2024, 05:30 AM
Last Post: diederik
  Rock64 v2 - did not work song / audio sqw200zu 2 1,236 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 243 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 510 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 510 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 7,961 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 186,385 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 507 07-09-2023, 03:28 AM
Last Post: nemnob
  RXDP from Win10 to Armbian on Rock64 Transportsicherung 0 563 05-27-2023, 06:11 AM
Last Post: Transportsicherung

Forum Jump:


Users browsing this thread: 1 Guest(s)