Bug#641886: mdadm: Possible fix

Rick Thomas rbthomas at pobox.com
Wed Nov 30 18:59:47 UTC 2011


Package: mdadm
Followup-For: Bug #641886

Version: 3.2.2-1

Please consider adding the " --no-sharing" option to the mdadm call in /etc/cron.daily/mdadm

Thanks!



-- Package-specific info:
--- mdadm.conf
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md127 UUID=9a7e66d3:8b1e1854:b42011fd:5f21452d

--- /etc/default/mdadm
INITRDSTART='all'
AUTOSTART=true
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false

--- /proc/mdstat:
Personalities : [raid1] 
md127 : active raid1 sdc2[0] sdb2[1]
      244198464 blocks [2/2] [UU]
      
unused devices: <none>

--- /proc/partitions:
major minor  #blocks  name

   8        0   40209120 sda
   8        1         31 sda1
   8        2        977 sda2
   8        3    9765625 sda3
   8        4    9765625 sda4
   8        5    9765625 sda5
   8        6   10911234 sda6
   8       16  244198584 sdb
   8       17         31 sdb1
   8       18  244198552 sdb2
   8       32  244198584 sdc
   8       33         31 sdc1
   8       34  244198552 sdc2
   9      127  244198464 md127

--- LVM physical volumes:
LVM does not seem to be used.
--- mount output
/dev/sda4 on / type ext4 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,size=5242880,mode=755,size=5242880,mode=755)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=755,size=10%,mode=755)
tmpfs on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880,mode=1777,size=5242880,mode=1777)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=20%,mode=1777,size=20%,mode=1777)
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 /run/shm type tmpfs (rw,nosuid,nodev,size=20%,mode=1777,size=20%,mode=1777)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620,gid=5,mode=620)
/dev/md127 on /home type ext3 (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

--- initrd.img-3.1.0-1-powerpc:
55080 blocks
923d42ceb6a2ea4634f7145f22e1b2fb  ./etc/mdadm/mdadm.conf
2d908f566d1b93bfe993a340d050d178  ./sbin/mdadm
f4fbd9099399ab08ba9b9f6c71d77595  ./scripts/local-top/mdadm
8662e1361d86e6db6938e581ea24c039  ./lib/modules/3.1.0-1-powerpc/kernel/drivers/md/raid0.ko
544c296e27abdc0e4db18becc9913819  ./lib/modules/3.1.0-1-powerpc/kernel/drivers/md/raid10.ko
5a3d7ac55e5c504f511be872f2dc5060  ./lib/modules/3.1.0-1-powerpc/kernel/drivers/md/dm-mod.ko
e62972a72c2bd9d6133b7f8659e0713b  ./lib/modules/3.1.0-1-powerpc/kernel/drivers/md/multipath.ko
337248906a98887d298ff422d22d5f43  ./lib/modules/3.1.0-1-powerpc/kernel/drivers/md/linear.ko
3f5402e6167959b657fbd01775fd7b1c  ./lib/modules/3.1.0-1-powerpc/kernel/drivers/md/md-mod.ko
db2602dc2ae25a548b662aac7456b6b1  ./lib/modules/3.1.0-1-powerpc/kernel/drivers/md/raid456.ko
2181eb86cdaa86472fcdb817762d23b3  ./lib/modules/3.1.0-1-powerpc/kernel/drivers/md/raid1.ko

--- initrd's /conf/conf.d/md:
MD_HOMEHOST='greybox'
MD_DEVPAIRS='/dev/md127:raid1'
MD_LEVELS='raid1'
MD_DEVS=all
MD_MODULES='raid1'

--- /proc/modules:
raid1 28528 1 - Live 0xf25e4000
md_mod 100526 2 raid1, Live 0xf25b6000

--- /var/log/syslog:

--- volume detail:
/dev/sda is not recognised by mdadm.
/dev/sda1 is not recognised by mdadm.
/dev/sda2 is not recognised by mdadm.
/dev/sda3 is not recognised by mdadm.
/dev/sda4 is not recognised by mdadm.
/dev/sda5 is not recognised by mdadm.
/dev/sda6 is not recognised by mdadm.
/dev/sdb is not recognised by mdadm.
/dev/sdb1 is not recognised by mdadm.
/dev/sdb2:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 9a7e66d3:8b1e1854:b42011fd:5f21452d
  Creation Time : Fri Feb 16 16:25:00 2007
     Raid Level : raid1
  Used Dev Size : 244198464 (232.89 GiB 250.06 GB)
     Array Size : 244198464 (232.89 GiB 250.06 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 127

    Update Time : Wed Nov 30 13:51:19 2011
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 854421ba - correct
         Events : 6464


      Number   Major   Minor   RaidDevice State
this     1       8       18        1      active sync   /dev/sdb2

   0     0       8       34        0      active sync   /dev/sdc2
   1     1       8       18        1      active sync   /dev/sdb2
--
/dev/sdc is not recognised by mdadm.
/dev/sdc1 is not recognised by mdadm.
/dev/sdc2:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 9a7e66d3:8b1e1854:b42011fd:5f21452d
  Creation Time : Fri Feb 16 16:25:00 2007
     Raid Level : raid1
  Used Dev Size : 244198464 (232.89 GiB 250.06 GB)
     Array Size : 244198464 (232.89 GiB 250.06 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 127

    Update Time : Wed Nov 30 13:51:19 2011
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 854421c8 - correct
         Events : 6464


      Number   Major   Minor   RaidDevice State
this     0       8       34        0      active sync   /dev/sdc2

   0     0       8       34        0      active sync   /dev/sdc2
   1     1       8       18        1      active sync   /dev/sdb2
--

--- /proc/cmdline
root=UUID=b195f50b-6ac6-442a-877b-5ae1682e76af ro 

--- udev:
ii  udev           175-2          /dev/ and hotplug management daemon
29feaf8ce743cefe2615b2f2e18087ef  /lib/udev/rules.d/64-md-raid.rules

--- /dev:
brw-rw---T 1 root disk 9, 127 Nov 30 01:04 /dev/md127

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 Nov 30 01:03 ata-BI-MTDAL3-5040_0_Y_EJJYN29300 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 30 01:04 ata-BI-MTDAL3-5040_0_Y_EJJYN29300-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 30 01:04 ata-BI-MTDAL3-5040_0_Y_EJJYN29300-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 30 01:04 ata-BI-MTDAL3-5040_0_Y_EJJYN29300-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 30 01:04 ata-BI-MTDAL3-5040_0_Y_EJJYN29300-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Nov 30 01:04 ata-BI-MTDAL3-5040_0_Y_EJJYN29300-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 30 01:04 ata-BI-MTDAL3-5040_0_Y_EJJYN29300-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 Nov 30 01:03 ata-DH7T2225D5AL8T_0_DV40B14THE50KL -> ../../sdb
lrwxrwxrwx 1 root root 10 Nov 30 01:03 ata-DH7T2225D5AL8T_0_DV40B14THE50KL-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Nov 30 01:03 ata-DH7T2225D5AL8T_0_DV40B14THE50KL-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Nov 30 01:03 ata-DH7T2225D5AL8T_0_DV42B14TJE73C6 -> ../../sdc
lrwxrwxrwx 1 root root 10 Nov 30 01:03 ata-DH7T2225D5AL8T_0_DV42B14TJE73C6-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Nov 30 01:03 ata-DH7T2225D5AL8T_0_DV42B14TJE73C6-part2 -> ../../sdc2
lrwxrwxrwx 1 root root  9 Nov 30 01:03 ata-LHD--TTSR__WVD_DCG-C1402_B -> ../../sr0
lrwxrwxrwx 1 root root 11 Nov 30 01:04 md-uuid-d3667e9a:54181e8b:fd1120b4:2d45215f -> ../../md127
lrwxrwxrwx 1 root root  9 Nov 30 01:03 scsi-SATA_HDT722525DLAT80_VD041BT4EH05LK -> ../../sdb
lrwxrwxrwx 1 root root 10 Nov 30 01:03 scsi-SATA_HDT722525DLAT80_VD041BT4EH05LK-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Nov 30 01:03 scsi-SATA_HDT722525DLAT80_VD041BT4EH05LK-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Nov 30 01:03 scsi-SATA_HDT722525DLAT80_VD241BT4EJ376C -> ../../sdc
lrwxrwxrwx 1 root root 10 Nov 30 01:03 scsi-SATA_HDT722525DLAT80_VD241BT4EJ376C-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Nov 30 01:03 scsi-SATA_HDT722525DLAT80_VD241BT4EJ376C-part2 -> ../../sdc2
lrwxrwxrwx 1 root root  9 Nov 30 01:03 scsi-SATA_IBM-DTLA-305040_YJEYJ2N3900 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 30 01:04 scsi-SATA_IBM-DTLA-305040_YJEYJ2N3900-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 30 01:04 scsi-SATA_IBM-DTLA-305040_YJEYJ2N3900-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 30 01:04 scsi-SATA_IBM-DTLA-305040_YJEYJ2N3900-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 30 01:04 scsi-SATA_IBM-DTLA-305040_YJEYJ2N3900-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Nov 30 01:04 scsi-SATA_IBM-DTLA-305040_YJEYJ2N3900-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 30 01:04 scsi-SATA_IBM-DTLA-305040_YJEYJ2N3900-part6 -> ../../sda6

/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root 10 Nov 30 01:04 ROOT5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 30 01:04 ROOT6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Nov 30 01:04 bootstrap -> ../../sda2

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 Nov 30 01:03 pci-0001:10:13.0-scsi-0:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Nov 30 01:03 pci-0001:10:13.0-scsi-0:0:0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Nov 30 01:03 pci-0001:10:13.0-scsi-0:0:0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Nov 30 01:03 pci-0001:10:13.0-scsi-1:0:0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Nov 30 01:03 pci-0001:10:13.0-scsi-1:0:0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Nov 30 01:03 pci-0001:10:13.0-scsi-1:0:0:0-part2 -> ../../sdc2
lrwxrwxrwx 1 root root  9 Nov 30 01:03 pci-0001:10:17.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 30 01:04 pci-0001:10:17.0-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 30 01:04 pci-0001:10:17.0-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 30 01:04 pci-0001:10:17.0-scsi-0:0:0:0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 30 01:04 pci-0001:10:17.0-scsi-0:0:0:0-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Nov 30 01:04 pci-0001:10:17.0-scsi-0:0:0:0-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Nov 30 01:04 pci-0001:10:17.0-scsi-0:0:0:0-part6 -> ../../sda6

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Nov 30 01:04 1cedc0fd-7b5a-49f1-a004-efdb408a117d -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 30 01:04 7168a0d5-b47e-4de1-b274-69c367e414a6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Nov 30 01:04 b195f50b-6ac6-442a-877b-5ae1682e76af -> ../../sda4
lrwxrwxrwx 1 root root 10 Nov 30 01:04 c70d57f7-8525-4983-9120-a2303428da70 -> ../../sda5
lrwxrwxrwx 1 root root 11 Nov 30 01:04 fa18ea9a-bf45-42c6-9eb5-9d67aa80eeb9 -> ../../md127

/dev/md:
total 0

Auto-generated on Wed, 30 Nov 2011 13:54:56 -0500
by mdadm bugscript 3.2.2-1

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 3.1.0-1-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages mdadm depends on:
ii  debconf      1.5.41       
ii  initscripts  2.88dsf-13.12
ii  libc6        2.13-21      
ii  lsb-base     3.2-28       
ii  udev         175-2        

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.77-1+b1
ii  module-init-tools                          3.16-1   

mdadm suggests no packages.

-- Configuration Files:
/etc/cron.daily/mdadm changed:
set -eu
MDADM=/sbin/mdadm
[ -x $MDADM ] || exit 0 # package may be removed but not purged
exec $MDADM --monitor --scan --oneshot --no-sharing


-- debconf information:
  mdadm/initrdstart_msg_errexist:
  mdadm/initrdstart_msg_intro:
  mdadm/autostart: true
  mdadm/autocheck: true
  mdadm/initrdstart_msg_errblock:
  mdadm/mail_to: root
  mdadm/initrdstart_msg_errmd:
  mdadm/initrdstart: all
  mdadm/initrdstart_msg_errconf:
  mdadm/initrdstart_notinconf: false
  mdadm/start_daemon: true





More information about the pkg-mdadm-devel mailing list