linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Clarify /etc/mdadm.conf format and content?
@ 2009-11-05  5:53 Ben DJ
  2009-11-05  6:17 ` Michael Evans
  0 siblings, 1 reply; 11+ messages in thread
From: Ben DJ @ 2009-11-05  5:53 UTC (permalink / raw)
  To: linux-raid

Hi,

I've two arrays, "/boot" on RAID-1 & "/, etc" on LVM on RAID-10.

I currently have,

cat /etc/mdadm.conf
  DEVICE partitions
  ARRAY /dev/md0 metadata=1.00 name=Rescue:0
UUID=864b9359:09f5f39b:69a4ae8a:e3d794f8
  ARRAY /dev/md1 metadata=1.01 name=Rescue:1
UUID=6d541863:4e7235a3:81291c4d:b7f4b48c


Couple of questions.

(1) What's the "Rescue" in the name field?  Does it matter what the
name is?  I _thought_ name was derived from hostname ... ?

(2) For re-populating /etc/mdadm, should I use the output of,

  mdadm --detail --scan

or,

  mdadm --examine --scan


The two have different device names -- note "/dev/mdX" vs"/dev/md/X",

mdadm --detail --scan > tmp.txt
cat tmp.txt
  ARRAY /dev/md1 metadata=1.01 name=Rescue:1
UUID=6d541863:4e7235a3:81291c4d:b7f4b48c
  ARRAY /dev/md0 metadata=1.00 name=Rescue:0
UUID=864b9359:09f5f39b:69a4ae8a:e3d794f8

mdadm --examine --scan
  ARRAY /dev/md/0 metadata=1.0
UUID=864b9359:09f5f39b:69a4ae8a:e3d794f8 name=Rescue:0
  ARRAY /dev/md/1 metadata=1.1
UUID=6d541863:4e7235a3:81291c4d:b7f4b48c name=Rescue:1

(3) my RAID-10 has --layout=f2 & --chunk=256.  Should either of those
specs be included in the /etc/mdadm.conf?

Thanks,

BenDJ

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

end of thread, other threads:[~2009-11-12  1:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-05  5:53 Clarify /etc/mdadm.conf format and content? Ben DJ
2009-11-05  6:17 ` Michael Evans
2009-11-05  7:21   ` Ben DJ
2009-11-05  7:31     ` Michael Evans
2009-11-05 16:24       ` Ben DJ
2009-11-05 17:03         ` Ben DJ
2009-11-09  4:57           ` Neil Brown
2009-11-10  0:11             ` Michael Evans
2009-11-12  1:05               ` Ben DJ
2009-11-07 17:06         ` Doug Ledford
2009-11-12  0:48           ` Ben DJ

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