* md126-7
@ 2007-04-03 15:56 Just Marc
2007-04-03 21:15 ` md126-7 Neil Brown
0 siblings, 1 reply; 3+ messages in thread
From: Just Marc @ 2007-04-03 15:56 UTC (permalink / raw)
To: linux-raid
Hi everyone,
I've been using the RAID subsystem quite a bit over the years. This
week, for the first time, I created a RAID6 array over loop devices that
point to files.
To my surprise the device showing in /proc/mdstat for this new array is
/dev/md127. This is a fresh system and RAID has never been configured
on it. I tried re-doing everything from scratch again and was sometimes
even given /dev/md126 (though I wasn't able to reproduce this one, it
happened once).
My kernel is 2.6.20.4. Can anyone give me a hint about what's going on?
Thanks,
Marc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: md126-7
2007-04-03 15:56 md126-7 Just Marc
@ 2007-04-03 21:15 ` Neil Brown
2007-04-04 12:17 ` md126-7 Just Marc
0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2007-04-03 21:15 UTC (permalink / raw)
To: Just Marc; +Cc: linux-raid
On Tuesday April 3, marc@corky.net wrote:
> Hi everyone,
>
> I've been using the RAID subsystem quite a bit over the years. This
> week, for the first time, I created a RAID6 array over loop devices that
> point to files.
>
> To my surprise the device showing in /proc/mdstat for this new array is
> /dev/md127. This is a fresh system and RAID has never been configured
> on it. I tried re-doing everything from scratch again and was sometimes
> even given /dev/md126 (though I wasn't able to reproduce this one, it
> happened once).
>
> My kernel is 2.6.20.4. Can anyone give me a hint about what's going on?
Maybe if you tell us what commands you ran, we could explain what you
did?
Maybe you did
mdadm -C /dev/bigdev -amd -l6 -n5 /dev/sd[a-e]
As the name "bigdev" doesn't look like "md%d", it will just choose an
unused number up around 127.
NeilBrown
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: md126-7
2007-04-03 21:15 ` md126-7 Neil Brown
@ 2007-04-04 12:17 ` Just Marc
0 siblings, 0 replies; 3+ messages in thread
From: Just Marc @ 2007-04-04 12:17 UTC (permalink / raw)
To: Neil Brown; +Cc: linux-raid
Hello Neil,
> Maybe if you tell us what commands you ran, we could explain what you
> did?
> Maybe you did
>
> mdadm -C /dev/bigdev -amd -l6 -n5 /dev/sd[a-e]
>
> As the name "bigdev" doesn't look like "md%d", it will just choose an
> unused number up around 127.
>
>
You were absolutely right, thank you. I was simply missing the device
name when creating the array, something I usually do specify :)
It is a bit odd though that it picks an unused number that high, why
doesn't it start from 0?
Thanks,
Marc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-04 12:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-03 15:56 md126-7 Just Marc
2007-04-03 21:15 ` md126-7 Neil Brown
2007-04-04 12:17 ` md126-7 Just Marc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).