|
Bugzilla – Full Text Bug Listing |
| Summary: | forced file-system check on boot should show progress indicator | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | robert spitzenpfeil <rs.opensuse> |
| Component: | Basesystem | Assignee: | Jan Kara <jack> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | mmarek, msvec, mvancura, ro, werner |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 11.2 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
robert spitzenpfeil
2009-12-13 22:42:32 UTC
Thanks for the report. We already try to do that in init scripts so something went wrong (we detect whether we are running on /dev/tty1 and if so we run fsck with -C parameter)... Was this a root filesystem or some other one? Data partition, lots of small files, about 100GB. It also contains /home if that matters. /etc/init.d/boot.localfs: ------ if test "$REDIRECT" = "/dev/tty1" ; then FSCK_OPTS="$FSCK_OPTS -C" ------ If I read the manual correctly it should be "$FSCK_OPTS -C 0". A similar method is used in /lib/mkinitrd/scripts/boot-mount.sh But the real problem is that during startup $REDIRECT does not evaluate to "/dev/tty1" on my system, but to "/dev/char/../tty1". Therefore "-C 0" never gets set! OK, forget about "-C 0". It works on a console once my system is up, but not in the init scripts. Leave it at "-C". What helps though is a construct like this: ------ if test "$REDIRECT" = "/dev/tty1" -o "$REDIRECT" = "/dev/char/../tty1"; then FSCK_OPTS="$FSCK_OPTS -C" ------ Yes, I thought it will be something like that... Thanks for debugging that. I think we might want to change showconsole to return saner path because also other boot scripts might malfunction when given such path. Werner, what do you think? It would be much easier to use
if test "${REDIRECT##*/}" = "tty1" ; then
FSCK_OPTS="$FSCK_OPTS -C"
fi
to make this sure. This have to be done in
/etc/init.d/boot.localfs
/etc/init.d/boot.rootfsck
and maybe in
/lib/mkinitrd/scripts/boot-mount.sh
as there is also /sbin/showconsole used to determine the
real phyical device used for the orginal system console.
Adding maintainers of aaa_base and mkinitrd to carbon copy list.
Yes, I agree such check would be fine. Ruedi, can you please fix that? submitted aaa_base to factory changing needinfo for mkinitrd Fixed in mkinitrd with http://gitorious.org/opensuse/mkinitrd/commit/a5c9f37a65f. I've talked with Michal and he'll also include the fix into the nearest maintenance update of initrd in openSUSE 11.2. Ruedi, could you please also add this fix to aaa_base in openSUSE 11.2 when there will be some update? Thanks. enqueued Thanks. I'm closing the bug. *** Bug 568349 has been marked as a duplicate of this bug. *** |