LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-22-2002, 04:06 PM   #1
christyc
LQ Newbie
 
Registered: Jan 2002
Location: asheville nc
Distribution: redhat 7
Posts: 22

Rep: Reputation: 15
Talking not cleanly unmounted check forced


I've been searching, all I can find is WHY Iget this, which I know.
(locked up, shut down with power button)
What I cannot find on 9 pages of google or searching here yet is what is the next step to getting OUT of it?

Thanks? Thanks.
 
Old 01-22-2002, 04:28 PM   #2
karanc
LQ Newbie
 
Registered: Jan 2002
Location: .
Distribution: Mandrake 8.1
Posts: 15

Rep: Reputation: 0
Quote:
When and how to use the File System Check (fsck) utility.

The fsck command is used to check and repair inconsistencies in the file system. File system checks should be done in the following situations:
Whenever system has experienced a sudden or improper power off.
When booting the system this message is displayed: "Type Ctrl -d to proceed with normal startup, (or give root password for system maintenance)".
When unusual software behavior is observed.
When a df -k command does not display all of the expected partitions.
The following describes how to do a file system check. If the system is already at an OK prompt, proceed to step 3. If the "Ctrl-d" message described above is on the screen, go to step 4.

1. Open Terminal or Command Tool window and log in as the root user. Right-click on background, right-select Programs, right-select Terminal or Command Tool. Type: su <Enter>. Type root password when prompted and hit <Enter>. You will not see the characters on the screen as you type.

2. Type: sync;sync;halt <Enter>. The system will synchronize the file systems and come down to an ok prompt.

3. At ok prompt, type: boot -s <Enter>.
Note: -s boots up in single user mode -- this is advised because multipass processing could possibly delete files as users try to read or write their data.

4. The system will boot and display the following message: Type Ctrl -d to proceed with normal startup, (or give root password for system maintenance):

5. Type the root password and hit <Enter>. You will not see the characters appear as you type.

6. A # prompt displays. Type: fsck -y <Enter>.
Note: -y assumes a yes response to all questions asked by fsck.

7. There are five phases of fsck that will scroll on the screen for each partition. File system check is completed when it is back to the # prompt. Sometimes running it several times is helpful.

8. If "Cleanup Phase" statuses "filename FILE SYSTEM STATE NOT SET TO OKAY": Type: fsck -m <Enter> to determine if you should run fsck again. It will indicate if file(s) need checking.

9.) A # prompt displays. Type: sync;sync;halt <Enter>.

10.) When finished, type: boot <Enter>.

NOTE: When the "shutdown" command is not available in the Xerox software, the proper way to shut down the system is to follow steps 1 and 2 above. If the system is shut down in a more abrupt way (such as flipping the controller power switch), superblock information and data may be in transition, which will cause file system corruption or inconsistencies.
 
Old 01-22-2002, 04:59 PM   #3
Scotty2435
Member
 
Registered: Dec 2001
Location: Waco, Texas USA
Distribution: Redhat 7.1
Posts: 232

Rep: Reputation: 30
this is similar to Windows running scan disc after a bad shutdown
 
Old 08-22-2002, 12:42 AM   #4
beep_beep
LQ Newbie
 
Registered: Aug 2002
Distribution: RH7.3; 8.0, SuSE 9.1
Posts: 26

Rep: Reputation: 15
I have problem AFTER running fsck,
now every time my SuSE7.3 starts I see the:
"/dev/hda10 was not cleanly unmounted check forced",
evrything works fine after long time checking of /dev/hda10,
and I need a solution to UNMOUNT cleanly, to avoid messages and checking like this.

Note : During shotdown unmounting seems to be clean...



If somebody knows how to fix the problem, please send Your answer.
Thanks.

Last edited by beep_beep; 08-22-2002 at 12:44 AM.
 
Old 08-23-2002, 04:40 AM   #5
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
Hi
check ;
http://www.tldp.org/HOWTO/Tips-HOWTO.html

2.10 How do I stop my system from fscking on each reboot? Dale Lutz,
2.11 How to avoid fscks caused by "device busy" at reboot time. Jon Tombs,
Maybe this leads to an answer, haven't tried it myself, just stumbled over it and recalled your questions on this.

good luck
 
Old 08-23-2002, 04:54 AM   #6
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
I used to get this problem with Redhat 7.0.

The problem is actually with X Windows. AT the time, this was used as an argument to run X Windows as little as possible - which I still believe as it effectively more than doubles your system overhead in Linux and certainly used to be the weakest link in the distribution.

Another possibility is that a kernel module you are using is creating a resource lock. Check that your hardware drivers are up2date.

X Windows can and will lock up RH7.0 entirely. No Ctrl+Alt+Del, no switching to tty terminal mode, no nothing. Just you and the Big Red Switch. X Windows and the distro have improved. Don't go for 7.2, try 7.3 - it seems to be put together better, with less coupling between kernel modules.

Upgrade to 7.3 or use X Windows less.

Bert
 
Old 08-24-2002, 12:19 PM   #7
beep_beep
LQ Newbie
 
Registered: Aug 2002
Distribution: RH7.3; 8.0, SuSE 9.1
Posts: 26

Rep: Reputation: 15
mrGee, tank You for help! next time I'll chek your solution, but only next time, cause I performed reinstall.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Root FIlesystem not cleanly unmounted bouke Fedora 2 08-03-2004 01:24 PM
help!!! error cleanly unmounted. adam_boz Linux - General 3 07-27-2002 11:37 PM
check forced ? jamaso Linux - General 4 04-09-2002 06:50 PM
...not cleanly unmounted error? RonRussell Linux - General 0 03-15-2002 03:35 PM
Forced disk check nabil Linux - General 7 05-25-2001 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:43 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
Open Source Consulting | Domain Registration