LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2015, 02:22 PM   #1
rajesh1252
LQ Newbie
 
Registered: Jun 2014
Posts: 4

Rep: Reputation: Disabled
Parallel file system check


Reboot of Linux server consuming more time when there is a file system check (fsck)
Most of our server are using ext3 file system
Is there any possibility to make parallel fsck during reboot ?
 
Old 03-08-2015, 04:29 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 2,959

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
fsck will already do parallel checks of filesystems on different physical disks, though whether it can figure that out for LVM logical volumes may still be a question. Trying to do parallel checks of filesystems on the same physical disk would be counterproductive.

Best way to speed up lengthy filesystem checks is by switching to ext4.
 
1 members found this post helpful.
Old 03-08-2015, 11:44 PM   #3
rajesh1252
LQ Newbie
 
Registered: Jun 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for the reply,
The main problem is with LVM logical volumes and I am looking for a solution (to make parallel file system check)
Converting to ext4 is a secondary option.
 
Old 03-09-2015, 11:08 AM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 2,959

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
I see that fsck looks for environment variable FSCK_FORCE_ALL_PARALLEL set (to anything).
 
1 members found this post helpful.
Old 03-09-2015, 12:27 PM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
fsck has 2 options FSCK_FORCE_ALL_PARALLEL and FSCK_MAX_IN see man page about their meanings. fsck will/can do parallel check.
You can read an interesting discussion about it here: https://bugs.debian.org/cgi-bin/bugr...cgi?bug=776034
 
1 members found this post helpful.
Old 03-09-2015, 12:39 PM   #6
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 938

Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by rajesh1252 View Post
Reboot of Linux server consuming more time when there is a file system check (fsck)
Most of our server are using ext3 file system
Is there any possibility to make parallel fsck during reboot ?
If you unmount file systems cleanly on shutdown, you won't need to do frequent fsck checks.
 
  


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
An error occurred during the file system check, dropping you to a shell; the system w sanjay87 Linux - Server 1 11-12-2012 12:14 AM
How would I check a virtualized file system from the host file system? bluefish1 Linux - Server 4 02-29-2012 01:06 PM
[SOLVED] An error occurred during the file system check. System unable to start rohitchauhan Linux - Newbie 5 06-22-2011 10:24 AM
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 08:38 PM
Installing Parallel Virtual File System on Debian Lenny, an strange problem sarajevo Debian 0 03-08-2008 02:18 AM


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