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
  Centos 8 Stream on Rock64 ayoungdukie 1 179 06-07-2021, 11:50 AM
Last Post: zer0sig
  Talos on ROCK64 cjyar 2 171 06-04-2021, 11:50 AM
Last Post: cjyar
  CentOS 7 for Rock64 pineadmin 3 2,792 05-30-2021, 08:20 AM
Last Post: ayoungdukie
  Rock64 CRUX-ARM (aarch64) mara 0 139 05-27-2021, 02:22 PM
Last Post: mara
  DietPi OS for ROCK64 MichaIng 15 4,088 05-24-2021, 07:46 AM
Last Post: MichaIng
  openwrt for the rock64 wilsonYan 14 6,159 05-23-2021, 07:53 AM
Last Post: stamasd
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 32 24,708 05-22-2021, 07:01 AM
Last Post: fartadeadrian
  Debian build from mrfixit2001 Luke 18 10,908 05-17-2021, 02:35 AM
Last Post: Wizzard
  Armbian for Rock64 pineadmin 31 20,905 05-08-2021, 09:35 AM
Last Post: Wizzard
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 113 61,442 05-02-2021, 04:48 AM
Last Post: mara

Forum Jump:


Users browsing this thread: 1 Guest(s)