Bug#607375: mdadm: -e 1 generates superblock 1.2 while manpage says 1.0

Hermann Lauer Hermann.Lauer at iwr.uni-heidelberg.de
Fri Dec 17 16:36:49 UTC 2010


On Fri, Dec 17, 2010 at 05:20:43PM +0100, martin f krafft wrote:
> severity 607375 minor
> thanks
> 
> also sprach Hermann Lauer <Hermann.Lauer at iwr.uni-heidelberg.de> [2010.12.17.1623 +0100]:
> > mdadm --create -e 1 should generate an superblock 1.0 according to the manpage,
> > but instead generated an 1.2 superblock here. Who is right ?

> Generally, I would tend to say the manpage should be right. Can you
> please produce a command line script (man script) to illustrate the
> problem?

# mdadm --create -e 1 /dev/md1 --level=1 --raid-disks=2 /dev/sdb4 missing
mdadm: array /dev/md1 started.
# mdadm -E /dev/sdb4
/dev/sdb4:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 8eb5cfef:ea73af0a:7475fd57:ee594f8b
           Name : install1:1  (local to host install1)
  Creation Time : Fri Dec 17 17:32:04 2010
     Raid Level : raid1
   Raid Devices : 2

 Avail Dev Size : 12143092 (5.79 GiB 6.22 GB)
     Array Size : 12143068 (5.79 GiB 6.22 GB)
  Used Dev Size : 12143068 (5.79 GiB 6.22 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : active
    Device UUID : dbe064dc:85eca9c3:ccc6b868:bfa2c250

    Update Time : Fri Dec 17 17:32:04 2010
       Checksum : 21ea4930 - correct
         Events : 0


   Device Role : Active device 0
   Array State : A. ('A' == active, '.' == missing)

Sorry about the wrong output of reportbug - that was genereated
with -e 1.0 afterwards which ist working.

-- 
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres 
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
Email: Hermann.Lauer at iwr.uni-heidelberg.de





More information about the pkg-mdadm-devel mailing list