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 15:23:54 UTC 2010
Package: mdadm
Version: 3.1.4-1+8efb9d1
Severity: normal
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 ?
-- Package-specific info:
WARNING:
the following output was not generated by the root user. If you can, please
replace the following up until "-- System Information:" with the output of
/usr/share/bug/mdadm/script 3>&1
run as root. Thanks!
--- mdadm.conf
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md0 level=raid1 num-devices=2 auto=md UUID=078321ad:ddb69c28:347b77cc:157de56c
--- /etc/default/mdadm
INITRDSTART='all'
AUTOSTART=true
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false
--- /proc/mdstat:
Personalities : [raid1]
md0 : active raid1 sdb1[2] sda1[0]
7839708 blocks super 1.0 [2/2] [UU]
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
8 0 8891620 sda
8 1 7839720 sda1
8 2 51200 sda2
8 3 8891392 sda3
9 0 7839708 md0
259 0 7839708 md0p1
259 1 7839708 md0p3
8 16 17921835 sdb
8 17 7839720 sdb1
8 18 51200 sdb2
8 19 8891392 sdb3
--- LVM physical volumes:
LVM does not seem to be used.
--- mount output
/dev/md0 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
--- initrd.img-2.6.32-5-sparc64-smp:
53384 blocks
8f94b9decb269240e739c9c9c95170d7 ./etc/mdadm/mdadm.conf
b10bf5fec88aaf98dfa87d00ee89b1f1 ./sbin/mdadm
361973fb9431eb7f2d54f9a803168939 ./lib/modules/2.6.32-5-sparc64-smp/kernel/drivers/md/multipath.ko
e11a8d6ed74a0dfe7e10e6f982f32768 ./lib/modules/2.6.32-5-sparc64-smp/kernel/drivers/md/linear.ko
8c46240a53bc3fa5b2de05918f5d5f5f ./lib/modules/2.6.32-5-sparc64-smp/kernel/drivers/md/md-mod.ko
4901e0f7357c51e098ab5cb46f96712b ./lib/modules/2.6.32-5-sparc64-smp/kernel/drivers/md/raid10.ko
e15ffbc557ef2359cee2d4d741ffb79b ./lib/modules/2.6.32-5-sparc64-smp/kernel/drivers/md/raid0.ko
9ff8cce710d54037db4da50df08e3743 ./lib/modules/2.6.32-5-sparc64-smp/kernel/drivers/md/raid456.ko
95d2456018418046490d801417063e3b ./lib/modules/2.6.32-5-sparc64-smp/kernel/drivers/md/raid1.ko
54f9a6a3dff3c57034b89a76a3b1055c ./lib/modules/2.6.32-5-sparc64-smp/kernel/drivers/md/raid6_pq.ko
f4fbd9099399ab08ba9b9f6c71d77595 ./scripts/local-top/mdadm
--- initrd's /conf/conf.d/md:
MD_HOMEHOST='install1'
MD_DEVPAIRS='/dev/md0:raid1'
MD_LEVELS='raid1'
MD_DEVS=all
MD_MODULES='raid1'
--- /proc/modules:
raid1 18807 1 - Live 0x000000001012c000
md_mod 82984 2 raid1, Live 0x0000000010108000
--- /var/log/syslog:
--- volume detail:
/dev/sda not readable by user.
/dev/sda1 not readable by user.
/dev/sda2 not readable by user.
/dev/sda3 not readable by user.
/dev/sdb not readable by user.
/dev/sdb1 not readable by user.
/dev/sdb2 not readable by user.
/dev/sdb3 not readable by user.
--- /proc/cmdline
root=/dev/md0 rootdelay=10
--- udev:
ii udev 164-2 /dev/ and hotplug management daemon
4a574fcd059040d33ea18a8aa605a184 /lib/udev/rules.d/64-md-raid.rules
--- /dev:
brw-rw---- 1 root disk 9, 0 Dec 15 13:46 /dev/md0
brw-rw---- 1 root disk 259, 0 Dec 15 13:46 /dev/md0p1
brw-rw---- 1 root disk 259, 1 Dec 15 13:46 /dev/md0p3
crw------- 1 root root 10, 62 Dec 15 13:46 /dev/mdesc
/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 9 Dec 15 13:46 md-name-install1:0 -> ../../md0
lrwxrwxrwx 1 root root 11 Dec 15 13:46 md-name-install1:0-part1 -> ../../md0p1
lrwxrwxrwx 1 root root 11 Dec 15 13:46 md-name-install1:0-part3 -> ../../md0p3
lrwxrwxrwx 1 root root 9 Dec 15 13:46 md-uuid-078321ad:ddb69c28:347b77cc:157de56c -> ../../md0
lrwxrwxrwx 1 root root 11 Dec 15 13:46 md-uuid-078321ad:ddb69c28:347b77cc:157de56c-part1 -> ../../md0p1
lrwxrwxrwx 1 root root 11 Dec 15 13:46 md-uuid-078321ad:ddb69c28:347b77cc:157de56c-part3 -> ../../md0p3
lrwxrwxrwx 1 root root 9 Dec 15 14:04 scsi-SSEAGATE_ST318404LC_3BT1EZ3J00002111GD11 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 15 14:06 scsi-SSEAGATE_ST318404LC_3BT1EZ3J00002111GD11-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 15 14:04 scsi-SSEAGATE_ST318404LC_3BT1EZ3J00002111GD11-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 9 Dec 15 13:46 scsi-SSEAGATE_ST39173WC_LM41660300007849T82T -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 15 13:46 scsi-SSEAGATE_ST39173WC_LM41660300007849T82T-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 15 13:46 scsi-SSEAGATE_ST39173WC_LM41660300007849T82T-part2 -> ../../sda2
/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 Dec 15 13:46 pci-0000:00:02.0-scsi-0:0:6:0 -> ../../sr0
lrwxrwxrwx 1 root root 9 Dec 15 13:46 pci-0000:00:03.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 15 13:46 pci-0000:00:03.0-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 15 13:46 pci-0000:00:03.0-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 Dec 15 14:04 pci-0000:00:03.0-scsi-0:0:1:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 15 14:06 pci-0000:00:03.0-scsi-0:0:1:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Dec 15 14:04 pci-0000:00:03.0-scsi-0:0:1:0-part2 -> ../../sdb2
/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 11 Dec 15 14:06 77c99d5f-ae60-43a6-bef1-9b59d17bcc9a -> ../../md0p1
/dev/md:
total 0
Auto-generated on Fri, 17 Dec 2010 16:19:20 +0100
by mdadm bugscript 3.1.4-1+8efb9d1
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: sparc (sparc64)
Kernel: Linux 2.6.32-5-sparc64-smp (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages mdadm depends on:
ii debconf 1.5.36 Debian configuration management sy
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii udev 164-2 /dev/ and hotplug management daemo
Versions of packages mdadm recommends:
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii nullmailer [mail-transport-ag 1:1.04-1.2 simple relay-only mail transport a
mdadm suggests no packages.
-- debconf information excluded
More information about the pkg-mdadm-devel
mailing list