LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Parallel file system check (https://www.linuxquestions.org/questions/linux-newbie-8/parallel-file-system-check-4175536111/)

rajesh1252 03-08-2015 01:22 PM

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 ?

rknichols 03-08-2015 03:29 PM

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.

rajesh1252 03-08-2015 10:44 PM

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.

rknichols 03-09-2015 10:08 AM

I see that fsck looks for environment variable FSCK_FORCE_ALL_PARALLEL set (to anything).

pan64 03-09-2015 11:27 AM

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

JeremyBoden 03-09-2015 11:39 AM

Quote:

Originally Posted by rajesh1252 (Post 5328802)
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.


All times are GMT -5. The time now is 12:25 PM.