LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-01-2006, 03:45 AM   #1
gergra
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
raid1: md resyncing at every boot?


Hi there,

I just created a software raid1 array with mdadm on my Ubuntu 6.10 box.
It works fine so far, but during boot, my system spends about 8 minutes without progress after displaying "md: raid1 personality registered for level 1" (see the dmesg log below). This is about the time the raid array needed to sync after creating, so maybe it is resyncing every time on boot - not in the background as posted by other people but obviously in the foreground.

Is there any way to prevent this resyncing or whatever causes this 8 minutes delay?

Before shutdown, I checked the md0 array by means of /proc/mdstat, showing no sign of syncing. Hence, there should be no necessity to resync.

Here is the relevant dmesg output:
[17179578.988000] md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
[17179578.988000] md: bitmap version 4.39
[17179578.992000] md: raid1 personality registered for level 1
[17180092.712000] md: md0 stopped.
[17180092.716000] md: bind<hdc1>
[17180092.720000] md: bind<hda3>
[17180092.728000] raid1: raid set md0 active with 2 out of 2 mirrors
[17180092.740000] md0: bitmap initialized from disk: read 10/10 pages, set 0 bits, status: 0
[17180092.740000] created bitmap (153 pages) for device md0
[17180093.252000] Attempting manual resume

Many thanks,
Gerald
 
Old 11-01-2006, 04:42 PM   #2
gergra
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Original Poster
Rep: Reputation: 0
solved!

Hi again,

due to my insufficient knowledge of md, I was rather on the wrong track...

The problem was in fact a wrong UUID in the mdadm.conf file of the initrd image.

The solution is very well described in the thread "Software RAID and Upgrade from 6.06 to 6.10" at ubuntuforums.org - many thanks to the guys there!

Gerald
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
/boot on RAID1? Swakoo Linux - General 3 08-22-2006 07:38 PM
raid partition resyncing hamish Linux - Software 2 07-27-2006 02:06 AM
FC3 Raid1 won't boot after new install mrbenconrad Linux - General 2 01-22-2006 03:19 PM
Slackware 10.2 boot from SATA RAID1? Rexxars Slackware 2 01-06-2006 11:04 AM
Crash while resyncing /dev/md0 HelaWann Linux - Enterprise 1 12-06-2005 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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