Koozali.org: home of the SME Server

Improper shutdown

Jatan

Improper shutdown
« on: March 25, 2003, 03:20:23 PM »
I am trying to update my standalone server from ver. 5.5 to 5.6 but it always seems to do a disk scan of the /root drive at startup.
This is causing the upgrade to fail.
I am shutting down correctly and need any advice possible to rectify this problem.
My limited Linux knowlage are at a end unfortunately.

Any suggestions are welcome.
Thanks

Ray Mitchell

Re: Improper shutdown
« Reply #1 on: March 27, 2003, 11:22:03 AM »
Dear Jatan
This excerpt from a HowTo by Abe Loveless may be useful.

You will need to login as root, and execute the following commands.  In all cases, do not actually type the quotes, the last character is a number, and there is a space between “fsck” and “/dev/..”.

The following instructions vary depending on the harddrives inside your individual computer and their configuration.  Choose the configuration that matches your system.  “Test All Drives” should work if your system isn’t listed here.

1 Drive (IDE):
Type: "fsck /dev/hda1" and ENTER  
Type: "fsck /dev/hda6" and ENTER
Reboot: “shutdown –r now”

2 Drives RAID1 Mirror (SCSI):
Type: "fsck /dev/md0" and ENTER  
Type: "fsck /dev/md1" and ENTER
Reboot: “shutdown –r now”

Test All Drives:
If you are un-sure what you have, this may be best.  However, documentation suggests that you should be careful doing this.  See the following article:
http://e-smith.org/bboard/read.php?v=t&f=1&i=13728&t=13720

Type: “fsck –A” and ENTER
Reboot: “shutdown –r now”

Hope this helps
Regards
Ray