Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-16-2007, 07:25 AM   #1
Registered: Apr 2007
Location: Sweden
Distribution: openSUSE
Posts: 37

Rep: Reputation: 16
Question 2 min booting time with raid, WHY???

I've got four software raid volumes consisting of four 400 GB sata disks. They're working fine except for one thing - the booting time. The booting procedure takes over two minutes! (from when I'm leaving LILO to when I'm totally logged in, I'm using automatic login). Out of these two minutes, half the time (63 seconds) are spent to do something with the biggest raid volume.

These are my raid volumes:
device     size    raid type  file system  mounting point
======     ====    =========  ===========  ==============
/dev/md0    94 MB  raid1      reiserfs     /boot
/dev/md1    22 GB  raid5      reiserfs     /
/dev/md2   3.9 GB  raid5      swap         swap
/dev/md3   1.1 TB  raid5      reiserfs     /files
During boot these lines are printed to screen:
Filesystem is clean
Replaying journal..
Reiserfs journal '/dev/md3' in blocks [18..8211]: 0 transactions replayed
Then the computer performs the check (or whatever it is) of /dev/md3 which takes 63 seconds. Then the following line is printed and the booting continues:
Checking internal tree..finished
This procedure is performed for all raid volumes except for the swap volume, but the time spent on the other volumes are negligible. So md3 is the only one taking time, but I guess that is because it is slightly bigger than the other ones ;-)

It seems stupid to require 2 minutes for a raid system to boot... So:

What's my computer doing during these 63 seconds?
Is it necessary?
Old 04-16-2007, 08:16 AM   #2
Senior Member
Registered: Oct 2003
Posts: 2,944

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Reiserfs is known to take a long time to mount on large partitions and the larger the partition, the longer it takes. See this guy's experience with large reiserfs partitions:

If you could change to ext3, you would probably see a significant speedup. From the above article, there appear to be some kernel patches in the 2.6.19 kernels to help remedy this problem.
Old 04-16-2007, 03:33 PM   #3
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,391

Rep: Reputation: 141Reputation: 141
There is also the issue that Reiser is in prison, so, where are any future updates going to come from?
Old 04-17-2007, 12:38 PM   #4
Registered: Apr 2007
Location: Sweden
Distribution: openSUSE
Posts: 37

Original Poster
Rep: Reputation: 16
When I installed my system I chose reiserfs without any specific reason, it was default so I thought it was more modern than ext3. Now I've done some researching, and I concluded that ext3 seems to be the better one.

Anyway, now I have ext3 on /dev/md3, and the booting time is reduced by a minute! Yihaa!!!

But for the other volumes I think I'll keep reiserfs for a while, because the benefit would only be 2-3 seconds. And I don't figure how to change from reiserfs to ext3 on my root partition without having to reinstall my system...


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Me, my RAID and booting it TL_CLD Slackware 2 09-12-2006 10:20 AM
3.8 Gb Suse 10.1 slow install in 1h30 min. Mandriva 2006 was less than 40 min Emmanuel_uk Linux - Distributions 2 06-15-2006 10:27 AM
Dual booting with RAID-0 TechnHED Linux - Hardware 7 06-13-2006 01:25 AM
write a command whose modification time is changed in min suchi_s Programming 1 09-08-2004 10:34 AM
Booting from Mylex RAID sascha Slackware 2 06-02-2003 01:41 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration