Bug#754340: Unable to run fsck manually when instructed to do so
Michael Biebl
biebl at debian.org
Mon Jul 14 15:00:00 BST 2014
Am 14.07.2014 15:10, schrieb Michael Biebl:
>> I'd be fine with stopping all services, but I'm not familiar with how to
>> do that either. If this is the solution, please add that instruction to
>> the message. But would services which prevent the disk from being
>> remounted read-only be started before fsck is finished? The rescue
>> shell is part of fsck, I think(?), so nothing should have been started
>> after it failed.
>>
>
> Since we don't know what kept your fs busy, I'm at a loss how we are
> supposed to write instructions/documentation.
>
> Could you boot into single user mode (via the "single" kernel command
> line option) and test if you can remount / ro.
>
> This rescue mode should be similar / the same what you get when fsck fails.
>
> If your fs is busy, start with dumping the ps output and the systemctl
> output, so we can which processes / services are running.
A small correction:
When booting into single user mode, rescue.target will be activated.
A failing fsck (according to the systemd-fsck man page) will isolate to
emergency.target.
Booting into rescue.target means activating all of sysinit.target, that
includes all /etc/rcS.d/ services.
emergency.target only has Requires/After=emergency.service, so I'd
expect fewer services to be running then in rescue.target since isolate
should stop all other services.
That said, if *I* boot into rescue.target (single user mode), I can
remount / ro without problems.
So, we really need more information here what's happening on your
particular system when you're dropped into the emergency shell.
I think you should be able to trigger the start of the emergency shell
by adding a non-existing mountpoint to your /etc/fstab.
systemd will then wait for 90 secs and then drop you into emergency
mode. Please boot with the kernel command line option
systemd.log_level=debug.
Then try to remount / ro, and if that fails, get us the output of
journalctl --all --full -b
systemctl --full
ps aux
Thanks,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140714/3bb9f249/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list