Re: File system robustness
Geert Uytterhoeven <[email protected]> Mon, 17 Jul 2023 11:08:45 +0200
| Newsgroups | org.kernel.vger.linux-embedded,dev.linux.lists.dm-devel,org.kernel.vger.linux-ext4 |
|---|---|
| Message-ID | <CAMuHMdWA+2froa9Z=GHrd5Ub-dr=o-ErNsgjS7TJnXbHYggMdQ@mail.gmail.com> |
CC linux-ext4, dm-devel On Mon, Jul 17, 2023 at 10:13 AM Kai Tomerius <[email protected]> wrote: > > Hi, > > let's suppose an embedded system with a read-only squashfs root file > system, and a writable ext4 data partition with data=journal. > Furthermore, the data partition shall be protected with dm-integrity. > > Normally, I'd umount the data partition while shutting down the > system. There might be cases though where power is cut. In such a > case, there'll be ext4 recoveries, which is ok. > > How robust would such a setup be? Are there chances that the ext4 > requires a fsck? What might happen if fsck is not run, ever? Is there > a chance that the data partition can't be mounted at all? How often > might that happen? > > Thx > regards > Kai