| From | Subject | Date |
|---|---|---|
| Leslie Rhorer | RE: Broken RAID1 boot arrays
Yeah, but ssh is a bit of a pain to work with from a live CD when
one must repeatedly reboot the system. I'm using an Ubuntu live CD right
now, but I have to run `sudo apt-get install openssh-server` on the
workstation every time I boot (and as I mentioned, any console access on the
machine is rather difficult), and then I have to run `ssh -o
UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ubuntu@backup`
from one of my workstations. Once or twice isn't all that bad, but ...
| May 11, 4:59 pm 2010 |
| Keld Simonsen | layout of far blocks in raid10
Hi
There is a quesition on block layout in the raid10 far layout,
that I would like to know more about.
For 4 drives, and with 2 copies (-n 4 -p n2) I see several
possible layouts, 3 of them are, showing the beginning of each raid0 section:
Disks:
a b c d
Layout 1:
1 2 3 4
..............
4 1 2 3
Layout 2:
1 2 3 4
..............
3 4 1 2
Layout 3:
1 2 3 4
..............
2 3 4 1
This gives 3! combinations for double faliure, or ...
| May 11, 8:12 am 2010 |
| Aryeh Gregor | Re: layout of far blocks in raid10
Mathematicians are sometimes wrong too, sadly. :) (And I'm only a
grad student!) I believe this is where I got my info:
http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=blob_plain;f=debian/FAQ;hb=HEAD
The answer to question 20 of that suggests that if you have four
disks, 0 1 2 3, then 0 and 1 form one pair and 2 and 3 form the other.
If 2 fails, then 0 or 1 could still fail without data loss, but a
failure of 3 will cause data loss. Obviously, you know what you're
talking about better ...
| May 11, 3:22 pm 2010 |
| Aryeh Gregor | Re: layout of far blocks in raid10
There are only two layouts possible here: cyclic, and
double-transposition. The first can be summarized in cycle notation
<http://en.wikipedia.org/wiki/Cycle_notation> as (abcd), where two
letters are adjacent if the extra copy of the first letter is on the
same disk as the second letter, and it's assumed the letters wrap
around in the parentheses (so the extra copy of d is on the same disk
as a). The second is (ab)(cd). So for instance, your example 1 is
(1432), example 2 is (13)(24), and ...
| May 11, 10:13 am 2010 |
| Neil Brown | Re: layout of far blocks in raid10
On Tue, 11 May 2010 13:13:06 -0400
I'm not quite sure how to respond to this... As a mathematician I would
expect you to understand the important of precision in choosing words, yet
you use the word "know" for something that is exactly wrong. Either you mean
"guess" or you have been seriously misinformed. If it is the latter, then
please let me know where this misinformation came from so I can see about
getting it corrected.
md/raid10 uses a simple cyclic layout in all cases. It does so ...
| May 11, 2:56 pm 2010 |
| Neil Brown | Re: layout of far blocks in raid10
On Tue, 11 May 2010 18:22:58 -0400
A grad student! You must be over educated:
The conclusion stated in question 20 is correct if you are considering the
'near' layout, though the reasoning is foggy and doesn't generalise to the
'far' or 'offset' layout.
With a 'near 2' layout on 4 drives, the blocks are:
0 0 1 1
2 2 3 3
which looks like striping across mirrored pairs, but that is really just a
coincidence.
On 5 drives it would look like:
0 0 1 1 2
2 3 3 4 ...
| May 11, 3:54 pm 2010 |
| Keld Simonsen | Re: layout of far blocks in raid10
Hmm, I think there is then room for improvement here.
For a 4 drive raid10,f2 I do think it is a significant enhancement to
go from 33 % chance of recovery with 2 failing disks, to 67 %.
This would also go for raid10,n2, I think. And a 4 drive raid1+0 would
then have better probabilities than a 4 drive raid10,n2...
Enhancements would probably be even better for raid10 with more drives.
Any bid on the order of improvements to be theoretically obtainable?
It would also be interesting to ...
| May 11, 3:35 pm 2010 |
| Light King | Doubt about mdadm - v2.6.7.1 - 15th October 2008
hello ,
i m using mdadm - v2.6.7.1 . when I m creating a raid array of 4 disk
using command
mdadm --create --chunk=64 --level=0 --raid-devices=4 /dev/md99
/dev/sda /dev/sdb /dev/sdc /dev/sdd
in dev directory of my PC I m getting md99 device and along with this
md_d99 . So I m not able understand what is this md_d99 ? this thing
was not happening previously in previous versions of mdadm .
another issue if i reboot the PC also it shd keep active the md99
array , but it is not ...
| May 10, 11:37 pm 2010 |
| Leslie Rhorer | RE: Broken RAID1 boot arrays
On a related note, does anyone know of a good Linux Live CD which
enables both network operations (especially telnetd and ftpd) along with
mdadm? I have a couple of Live CDs on hand, but they don't support mdadm or
remote access. This is a headless system, and I really can't effectively
work with a local console, plus I need to mount the /boot array in order to
properly edit the initrd. I suppose I could mount the drive as a non-array
and then force a sync to the second drive, but I'd rather ...
| May 10, 8:04 pm 2010 |
| Bill Davidsen | Re: Broken RAID1 boot arrays
What tool other than telnet do you use to open an interactive socket to
an arbitrary port?
--
Bill Davidsen <davidsen@tmr.com>
"We can't solve today's problems by using the same thinking we
used in creating them." - Einstein
--
| May 11, 9:27 am 2010 |
| Bill Davidsen | Re: Broken RAID1 boot arrays
Fedora disks can be booted in rescue mode.
--
Bill Davidsen <davidsen@tmr.com>
"We can't solve today's problems by using the same thinking we
used in creating them." - Einstein
--
| May 11, 9:25 am 2010 |
| Luca Berra | Re: Broken RAID1 boot arrays
http://www.sysresccd.org is nice, it has mdadm and ssh, no telnet and
ftp, but who needs those nowadays :P
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
--
| May 11, 12:54 am 2010 |
| Leslie Rhorer | RE: Broken RAID1 boot arrays
Oh, it's almost surely related to the new version of udev. John
Robinson's response makes it clear udev is assigning a different block
device (sdx vs mdx), whihc is probably why it's failing. I did try
different targets, and /dev/hda and /dev/hdb definitely do not exist. I'll
look for sda and sdb when I get the chance. 'Should be an easy fix if
that's all it is.
--
| May 10, 7:50 pm 2010 |
| Leslie Rhorer | RE: Broken RAID1 boot arrays
I'm pretty sure it has been reported more than once. Google brings
up a ton of responses when one searches for the error produced when udev
tries to upgrade and can't because of the old kernel. I don't recall what
the error is, exactly, because I first ran into it several months ago. Note
it is only encountered when trying to upgrade from "Lenny" to "Squeeze", not
when loading "Squeeze" directly, but then "Squeeze" is still a testing
distro. It hasn't been released, yet, and probably won't ...
| May 10, 7:44 pm 2010 |
| Leslie Rhorer | RE: Broken RAID1 boot arrays
No, the system hangs. However, I can interrupt the boot at the GRUB
prompt, and I should be able to specify the correct target for /, which will
It's done that way so that if GRUB2 fails, one can still interrupt
the boot at the GRUB1 prompt and fix things. Once GRUB2 is running
properly, there is a simple command which eliminates GRUB1 from the boot
It surely does! Thanks yet again. I'm too tired right now to dig
into it, but if indeed hda and hdb are now sda and sdb, I can fix ...
| May 10, 7:37 pm 2010 |
| Neil Brown | Re: Spare drive won't spin down
On Mon, 10 May 2010 12:59:33 -0400
Maybe ....
For backwards compatibility, the event counts in all the devices in an array
must not differ by more than 1. And if the information in the superblocks is
different, then the event counts must be different to ensure that the current
information is used when the array is restarted.
Consequently, if the event counts are uniform across an array it is safe to
just mark the superblocks on active drives as 'dirty' leaving spare drives
alone.
To ...
| May 11, 1:53 pm 2010 |
| Dan Williams | Re: [RFC PATCH 0/2] a couple of readonly handling fixups
This slippery bugger seems to have evaded upstream, do you want me to resend?
Here is a link for reference:
http://marc.info/?l=linux-raid&m=123139948817348&w=2
I have seen another report of the md_write_start() BUG_ON triggering
so I'm wondering if there are other ways for mddev->ro and
bdev->bd_part->policy to get out of sync, or if they are just hitting
the bug that this patch fixes?
--
Dan
--
| May 11, 11:06 am 2010 |
| Neil Brown | Re: [RFC PATCH 0/2] a couple of readonly handling fixups
On Tue, 11 May 2010 11:06:48 -0700
No thanks, the link below is good enough.
That patch is now in my for-next branch and will go for-linus in
2.6.whatevercomesnext.
I normally stick that sort of thing somewhere in my stack before replying
Maybe we should just get rid of the BUG_ON??
Let's set how it goes once this patch is really in.
Thanks,
NeilBrown
--
| May 11, 3:33 pm 2010 |
| previous day | today | next day |
|---|---|---|
| May 10, 2010 | May 11, 2010 | May 12, 2010 |
