linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Raid array is not automatically detected.
@ 2008-10-17 15:07 Daniel Reichelt
  2008-10-17 18:40 ` Bryan Christ
  0 siblings, 1 reply; 19+ messages in thread
From: Daniel Reichelt @ 2008-10-17 15:07 UTC (permalink / raw)
  To: bryan.christ; +Cc: linux-raid

Hi Bryan,
I was just having the same problem and the mdadm man page clearly states:
----------------------------
--homehost=
    This will override any HOMEHOST setting in the config file and provides the
identity of the host which should be considered the home for any arrays.

    When creating an array, the homehost will be recorded in the superblock.
For version-1 superblocks, it will be prefixed to the array name. For
version-0.90 superblocks, part of the SHA1 hash of the hostname will be stored
in the later half of the UUID.

    When reporting information about an array, any array which is tagged for
the given homehost will be reported as such.

****
    When using Auto-Assemble, only arrays tagged for the given homehost will be
assembled.
****
----------------------------

So just once stop your array and manually assemble it like
mdadm -A <md-device> <components> --homehost=<somestring> --update=homehost
and from the next reboot on, that array, too, will automatically be assembled
by the linux kernel.
HTH
Daniel

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Raid array is not automatically detected.
@ 2007-07-13 20:36 Bryan Christ
  2007-07-14  0:03 ` Zivago Lee
  2007-07-14 13:51 ` Bill Davidsen
  0 siblings, 2 replies; 19+ messages in thread
From: Bryan Christ @ 2007-07-13 20:36 UTC (permalink / raw)
  To: linux-raid

My apologies if this is not the right place to ask this question. 
Hopefully it is.

I created a RAID5 array with:

mdadm --create /dev/md0 --level=5 --raid-devices=5 /dev/sda1 /dev/sdb1 
/dev/sdc1 /dev/sdd1 /dev/sde1

mdadm -D /dev/md0 verifies the devices has a persistent super-block, but 
upon reboot, /dev/md0 does not get automatically assembled (an hence is 
not a installable/bootable device).

I have created several raid1 arrays and one raid5 array this way and 
have never had this problem.  In all fairness, this is the first time I 
have used mdadm for the job.  Usually, I boot to something like 
SysRescueCD, used raidtools to create my array and then reboot with my 
Slackware install CD.

Anyone know why this might be happening?

Bryan

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2008-10-17 18:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17 15:07 Raid array is not automatically detected Daniel Reichelt
2008-10-17 18:40 ` Bryan Christ
  -- strict thread matches above, loose matches on Subject: below --
2007-07-13 20:36 Bryan Christ
2007-07-14  0:03 ` Zivago Lee
2007-07-14  2:09   ` Bryan Christ
2007-07-14 13:51 ` Bill Davidsen
2007-07-14 13:53   ` Justin Piszcz
2007-07-14 17:10     ` Bill Davidsen
2007-07-14 17:08       ` Justin Piszcz
2007-07-16 14:19     ` Bryan Christ
2007-07-16 15:21       ` David Greaves
2007-07-18  5:28         ` dean gaudet
2007-07-18  8:06           ` Justin Piszcz
2007-07-18  8:52           ` David Greaves
2007-07-18 14:39         ` Bryan Christ
2007-07-18 15:46           ` David Greaves
2007-07-18 15:49             ` Bryan Christ
2007-07-18 18:56             ` Bill Davidsen
2007-07-18 23:09               ` Neil Brown

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).