FSCK Disk Checking...

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

FSCK Disk Checking...

Postby oblivion02 on Thu Dec 06, 2007 5:14 pm

Every once in a while, when I boot my box, it says that the root partition has been mounted 21 times, and has not been checked. That the check must be forced. It takes a long time to check the disk, then everything boots and works fine. Does this happen to everyone else? Is it necessary?

-Oblivion
oblivion02
Level 1
Level 1
 
Posts: 43
Joined: Sun Nov 18, 2007 1:35 pm

Linux Mint is funded by ads and donations.
 

Re: FSCK Disk Checking...

Postby 67GTA on Thu Dec 06, 2007 5:16 pm

It is normal. It self checks every few boots.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: FSCK Disk Checking...

Postby kenetics on Sun Feb 03, 2008 9:36 pm

A while back there was a post that told how to change the number of boots until a forced check. I can't find it though. does anyone know the answer?
User avatar
kenetics
Level 5
Level 5
 
Posts: 615
Joined: Thu Dec 14, 2006 9:57 pm
Location: Somewhere on a Florida beach

Re: FSCK Disk Checking...

Postby Fred on Mon Feb 04, 2008 1:52 am

The default is 30 boots. Unless there is an over riding reason to change it, I wouldn't.

But if you must.

A value of "0" for the check interval disables the checks. Something like "sudo tune2fs -c 0 /dev/sdx" should disable checks based on mount counts; then it is a matter of "sudo tune2fs -i 1m /dev/sdx" to check /dev/sdx each month.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: FSCK Disk Checking...

Postby kenetics on Wed Feb 06, 2008 10:55 am

Thanks Fred. My default was something like 22 or 24, and since I turn on my Linux computer several times a day, it was getting annoying. Once a month is better for me.
User avatar
kenetics
Level 5
Level 5
 
Posts: 615
Joined: Thu Dec 14, 2006 9:57 pm
Location: Somewhere on a Florida beach

Re: FSCK Disk Checking...

Postby psychomusician on Sun May 04, 2008 7:50 pm

hey, i tried doing that, and got this error message
tune2fs: No such file or directory while trying to open /dev/sdx
Couldn't find valid filesystem superblock.


what does that mean?
psychomusician
Level 1
Level 1
 
Posts: 4
Joined: Fri Mar 14, 2008 11:52 pm

Re: FSCK Disk Checking...

Postby ed@Mint on Sun May 04, 2008 8:01 pm

You have to replace the 'x' in sdX by the appropriate letter.
If you have a single hdd, it is '/dev/sda'
In libro veritas

Now switched to : ArchLinux

New users, read the Linux Mint User Guide | Problem ? See the Wiki first | Check out the Software Portal | Join the IRC channel : #linuxmint @ irc.spotchat.org
User avatar
ed@Mint
Level 5
Level 5
 
Posts: 565
Joined: Sun Mar 09, 2008 6:03 pm
Location: Liege, Belgium

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 11 guests