Bug#361408: Further information

martin f krafft madduck at debian.org
Wed Jun 28 07:59:48 UTC 2006


also sprach Detlef Schmicker <d.schmicker at physik.de> [2006.06.28.0922 +0200]:
> $ cat /etc/mdadm/mdadm.conf
> DEVICE partitions
> CREATE owner=root group=disk mode=0660
> ARRAY /dev/md0 level=raid1 num-devices=2 devices=/dev/hda2
> ARRAY /dev/md1 level=raid1 num-devices=2 devices=/dev/hda3
> ARRAY /dev/md2 level=raid1 num-devices=2 devices=/dev/hda1,/dev/hdc1

I suggest using UUIDs instead, as that will be a lot more robust
when the kernel decides to rename devices. It happens.

> as mkconf gives
> 
> sarge:/etc/mdadm# /usr/share/mdadm/mkconf
> DEVICE partitions
> CREATE owner=root group=disk mode=0660 auto=yes metadata=1
> ARRAY /dev/md0 level=raid1 num-devices=2
> UUID=f00c2d56:12d94a71:7544ea96:bac045d0
> ARRAY /dev/md1 level=raid1 num-devices=2
> UUID=bab67f93:8d6ae88c:a94069f9:03661a7a
> ARRAY /dev/md2 level=raid1 num-devices=2
> UUID=7f96e6c7:6f4e22b9:95d187de:8bb4fa04
> ARRAY /dev/md0 level=raid1 num-devices=2
> UUID=8be3aeb5:6621388f:f8a154d8:ca63d2a6
> ARRAY /dev/md1 level=raid1 num-devices=2
> UUID=53f86543:986d4080:3564d273:2586e4f0

Yes, this *is* weird. Could you please post the output of

  for dev in /dev/[hs]d[a-z]*; do mdadm -E $dev 2>/dev/null && echo --; done

Thanks,

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck at debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20060628/3fd3f2ce/attachment.pgp


More information about the pkg-mdadm-devel mailing list