LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2004, 04:42 PM   #1
tmoorman
Member
 
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Rep: Reputation: 15
Angry Shutdown annoyance


When I shutdown (Mandrake 9.2 from KDE) I get a failure when all the filesystems are unmounted. They all unmount successfully except for a filesystem on a harddisk that I removed yesterday. Apparently the shutdown script (?) is still attempting to unmount the missing filesystem. I want to stop Linux from attempting to unmount a filesystem on a disk that doesn't exist (except in my closet). The rest of the shutdown procedure works fine, all the way to auto power off (btw I am running APM, not acpi).
 
Old 02-03-2004, 04:58 PM   #2
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
Did you remove the appripriate line from /etc/fstab?
 
Old 02-03-2004, 05:13 PM   #3
tmoorman
Member
 
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Original Poster
Rep: Reputation: 15
Yes, I removed the line. The message I see on shutdown refers to a device: /dev/host2/bus0/target1/lun0 This is the device that was removed.
I had three harddisks. Two are new, big ATA133, 7200 rpm. One was old, slow ATA33, 5400 rpm and it was starting to make a high pitched whine so I removed it.
 
Old 02-03-2004, 05:46 PM   #4
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Have you checked to see when that is called? Check your shutdown script and see when it's called, and why it's still tryin' to do that one.
 
Old 02-03-2004, 07:32 PM   #5
tmoorman
Member
 
Registered: Aug 2003
Location: Ottawa, Ontario, Canada
Distribution: Kubuntu
Posts: 50

Original Poster
Rep: Reputation: 15
That is my question: Where is the shutdown script?
 
Old 02-04-2004, 02:48 PM   #6
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
There is no single shutdown script.

Shutdown is runlevel 0 (or 6, if you do a reboot).
This means all scripts in /etc/rc0.d/ (/etc/rc6.d/ respectively) are run in alphabetical order. First all K scripts from K00 to K99 with parameter "stop", then S00 to S99 with parameter "start" (if any exist).
You have to find out which script shows up with the error message. It should be possible to identify this by comparing the messages during shutdown with the content of /etc/rc0.d/

If you have difficulties to find out which is which, post the part of the shutdown messages where the error shows up (including a few lines above and below - since you can't cut and paste at that moment, information about the services being stopped will probably do) and a directory listing of /etc/rc0.d/

Last edited by ricstirato; 02-04-2004 at 02:49 PM.
 
Old 02-04-2004, 03:05 PM   #7
Mugatu
Member
 
Registered: Dec 2003
Location: VA
Distribution: Ubuntu
Posts: 193

Rep: Reputation: 30
i know it's not good to rely on GUI stuff, but if you can't find what you're looking for in the CLI, click the KDE button-->Configuration-->Configure Your Computer to open Mandrake Control Center, then open up Mount Points-->Disk Drake, and you might find what you're looking for. You can edit mount points, and when you save changes it should change the appropriate configuration files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitor annoyance Twiggy794 Linux - Hardware 2 10-15-2003 04:11 PM
Konqueror annoyance _john_i_ Linux - Software 1 09-06-2003 08:03 PM
Linux annoyance lhiggins Linux - Newbie 6 07-06-2003 11:17 PM
Annoyance in KDE StonedZealot Linux - Software 0 05-21-2003 05:40 PM
Mouse annoyance Jedi_Cheese Linux - General 3 04-07-2002 06:22 PM


All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration