:: Re: [DNG] Insane defaults on Raspbe…
Pàgina inicial
Delete this message
Reply to this message
Autor: g4sra
Data:  
A: dng
Assumpte: Re: [DNG] Insane defaults on Raspberry Pi images - How to fix corruption/dataloss
On 08/11/2019 15:36, Joril via Dng wrote:
> On 08/11/19 16:21, g4sra via Dng wrote:
>> FYI: ext4 filesystem journaling (and swap) *should* be disabled by default on SD\SDHC media.
>
> To reduce wear?

There is good documentation 'out there' about how SD\SDHC Flash and Journaling works.
The journal repeatedly written to a confined section of the filesystem.

Not all SD's are equal, either in the quality of the memory cells or in the quality of the wear-leveling algorithm.
NOTE: these in-built wear-leveling algorithms can be incompatible with flash filesystems.
Personal experience has demonstrated once it is 'burned' the whole SD becomes read-only.

It should be the Users choice to enable journaling and risk SD destruction in preference to shutting down properly.
I recommend filesystem check at boot should be enabled with journaling off and disabled with journaling on.

PS: Being Raspberry Pi specific, I do not know why Raspbian does not use F2FS, but that does not exclude Devuan from using it.

> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng