[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about upgrade of mdadm on etch and mdadm.conf



also sprach Andy B <andy@besy.co.uk> [2006.10.04.1304 +0200]:
> DEVICE partitions
> CREATE owner=root group=disk mode=0660 auto=yes metadata=1
> ARRAY /dev/md0 level=raid1 num-devices=3 UUID=66fff52e:...
> ARRAY /dev/md1 level=raid1 num-devices=3 UUID=535b76be:...
> ARRAY /dev/md2 level=raid1 num-devices=3 UUID=24a11b82:...
> ARRAY /dev/md3 level=raid1 num-devices=3 UUID=7309af0d:...
> MAILADDR root

You can delete everything after this if the UUIDs are in fact the
same. I think you can also leave it in and mdadm will ignore the
first set.

> DEVICE partitions
> ARRAY /dev/md0 level=raid1 num-devices=3 UUID=66fff52e:...
> ARRAY /dev/md1 level=raid1 num-devices=3 UUID=535b76be:...
> ARRAY /dev/md2 level=raid1 num-devices=3 UUID=24a11b82:...
> ARRAY /dev/md3 level=raid1 num-devices=3 UUID=7309af0d:...
> 
> Each array seems to be declared twice and I'm not sure why.

Can you figure out when the lines got duplicated? I am moderately
sure this must be from the 1.9.x times.

> Also, I notice also that I have:
> 
>   CREATE owner=root group=disk mode=0660 auto=yes metadata=1
> 
> Where as the script gives:
> 
>   CREATE owner=root group=disk mode=0660 auto=yes
> 
> Should I remove metadata=1 from my config file?

I suggest you do. metadata=0 is the upstream default still, and due
to bugs like #385726, I decided to stick with it.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
"licht wird alles, was ich fasse"
                                                 - friedrich nietzsche

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: