LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-28-2007, 09:40 PM   #1
JMJ_coder
Member
 
Registered: Apr 2006
Distribution: Fedora
Posts: 478

Rep: Reputation: 30
Skipping Disk Check


Hello,

Running Slackware 12 with the ext3 filesystem. Every once in a while it goes through its forced check during startup. And it never fails to do so when I need to get the system booted up in a hurry. Is there a way to bypass this?
 
Old 10-28-2007, 09:49 PM   #2
pccdrussell
Member
 
Registered: Jan 2006
Distribution: Ubuntu
Posts: 62

Rep: Reputation: 15
I don't know if its recommended or not, but you could always put a 0 in the last column of your /etc/fstab file. If its your / partition, Im gonna guess theres a 1 there, just replace that with a 0 . Putting a 0 there will disable fsck on system startup.
 
Old 10-29-2007, 02:55 AM   #3
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
http://www.linuxquestions.org/questi...mounts-594942/

root@600X:/home/al# cat /etc/fstab
/dev/hda5 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 /boot ext2 defaults 1 2
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/sda5 /mnt/usbhd ext3 noauto,users,rw 0 0

------------

The 0 0

like the usbhd -- means it never gets (auto or otherwise) checked.

root# e2fsck -f /dev/sda5

The above command is how to take control and manually run a check.

But, regular maintenance dictates for it to be checked every so often.

Better to do like the thread in the url above if you find it a PITA when it does its routine fsck of an ext3 / partition *upon startup of the computer*

power failure could still trigger a fsck on startup but I would not alter or disconnect this protection feature.

--
Alan.
 
Old 10-31-2007, 02:54 AM   #4
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Reading the man page on tune2fs can sometimes be useful.

Set the max-mount-counts to zero, and interval-between-checks to zero as well. That will stop fsck from deciding it needs to check a journaled filesystem (which it does not need to do) unless the filesystem fails the consistency check after unraveling the journal.

I'm not about to paste exactly what the command is here because there's plenty of idiots who will run it against the wrong filesystem type, and looking at the man page for the two minutes it takes to figure out based on what I've said won't kill anyone.

Changing the fstab file is definitely not the correct way to go about this.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk check takes too long to check hemantm Linux - Hardware 16 12-22-2006 04:18 AM
check disk ratnesh1 Linux - General 12 01-26-2006 08:37 AM
how to check disk SlipAway172 Mandriva 2 03-01-2005 03:16 AM
FC2 test 3 mouse skipping a beat, movie skipping also jang Fedora 1 10-28-2004 07:42 PM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:27 PM.

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