to make everything simple,i keep system seperate from storageYou can set the Pi boot drive to RO and use an overlay system for the system. The option is in raspi-config.
sudo raspi-config
select performance options
Or you can use "preferences", "raspberry pi config" from the menu if you are using the GUI.
But it sounds like you are booting from an SD card anyway, then mounting an SSD as a data drive...So; you're presumably talking about a USB connected drive?
noatime does prevent unnecessary writes, but you you can mount external drives as RO too.
something like this....
sudo mount -o ro /dev/sda1 /media/SDD
Have a look at the guide to fstab, written by thagrol of this manner...you might find it useful.
https://github.com/thagrol/Guides/blob/main/fstab.pdf
I would use ext4.
I wouldn't worry overly about SSD lifespan. Here's an interesting article about it...
https://www.howtogeek.com/322856/how-lo ... ally-last/
im booting from sd card and using ssd via usb
read only makes me uncomfortable because ssd gonna used mostly for read,not always,i want to have flexibility
i turn off logging,swapping,using noatime anything else ??
Statistics: Posted by cooldude01 — Sat Jul 27, 2024 10:36 am