Mailinglist Archive: opensuse-factory (808 mails)

< Previous Next >
Re: [opensuse-factory] systemd question on mounting drives
Le jeudi 11 août 2011 à 12:42 +0200, Arnold Greyling a écrit :
On 11 August 2011 12:24, Alin Marin Elena <alinm.elena@xxxxxxxxx> wrote:

any hints where I can look for a not clean shutdown of the fs appreciated.


It won't be in the log because you cannot write the
successful/unsuccesful result to the log on the already unmounted file
system.

You will have the watch the screen messages. Right at the end of the
shutdown you normally see a message like:

Sending processes the KILL signal
Unmounting all file systems...

If something goes wrong there should be an error message as well.

Well, this are some ways to help debugging at shutdown :

-enable systemd debugging (see
http://en.opensuse.org/Systemd#Getting_debug_from_systemd ), disable
quiet and bootsplash and shutdown the system with "/sbin/halt" : it
should shutdown but not power off the system so you can see what is
going on.
-create a script in /lib/systemd/system-shutdown which remount / as rw,
output dmesg in /tmp and remount at ro

--
Frederic Crozat <fcrozat@xxxxxxxx>
SUSE

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >