Summary: | fsck on boot does not fix filesystem errors | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Nikos Chantziaras <realnc> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | gokturk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Nikos Chantziaras
2012-01-07 05:14:32 UTC
Created attachment 298155 [details]
emerge --info
Running the same command, I've gotten more errors than you did. Quoting e2fsck man page: """ Note that in general it is not safe to run e2fsck on mounted filesystems. The only exception is if the -n option is specified, and -c, -l, or -L options are not specified. However, even if it is safe to do so, the results printed by e2fsck are not valid if the filesystem is mounted. """ I guess the last sentence explains the situation here. If you **really** have doubts, boot with a live cd and force fsck. But I doubt you will see the same set of errors. I missed that info. It seems a read-only check on mounted fs cannot be trusted. I found out I can force a read-only remount of the root fs through SysRq (Alt+SysRq+U). When doing that, fsck does not find any errors. |