UFS2 and/or sparse file bug causing copy process to land in 'D'' state?

Carl k0802647 at telus.net
Sun Feb 22 19:43:44 PST 2009


Kevin Day wrote:
> On Feb 22, 2009, at 5:54 PM, Carl wrote:
>> Is there some other way to forcibly reboot a remote system from the 
>> command line when a normal shutdown command is going to totally hang 
>> the system in this way? Or perhaps some kind of watchdog that has a 
>> good chance of surviving long enough to unjam a situation like this?
> 
> reboot(8)'s man page:
> 
>      -n      The file system cache is not flushed.  This option should 
>              probably not be used.
> 
>      -q      The system is halted or restarted quickly and ungracefully, 
>              and only the flushing of the file system cache is
 >              performed (if the -n option is not specified).  This
 >              option should probably not be used.
> 
> One or both of those would probably do it.

Obviously I need to work on RTFM. I didn't look past shutdown(8). In my 
defence... I've got nothing. Thanks Kevin :-)

A watchdog would still be valuable for those situations when one 
attempts a normal remote reboot, the system hangs, and sshd dies with it.

Carl                                             / K0802647


More information about the freebsd-fs mailing list