dwatts@ki.UUCP (Dan Watts) (09/22/90)
Background:
Personal Iris
Irix 3.3
Local 350MB and 700MB drive
NFS exported partitions
NFS mounted partitions
The problem:
During a power outage today, I found that the SGI wouldn't shutdown
correctly (It has it's own standby ups, so yes it had power :-).
When told to shutdown, I got the normal "click if you mean it" and
then the system started shuting down. Problem was, that the remote
mounted NFS node had died when the power went out, no ups there :-(
I got repeated errors from umount that it was timing out, and the
shutdown didn't go any further. I finally had to turn off the power
since the battery time had reached maximum. When I rebooted, sure
enough, the local disks hadn't gotten unmounted and I had to wait for
fsck to run (Zzzzzz....) If I'd had the time to wait it out, would it
have finally given up and gone on? Should I change my fstab entry?
Is there a way to make shutdown umount the local disks first and then
try the NFS ones? At least I wouldn't have to run fsck when I rebooted.
The origonal fstab entry follows:
puff:/usr/export/home/amiga /puff/amiga nfs rw,soft 0 0
I've since changed it in the hopes that this will help, but haven't
the time to check yet. The following is my new entry:
puff:/usr/export/home/amiga /puff/amiga nfs bg,rw,soft,retry=2 0 0
All suggestions appreciated.
--
#####################################################################
# CompuServe: >INTERNET:uunet.UU.NET!ki!dwatts Dan Watts #
# UUCP : ...!{uunet | wgc386}!ki!dwatts Ki Research, Inc. #
############### New Dimensions In Network Connectivity ##############SOFPJF@VM.UOGUELPH.CA (Peter Jaspers-Fayer) (09/25/90)
We too have encountered this and other problems with shutting down the system. There have been times when I've tried one after the other: shutdown /etc/halt init 0 and they all fail. It's really maddening to have `init 0` just come back to the prompt and not do anything (yeah, I know it comes back to the prompt anyway, but then it shuts down in 5-15 secs. Mine didn't). I'm not exactly sure how I get into such a state, but I've seen it on both my PI and our 380. We need a fail-safe "slam my file-system down, and give me the monitor" command. In my mind this is what `init 0` should do. If I want to gracefully terminate all my NFS, & etc daemons, then I'll use shutdown. But if I want down NOW, I should have a way of doing it, fail-safe, and without trashing the disks. I even tried sync;sync;sync<cr><power-off> but the filesystems still came up dirty. /PJ SofPJF@VM.UoGuelph.Ca (Probably also reachable (until ?) at SOFPJF@UOGUELPH.BITNET) ------------------------------------------------------------------------- Who wanted to change this application to Pascal, anyway?