Make SD Card to read-only mode
#1
Hi all experts,
According to my project that needs to be run 24x7 on my rockpro64, there was issue with OS corruption as due to power shutdown the devices was on unexpected power cycle. So i was trying to make the OS to read-only mode.

I followed this link-
https://medium.com/@andreas.schallwig/ho...c0f7be7353

I successfully done that but some system services and my docker service stoped working now.

OS -
Armbian ver5.98

Requirement-
1) I have made one app that needs to be run 24x7 and that is a docker process. So i need to access docker in RO mode.
2) I have also made a system-service(in /etc/systemd/system/my-service) that keeps on monitoring that docker app.
3) There are some file write operation need to be done in "/opt" or any other folder.

Please suggest me way to make the OS to read-only by keeping above 3 requirements.

Thanks.
#2
The third requirement is in contradiction to your first requirement. Any remainder of write operations keeps a chances for corruption. I think you need exclude the writing to system volume totally. Move anything needing the write to a RAM-disk. And write persistent data only to different media, say, USB flash drive.


Possibly Related Threads…
Thread Author Replies Views Last Post
  AW-CM256SM wifi card mtek 4 3,400 10-30-2023, 12:00 PM
Last Post: diederik
  Which SATA card should I use my NAS server RAID5 Louysa 3 1,617 09-24-2023, 04:40 AM
Last Post: JPT223
  External Touchscreen via DP-Alt Mode soloquintett 0 1,050 05-01-2023, 12:29 PM
Last Post: soloquintett
  Full Size Bracket for the NVME PCI-E Card publiclewdness 0 1,630 12-31-2021, 12:53 AM
Last Post: publiclewdness
  Rockpro64 Sata Card kills itself jerry110 33 50,458 10-20-2021, 04:36 AM
Last Post: fieni
  Right direction SATA card corax 2 3,560 09-15-2021, 12:46 PM
Last Post: corax
  Industrial memory card m.ekstrom 1 2,778 03-23-2021, 05:55 AM
Last Post: barray
  Multiport Gigabit Card? jerry110 24 33,812 02-26-2021, 03:54 PM
Last Post: kuleszdl
  Carte PCIe bloquant le démarrage du Noyau / PCIe card blocking Kernel boot dml-pc 4 5,840 02-17-2021, 11:35 AM
Last Post: dml-pc
  Won't boot with SATA card rjzak 4 6,537 01-09-2021, 05:56 PM
Last Post: kuleszdl

Forum Jump:


Users browsing this thread: 1 Guest(s)