All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Walsh <tom@openhardware.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: array always resyncs on boot
Date: Mon, 01 Dec 2008 13:03:41 -0500	[thread overview]
Message-ID: <493426FD.4060201@openhardware.net> (raw)
In-Reply-To: <493422E1.8080207@tmr.com>

Bill Davidsen wrote:
> Tom Walsh wrote:
>> Justin Piszcz wrote:
>>>
>>
>>>> I just cannot keep the system from resyncing on every boot.  I've
>>>> gotten to the point that I'm thinking that I may have been root'ed and
>>>> the boot flash of the drives has been reflashed...  Ok, that is
>>>> reaching for an answer, I know.  This is time to ask for help.  help!
>>>
>>> If you boot knoppix and manually assemble the array does it assemble 
>>> cleanly
>>> or does it need a resync as well?
>>>
>>
>> Well, I used my last CD-R on the WD Data Lifeguard.  But, I think I 
>> know what you are driving at.  Booting Mandriva 2009 into Rescue mode, 
>> then choosing "Mount your partitions under mnt" does cleanly start the 
>> array.
>>
>> Following that further, I booted off /dev/sda1 (where my small 
>> Mandriva system is currently installed), then I disabled the mdadm 
>> service in /etc/init.d/.  I then waited for the system to do the 
>> resync and rebooted the system. Then logged into the system.
>>
> Just for grins, could you post the partition table for each disk? Maybe 
> just the output of "fdisk -l" to show everything? I always worry when 
> using drives of "almost" the same size.
> 

Sure, identical tables for all six drives:
Disk /dev/sda: 320.0 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x733f1de9

    Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2433    19543041   fd  Linux raid 
autodetect
/dev/sda2            2434        2677     1959930   82  Linux swap / Solaris
/dev/sda3            2678       38900   290961247+   5  Extended
/dev/sda5            2678       38900   290961216   fd  Linux raid 
autodetect


Configuration is three RAID1 for '/', '/tmp' and '/var'.   RAID10 for 
/home as the larger array.

[root@speedy /]# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sdd1[1] sdc1[0]
       19542976 blocks [2/2] [UU]
       bitmap: 0/150 pages [0KB], 64KB chunk

md3 : active raid10 sdd5[3] sdb5[1] sda5[0] sdc5[2] sde5[4] sdf5[5]
       872883456 blocks 64K chunks 2 near-copies [6/6] [UUUUUU]
       bitmap: 0/209 pages [0KB], 2048KB chunk

md2 : active raid1 sde1[0] sdf1[1]
       19542976 blocks [2/2] [UU]
       bitmap: 0/150 pages [0KB], 64KB chunk

md0 : active raid1 sda1[0] sdb1[1]
       19542976 blocks [2/2] [UU]
       bitmap: 0/150 pages [0KB], 64KB chunk

unused devices: <none>




-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have work to do..."
----------------------------------------------------


  reply	other threads:[~2008-12-01 18:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-29 21:23 array always resyncs on boot Tom Walsh
2008-11-29 21:37 ` Justin Piszcz
2008-11-30  1:07   ` Tom Walsh
2008-11-30  1:23     ` Justin Piszcz
2008-11-30  2:21       ` Tom Walsh
2008-12-01 17:46     ` Bill Davidsen
2008-12-01 18:03       ` Tom Walsh [this message]
     [not found]         ` <49357372.5030304@tmr.com>
2008-12-03  5:14           ` Tom Walsh
2008-11-30  8:07 ` Luca Berra
2008-11-30  9:50   ` Tom Walsh
2008-11-30 23:55     ` Tom Walsh
2008-12-01  7:47       ` Luca Berra
2008-12-11  2:46   ` Tom Walsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=493426FD.4060201@openhardware.net \
    --to=tom@openhardware.net \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.