Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "Majed B." <majedb@gmail.com>
To: Leslie Rhorer <lrhorer@satx.rr.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Help - Urgent!!!
Date: Sun, 15 Nov 2009 03:05:28 +0300	[thread overview]
Message-ID: <70ed7c3e0911141605k42b46dbbo29988b74ab6bf676@mail.gmail.com> (raw)
In-Reply-To: <20091114214504754.VURJ5263@cdptpa-omta04.mail.rr.com>

Congratulations :D

Out of curiosity, how did you fix the homehost issue?

On Sun, Nov 15, 2009 at 12:45 AM, Leslie Rhorer <lrhorer@satx.rr.com> wrote:
>> >     Should I stop the arraya nd re-assemble it with -vvv?
>> >
>> >     Also, what about my question about the bitmap?  Should I delete it,
>> despite
>> > the fact mdadm says there isn't one, or should I attempt to add it
>> again, or
>> > should I wait until I do the checkarrray?
>> >
>>
>> There is nothing to delete.  Just try to add it again.
>> Though I would really like to know why it hangs.  If that happens
>> again, see if alt-sysrq-T shows anything useful.
>
>        Well, it hasn't hung again, but now that I can catch my breath I can
> provide a little detail.  As I mentioned before, the original hang occurred
> when I first issued:
>
> `mdadm -G /dev/md0 -b internal --bitmap-chunk=65535`
>
>        Mdadm complained about the bitmap chunk being an incorrect size.  I
> don't know if it actually created a bitmap anyway using the default size, or
> what, but I assumed the error meant the bitmap was not created.  Going on
> this assumption, I immediately issued the command again, changing only the
> bitmap chunk size:
>
> `mdadm -G /dev/md0 -b internal --bitmap-chunk=65536`
>
>        That's when it hung.  I tried stopping the array, but I couldn't
> umount the file system because it was dirty.  Any commands to mdadm - even
> informational ones and even
>
> `cat /proc/mdadm`
>
>        would cause the xterm to hang.  Even a shutdown would not work.  I
> had to shut down  the server with the power switch.
>
>        When the system booted, mdadm would not assemble the array.  I think
> Neil has figured out why.  Subsequent attempts to assemble the array also
> failed, at least in part because /dev/md0 had been created without the array
> being active.  I deleted /dev/md0, but subsequent failed assembly attempts
> again created the file.  Finally I deleted the file once again and then
> assembled using
>
> `mdadm -A /dev/sd[a-j]`
>
>        and it worked, although the array was marked as dirty, and the first
> attempt to access it caused a resync.  When the resync was done, I fixed the
> "homehost" issue Neil had spotted and corrected /etc/mdadm/mdadm.conf to
> show all 10 drives.  Finally, I added back the bitmap, and now everything
> seems fine.  I rebooted the server, and it comes up with all 10 drives in an
> assembled array with an internal bitmap.
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
       Majed B.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-11-15  0:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-13  4:53 Help - Urgent!!! lrhorer
2009-11-13  5:11 ` Neil Brown
2009-11-13  5:12   ` Neil Brown
2009-11-13  5:14     ` lrhorer
2009-11-13  6:08       ` Neil Brown
2009-11-13  6:22         ` lrhorer
2009-11-13  7:03           ` Neil Brown
2009-11-13 15:09             ` lrhorer
2009-11-14 21:45             ` Leslie Rhorer
2009-11-15  0:05               ` Majed B. [this message]
2009-11-15  1:05                 ` Leslie Rhorer
2009-11-13  9:06         ` Janek Kozicki
2009-11-13  9:44           ` Sujit K M
2009-11-13  5:16     ` lrhorer
     [not found] ` <200911130913.48292.lrhorer@satx.rr.com>
     [not found]   ` <19197.55846.756558.21650@notabene.brown>
2009-11-14  0:30     ` lrhorer
2009-11-14  0:34       ` Majed B.
  -- strict thread matches above, loose matches on Subject: below --
2009-11-13  4:34 Help - Urgent! Rhorer, Leslie

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=70ed7c3e0911141605k42b46dbbo29988b74ab6bf676@mail.gmail.com \
    --to=majedb@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=lrhorer@satx.rr.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox