reopen 385951
found 385951 2.5.3.git200608202239-5
thanks

The patch I added is not acceptable. Here is what upstream has to
say:

This is the "superblock in partition aligns perfectly with superblock
in whole device" problem.
Using version-1 superblocks will avoid this problem.

Your patch ignores whole-devices which appear to have valid partition
tables.  That would not work for people (like me) who create a raid1
across whole devices and then partition the raid1, as the whole
devices appear to have the same partitions as the raid1.

I don't think there is a generic solution for this problem while using
v0.90 superblocks.  Different people will want different decisions to
resolve the confusion and it cannot be made automatically.

The easiest solution is to change the devices line.
In this case, remove "DEVICE partitions" and add
"DEVICE /dev/hd[a-d][1-9]".

As the message from mdadm says:

mdadm: WARNING /dev/hdc3 and /dev/hdc appear to have very similar superblocks.
      If they are really different, please --zero the superblock on one       
      If they are the same, please remove one from the list.           

We need to remove one from the list... but I guess they are not the
same.  I guess I should improve that message.  It should read

mdadm: WARNING /dev/hdc3 and /dev/hdc appear to have very similar superblocks.
      If they are really different, please --zero the superblock on one       
      If they are the same or overlap, please remove one from the      
      DEVICE list in mdadm.conf.                                 

I shall follow this suggestion, add a note to the documentation, and
close the bug with the next upstream merge.

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  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

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

Reply via email to