Re: Linux RAID autodetect partitions go missing from /dev, but fdisk can see them

From
Tor Arne Vestbø <hidden>
Date
2009-01-31 13:19:21
Reply to
Tor Arne Vestbø, 2009-01-18
Tor Arne Vestbø wrote:
Neil Brown wrote:
quoted
If a partition start at an offset in the device which is a multiple of
64K, and ends at the end of the device, then both the partition and
the whole device will appear to have the same superblock.  This can
cause confusion.
I think you are on to something here! I did partition all my disks with
just one partition, starting on the first block and taking up all the
remaining space, and set it to type Linux RAID auto detect.
[snip]
So is this a case of the problem you described about
superblock-confusion? If so, is it fixable?
It appears it is :)

For googlability, here's what I did:

Changed the DEVICE line in my mdadm.conf from:

  DEVICE partitions

to

  DEVICE /dev/sd[bcdef]1

Now the array is assembled correctly at boot.

I'm still confused why the device nodes went missing as a result of the
failed assembly earlier, but that's a minor issue I can live with :)

Tor Arne
--
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
Thread (4 messages) 4 messages, 2 authors, last reply 2009-01-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help