Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate whether we need fsck in CentOS Automotive images #52

Open
ericcurtin opened this issue Jan 12, 2024 · 1 comment
Open

Investigate whether we need fsck in CentOS Automotive images #52

ericcurtin opened this issue Jan 12, 2024 · 1 comment
Labels

Comments

@ericcurtin
Copy link
Collaborator

On fast hardware we spend 30ms each fscking /boot and /root ext4 partitions. On common Automotive hardware, this probably translates to around ~100ms.

systemd-analyze plot | grep -i fsck
  <text class="left" x="228.567" y="1474.000">system-systemd\x2dfsck.slice</text>
  <text class="left" x="232.540" y="1934.000">systemd-fsck-root.service (33ms)</text>
  <text class="left" x="253.543" y="2314.000">systemd-fsck@dev-disk-by\x2duuid-156f0420\x2d627b\x2d4151\x2dae6f\x2dfda298097515.service (29ms)</text>

note we plan on using composefs also, which can detect some bad data.

We should see what fsck is doing exactly during boot time here on ext4 partitions and see if it's worth the extra milliseconds it adds to boot.

@ericcurtin
Copy link
Collaborator Author

It's less beneficial, but we could do fsck on shutdown potentially after we have unmounted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant