LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 07-14-2009, 09:50 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC20/ OES / CentOS
Posts: 606

Rep: Reputation: 32
fsck.ext3 takes more than 6 hours ! How to speed that up ?


Hello!

My server with 2 TB ext3 Filesystem needs more than 6 hours to make a filesystemcheck.

Now i expand the time between the filesystemchecks to 6 months but never the less i have to wait more than 6 hours until the filesystemcheck is finisched.

Question:

1) Does anybody else have this "problem"
2) Any ideas how to speed that up ? Please do not suggest an other Filesystem ;-) And the filesystem also can not be splitted !

Thanks
 
Old 07-14-2009, 04:29 PM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
what is the underlying hardware ?
what is the size of the filesystem you are refering here ?
 
Old 07-14-2009, 09:24 PM   #3
babel17
LQ Newbie
 
Registered: Nov 2007
Posts: 9

Rep: Reputation: 1
assuming you created your filesystem with
Code:
mke2fs -j <args>
, use
Code:
mke2fs -O <args>
and
Code:
tune2fs -J <args>
to move the journal to a separate device. This will massively cut down on disk thrashing when doing an fsck.

Assuming you have a separate device to move it to.

I apologize for not giving more detail, but it's been a while since I've done it and I don't remember all the details. especially how to calculate the appropriate size for the journal.
 
Old 07-15-2009, 12:14 AM   #4
avalonit
Member
 
Registered: Jun 2008
Posts: 71

Rep: Reputation: 17
That's a known problem for large file systems AFAIK. Besides moving the journal, which is always a win, you can try ext4 from fedora 11.

As well you could turn checking completely off and rely on back-ups and/or regular manual fsck in the times where you won't be using the computer.
 
  


Reply

Tags
ext3, journal


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
howto speed up fsck.ext3? edenCC Linux - Server 6 01-20-2009 01:17 AM
System backup takes several hours to complete lagu2653 Suse/Novell 2 07-02-2005 06:03 AM
Mail Takes Hours To Arrive cryzpene Linux - Software 0 06-01-2004 07:59 PM
fsck and ext3 perry Linux - Hardware 1 05-13-2004 03:04 PM
fsck in ext3?? recurrente Linux - Newbie 0 03-18-2002 08:39 AM


All times are GMT -5. The time now is 10:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration