Bug#744860: mdadm: growing fails when old raid partitions present on disk (solved)

Francesco Potortì Potorti at isti.cnr.it
Tue Apr 15 15:30:27 UTC 2014


Package: mdadm
Version: 3.3-2
Severity: normal

Dear Maintainer,

this is a description of a problem I encountered and how I solved it.  I
think mdadm should have detected the problem and not let it happen.

I had /home on md0 in raid1 with two partitions sda5 and sdb5, 100GB each.

I wanted to enlarge the raid, but the partitions could not be expanded,
however I had sda9 and sdb9 with 200GB each.  That's what I did on the
live system (from memory, sorry, no logs):

# mdadm /dev/md0 --add /dev/sd[ab]9
# mdadm --grow /dev/md0 --raid-devices=4

The array started reconstruction, it took couple of hours.  Then:

# mdadm /dev/md0 --fail /dev/sd[ab]5
# mdadm /dev/md0 --remove /dev/sd[ab]5 

Then I checked in /proc/mdstat and I saw everything looked alright.
Unfortunately I did not dump what I saw.  At this point I did:

# mdadm /dev/md0 --grow --size=max

mdadm hanged in uninterruptible sleep, and some processes hanged too,
while most of them kept working regularly.  Trying to cat /proc/mdstat
hanged too in uninterruptible sleep.  Same for shutdown.  I then killed
by hand all daemons and processes that let them being killed (most of
them) and hit the reset button.  At boot I had a failure on md0.
Investigation in single user mode showed that --examine --scan and
--detail --scan gave different results.  The latter was the same as
shown in /proc/mdstat and said that I had an inactive md0 with two
partitions sda5 and sdb5, both marked as spares.  On the other hand,
--examine showed TWO md0 arrays, the second of which had two partitions
sda9 and sdb9.  Unfortunately, I did not dump the output.

Anyway, I zeroed the superblocks of sda5 and sdb5, and after reboot
everything was alright, with md0 on sda9 and sdb9.  I then did

# mdadm /dev/md0 --grow --size=max

which worked without problems and triggered a reconstruction.

I think that mdadm should have detected the situation and stopped, while
emitting a warning and suggestions on what to do, rather than hanging.

-- 
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it



-- Package-specific info:
--- mdadm.conf
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md0 metadata=0.90 UUID=bcf2d090:8e2cb854:f5478e52:699d5718
ARRAY /dev/md1 metadata=0.90 UUID=be280dca:5a7ce8a3:6c559211:bd692a54
ARRAY /dev/md2 metadata=0.90 UUID=81410e46:c10c6835:3a5bc96f:db554bf5
ARRAY /dev/md3 metadata=1.2 name=tucano.isti.cnr.it:3 UUID=4baa4e6b:68c69979:3123a8df:80f7c2a2
ARRAY /dev/md/scrap metadata=1.2 name=tucano.isti.cnr.it:scrap UUID=df623988:c7e23a4d:85307fdb:d6bb882e

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

--- /proc/mdstat:
Personalities : [raid1] 
md3 : active raid1 sda1[0] sdb1[2]
      219122496 blocks super 1.2 [2/2] [UU]
      
md0 : active raid1 sdb9[0] sda9[1]
      204798912 blocks [2/2] [UU]
      
md2 : active (auto-read-only) raid1 sdb8[1] sda8[0]
      9767424 blocks [2/2] [UU]
      
md1 : active raid1 sda6[0] sdb6[1]
      29294400 blocks [2/2] [UU]
      
unused devices: <none>

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

   8       16  976762584 sdb
   8       17  219253760 sdb1
   8       18          1 sdb2
   8       19  353430000 sdb3
   8       21  104856223 sdb5
   8       22   29390886 sdb6
   8       23   37784848 sdb7
   8       24   10249438 sdb8
   8       25  204798976 sdb9
   8        0  976762584 sda
   8        1  219253760 sda1
   8        2          1 sda2
   8        3  353430000 sda3
   8        5  104856223 sda5
   8        6   29390886 sda6
   8        7   37784848 sda7
   8        8   10249438 sda8
   8        9  204798976 sda9
   8       32  244198584 sdc
   8       33  228837344 sdc1
   8       34   15360184 sdc2
  11        0    1048575 sr0
   9        1   29294400 md1
   9        2    9767424 md2
   9        0  204798912 md0
   9        3  219122496 md3

--- LVM physical volumes:
LVM does not seem to be used.
--- mount output
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=1498800,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1207416k,mode=755)
/dev/disk/by-label/Debian on / type ext3 (rw,relatime,errors=remount-ro,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
pstore on /sys/fs/pstore type pstore (rw,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=4368300k)
/dev/md0 on /home type ext3 (rw,relatime,errors=remount-ro,data=ordered)
/dev/md3 on /scratch type ext4 (rw,relatime,errors=remount-ro,data=ordered)
tmpfs on /tmp type tmpfs (rw,relatime,size=9437184k)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
gvfsd-fuse on /home/pot/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

--- initrd.img-3.12-1-amd64:
88860 blocks
da8315d47cb6bf8d731c02e50c4761d9  ./conf/mdadm
655d97ccbc158e234095a7c79b25f8a4  ./lib/modules/3.12-1-amd64/kernel/drivers/md/dm-crypt.ko
a4c95a6b91916f9ce68a7da4d0627e83  ./lib/modules/3.12-1-amd64/kernel/drivers/md/md-mod.ko
c3f2ba3fc6f9398f0de7c1e59783af47  ./lib/modules/3.12-1-amd64/kernel/drivers/md/multipath.ko
c7493d6c5c62b3c6cf12155e88992e46  ./lib/modules/3.12-1-amd64/kernel/drivers/md/raid456.ko
327c413b20346760d5d2af3403e7d0cb  ./lib/modules/3.12-1-amd64/kernel/drivers/md/raid0.ko
2aa03f5aa355ed5c897bf9b0b4d74140  ./lib/modules/3.12-1-amd64/kernel/drivers/md/raid1.ko
97793c1712e29aa55a8b978afb8b97f4  ./lib/modules/3.12-1-amd64/kernel/drivers/md/linear.ko
920af6589a47ea54188d5131b815f36a  ./lib/modules/3.12-1-amd64/kernel/drivers/md/dm-region-hash.ko
ece7bf2383e5dbb28e4915bc197e68d6  ./lib/modules/3.12-1-amd64/kernel/drivers/md/dm-log.ko
e3d47c9f6e7df8a3e2db3542dece17f8  ./lib/modules/3.12-1-amd64/kernel/drivers/md/dm-mirror.ko
598b3f553676e4b3bb546738383dc9bd  ./lib/modules/3.12-1-amd64/kernel/drivers/md/dm-mod.ko
becf5ef9a74967434e2da59ecb1cb38c  ./lib/modules/3.12-1-amd64/kernel/drivers/md/raid10.ko
18e4e8f135699c0d908f0dec8e314f63  ./sbin/mdadm
82cb072fb935cfb02e94dbaf556de7c5  ./scripts/local-top/mdadm
8b091d95987f20db3ce1300385e0906c  ./etc/mdadm/mdadm.conf

--- initrd's /conf/conf.d/md:
no conf/md file.

--- /proc/modules:
dm_crypt 22291 0 - Live 0xffffffffa066e000
raid1 34672 4 - Live 0xffffffffa01c5000
md_mod 103700 5 raid1, Live 0xffffffffa01a0000
dm_mirror 21657 0 - Live 0xffffffffa0195000
dm_region_hash 13299 1 dm_mirror, Live 0xffffffffa012d000
dm_log 17539 2 dm_mirror,dm_region_hash, Live 0xffffffffa00f0000
dm_mod 80984 3 dm_crypt,dm_mirror,dm_log, Live 0xffffffffa0180000

--- /var/log/syslog:

--- volume detail:
/dev/sda:
   MBR Magic : aa55
Partition[0] :    438507520 sectors at         2048 (type 83)
Partition[1] :    774165856 sectors at    438510240 (type 05)
Partition[2] :    706860000 sectors at   1220940000 (type 83)
--
/dev/sda1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 4baa4e6b:68c69979:3123a8df:80f7c2a2
           Name : tucano.isti.cnr.it:3  (local to host tucano.isti.cnr.it)
  Creation Time : Fri Mar 15 17:20:36 2013
     Raid Level : raid1
   Raid Devices : 2

 Avail Dev Size : 438245376 (208.97 GiB 224.38 GB)
     Array Size : 219122496 (208.97 GiB 224.38 GB)
  Used Dev Size : 438244992 (208.97 GiB 224.38 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262064 sectors, after=384 sectors
          State : clean
    Device UUID : 2f00270a:c652c899:e3e3ba11:a186b087

    Update Time : Tue Apr 15 17:09:09 2014
       Checksum : 81159e46 - correct
         Events : 198028


   Device Role : Active device 0
   Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sda2:
   MBR Magic : aa55
Partition[0] :    209712447 sectors at           63 (type fd)
Partition[1] :     58781835 sectors at    209712510 (type 05)
--
/dev/sda3 is not recognised by mdadm.
/dev/sda5 is not recognised by mdadm.
/dev/sda6:
          Magic : a92b4efc
        Version : 0.90.03
           UUID : be280dca:5a7ce8a3:6c559211:bd692a54
  Creation Time : Fri May  5 16:37:53 2006
     Raid Level : raid1
  Used Dev Size : 29294400 (27.94 GiB 30.00 GB)
     Array Size : 29294400 (27.94 GiB 30.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1

    Update Time : Tue Apr 15 17:10:30 2014
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 8661885a - correct
         Events : 11889590


      Number   Major   Minor   RaidDevice State
this     0       8        6        0      active sync   /dev/sda6

   0     0       8        6        0      active sync   /dev/sda6
   1     1       8       22        1      active sync   /dev/sdb6
--
/dev/sda7 is not recognised by mdadm.
/dev/sda8:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 81410e46:c10c6835:3a5bc96f:db554bf5 (local to host tucano.isti.cnr.it)
  Creation Time : Mon Dec  4 15:38:58 2006
     Raid Level : raid1
  Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
     Array Size : 9767424 (9.31 GiB 10.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 2

    Update Time : Tue Apr 15 07:44:31 2014
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 9a8b0f55 - correct
         Events : 366526


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

   0     0       8        8        0      active sync   /dev/sda8
   1     1       8       24        1      active sync   /dev/sdb8
--
/dev/sda9:
          Magic : a92b4efc
        Version : 0.90.03
           UUID : bcf2d090:8e2cb854:f5478e52:699d5718
  Creation Time : Fri May  5 16:37:42 2006
     Raid Level : raid1
  Used Dev Size : 204798912 (195.31 GiB 209.71 GB)
     Array Size : 204798912 (195.31 GiB 209.71 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0

    Update Time : Tue Apr 15 17:10:28 2014
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : f7eb8f79 - correct
         Events : 7279433


      Number   Major   Minor   RaidDevice State
this     1       8        9        1      active sync   /dev/sda9

   0     0       8       25        0      active sync   /dev/sdb9
   1     1       8        9        1      active sync   /dev/sda9
--
/dev/sdb:
   MBR Magic : aa55
Partition[0] :    438507520 sectors at         2048 (type 83)
Partition[1] :    774165856 sectors at    438510240 (type 05)
Partition[2] :    706860000 sectors at   1220940000 (type 83)
--
/dev/sdb1:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 4baa4e6b:68c69979:3123a8df:80f7c2a2
           Name : tucano.isti.cnr.it:3  (local to host tucano.isti.cnr.it)
  Creation Time : Fri Mar 15 17:20:36 2013
     Raid Level : raid1
   Raid Devices : 2

 Avail Dev Size : 438245376 (208.97 GiB 224.38 GB)
     Array Size : 219122496 (208.97 GiB 224.38 GB)
  Used Dev Size : 438244992 (208.97 GiB 224.38 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262064 sectors, after=384 sectors
          State : clean
    Device UUID : f2692666:556cebca:f89ba30c:e169f193

    Update Time : Tue Apr 15 17:09:09 2014
       Checksum : 1561bcf0 - correct
         Events : 198028


   Device Role : Active device 1
   Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
--
/dev/sdb2:
   MBR Magic : aa55
Partition[0] :    209712447 sectors at           63 (type fd)
Partition[1] :     58781835 sectors at    209712510 (type 05)
--
/dev/sdb3 is not recognised by mdadm.
/dev/sdb5 is not recognised by mdadm.
/dev/sdb6:
          Magic : a92b4efc
        Version : 0.90.03
           UUID : be280dca:5a7ce8a3:6c559211:bd692a54
  Creation Time : Fri May  5 16:37:53 2006
     Raid Level : raid1
  Used Dev Size : 29294400 (27.94 GiB 30.00 GB)
     Array Size : 29294400 (27.94 GiB 30.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1

    Update Time : Tue Apr 15 17:10:30 2014
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 8661886c - correct
         Events : 11889590


      Number   Major   Minor   RaidDevice State
this     1       8       22        1      active sync   /dev/sdb6

   0     0       8        6        0      active sync   /dev/sda6
   1     1       8       22        1      active sync   /dev/sdb6
--
/dev/sdb7 is not recognised by mdadm.
/dev/sdb8:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 81410e46:c10c6835:3a5bc96f:db554bf5 (local to host tucano.isti.cnr.it)
  Creation Time : Mon Dec  4 15:38:58 2006
     Raid Level : raid1
  Used Dev Size : 9767424 (9.31 GiB 10.00 GB)
     Array Size : 9767424 (9.31 GiB 10.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 2

    Update Time : Tue Apr 15 07:44:31 2014
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 9a8b0f67 - correct
         Events : 366526


      Number   Major   Minor   RaidDevice State
this     1       8       24        1      active sync   /dev/sdb8

   0     0       8        8        0      active sync   /dev/sda8
   1     1       8       24        1      active sync   /dev/sdb8
--
/dev/sdb9:
          Magic : a92b4efc
        Version : 0.90.03
           UUID : bcf2d090:8e2cb854:f5478e52:699d5718
  Creation Time : Fri May  5 16:37:42 2006
     Raid Level : raid1
  Used Dev Size : 204798912 (195.31 GiB 209.71 GB)
     Array Size : 204798912 (195.31 GiB 209.71 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0

    Update Time : Tue Apr 15 17:10:28 2014
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : f7eb8f87 - correct
         Events : 7279433


      Number   Major   Minor   RaidDevice State
this     0       8       25        0      active sync   /dev/sdb9

   0     0       8       25        0      active sync   /dev/sdb9
   1     1       8        9        1      active sync   /dev/sda9
--
/dev/sdc:
   MBR Magic : aa55
Partition[0] :    457674689 sectors at           63 (type 83)
Partition[1] :     30720368 sectors at    457676800 (type 83)
--
/dev/sdc1 is not recognised by mdadm.
/dev/sdc2 is not recognised by mdadm.
/dev/sdd is not recognised by mdadm.
/dev/sde is not recognised by mdadm.

--- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.12-1-amd64 root=LABEL=Debian ro rootdelay=9 gfxpayload=1024x768x8,1024x768

--- grub2:
set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
    set root=
	linux	/boot/vmlinuz-3.12-1-amd64 root=LABEL=Debian ro rootdelay=9 gfxpayload=1024x768x8,1024x768
    set root=
    set root=
	insmod raid
	set root=(md3)
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=/dev/md3 ro vga=0x305
	insmod raid
	set root=(hd2,2)
	linux	/boot/vmlinuz-2.6.32-5-amd64 root=LABEL=haroot ro vga=0x305
    set root=
    set root=
	set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
	linux	/boot/vmlinuz-3.13-1-amd64 root=UUID=4ee42fef-c2d5-406d-8aec-6832a5eb2e93 ro  gfxpayload=1024x768x8,1024x768
		set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
		linux	/boot/vmlinuz-3.13-1-amd64 root=UUID=4ee42fef-c2d5-406d-8aec-6832a5eb2e93 ro  gfxpayload=1024x768x8,1024x768
		set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
		linux	/boot/vmlinuz-3.13-1-amd64 root=UUID=4ee42fef-c2d5-406d-8aec-6832a5eb2e93 ro single 
		set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
		linux	/boot/vmlinuz-3.12-1-amd64 root=UUID=4ee42fef-c2d5-406d-8aec-6832a5eb2e93 ro  gfxpayload=1024x768x8,1024x768
		set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
		linux	/boot/vmlinuz-3.12-1-amd64 root=UUID=4ee42fef-c2d5-406d-8aec-6832a5eb2e93 ro single 
		set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
		linux	/boot/vmlinuz-3.2.0-4-amd64 root=UUID=4ee42fef-c2d5-406d-8aec-6832a5eb2e93 ro  gfxpayload=1024x768x8,1024x768
		set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
		linux	/boot/vmlinuz-3.2.0-4-amd64 root=UUID=4ee42fef-c2d5-406d-8aec-6832a5eb2e93 ro single 
		set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
		linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=4ee42fef-c2d5-406d-8aec-6832a5eb2e93 ro  gfxpayload=1024x768x8,1024x768
		set root='mduuid/be280dca5a7ce8a36c559211bd692a54'
		linux	/boot/vmlinuz-2.6.32-5-amd64 root=UUID=4ee42fef-c2d5-406d-8aec-6832a5eb2e93 ro single 
	set root='mduuid/be280dca5a7ce8a36c559211bd692a54'

--- grub legacy:
kernel		/boot/vmlinuz-2.6.30-2-amd64 root=/dev/md1 ro vga=0x305
kernel		/boot/vmlinuz-2.6.30-2-amd64 root=/dev/md1 ro vga=0x305
kernel		/boot/vmlinuz-2.6.30-2-amd64 root=/dev/md1 ro vga=0x305
kernel		/boot/vmlinuz-2.6.30-2-amd64 root=/dev/md1 ro vga=0x305 
kernel		/boot/vmlinuz-2.6.26-2-amd64 root=/dev/md1 ro vga=0x305 

--- udev:
ii  udev           204-8        amd64        /dev/ and hotplug management daem
31f02091e9d9fc06396df81f4f9e7668  /lib/udev/rules.d/63-md-raid-arrays.rules
ec25c304457feb2f2951160ba551fb6f  /lib/udev/rules.d/64-md-raid-assembly.rules

--- /dev:
brw-rw---- 1 root disk 9, 0 Apr 15 15:33 /dev/md0
brw-rw---- 1 root disk 9, 1 Apr 15 15:33 /dev/md1
brw-rw---- 1 root disk 9, 2 Apr 15 15:33 /dev/md2
brw-rw---- 1 root disk 9, 3 Apr 15 15:33 /dev/md3

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 Apr 15 15:33 ata-HDS722525VLAT80_VN69TECFF04A6A -> ../../sdc
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-HDS722525VLAT80_VN69TECFF04A6A-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-HDS722525VLAT80_VN69TECFF04A6A-part2 -> ../../sdc2
lrwxrwxrwx 1 root root  9 Apr 15 15:33 ata-PLEXTOR_DVDR_PX-716AL_127960 -> ../../sr0
lrwxrwxrwx 1 root root  9 Apr 15 15:33 ata-ST31000528AS_9VP10EMS -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP10EMS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP10EMS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP10EMS-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP10EMS-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP10EMS-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP10EMS-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP10EMS-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP10EMS-part9 -> ../../sda9
lrwxrwxrwx 1 root root  9 Apr 15 15:33 ata-ST31000528AS_9VP110NJ -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP110NJ-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP110NJ-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP110NJ-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP110NJ-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP110NJ-part6 -> ../../sdb6
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP110NJ-part7 -> ../../sdb7
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP110NJ-part8 -> ../../sdb8
lrwxrwxrwx 1 root root 10 Apr 15 15:33 ata-ST31000528AS_9VP110NJ-part9 -> ../../sdb9
lrwxrwxrwx 1 root root  9 Apr 15 15:33 md-name-tucano.isti.cnr.it:3 -> ../../md3
lrwxrwxrwx 1 root root  9 Apr 15 15:33 md-uuid-4baa4e6b:68c69979:3123a8df:80f7c2a2 -> ../../md3
lrwxrwxrwx 1 root root  9 Apr 15 15:33 md-uuid-81410e46:c10c6835:3a5bc96f:db554bf5 -> ../../md2
lrwxrwxrwx 1 root root  9 Apr 15 15:33 md-uuid-bcf2d090:8e2cb854:f5478e52:699d5718 -> ../../md0
lrwxrwxrwx 1 root root  9 Apr 15 15:33 md-uuid-be280dca:5a7ce8a3:6c559211:bd692a54 -> ../../md1
lrwxrwxrwx 1 root root  9 Apr 15 15:33 scsi-SATA_HDS722525VLAT80_VN69TECFF04A6A -> ../../sdc
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_HDS722525VLAT80_VN69TECFF04A6A-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_HDS722525VLAT80_VN69TECFF04A6A-part2 -> ../../sdc2
lrwxrwxrwx 1 root root  9 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP10EMS -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP10EMS-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP10EMS-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP10EMS-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP10EMS-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP10EMS-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP10EMS-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP10EMS-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP10EMS-part9 -> ../../sda9
lrwxrwxrwx 1 root root  9 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP110NJ -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP110NJ-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP110NJ-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP110NJ-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP110NJ-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP110NJ-part6 -> ../../sdb6
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP110NJ-part7 -> ../../sdb7
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP110NJ-part8 -> ../../sdb8
lrwxrwxrwx 1 root root 10 Apr 15 15:33 scsi-SATA_ST31000528AS_9VP110NJ-part9 -> ../../sdb9
lrwxrwxrwx 1 root root  9 Apr 15 15:33 usb-USB2.0_CBO_CardReader_1234609-0:1 -> ../../sde
lrwxrwxrwx 1 root root  9 Apr 15 15:33 usb-USB2.0_CF_CardReader_1234609-0:0 -> ../../sdd
lrwxrwxrwx 1 root root  9 Apr 15 15:33 wwn-0x5000c50015448c73 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015448c73-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015448c73-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015448c73-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015448c73-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015448c73-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015448c73-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015448c73-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015448c73-part9 -> ../../sda9
lrwxrwxrwx 1 root root  9 Apr 15 15:33 wwn-0x5000c50015493eb3 -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015493eb3-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015493eb3-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015493eb3-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015493eb3-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015493eb3-part6 -> ../../sdb6
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015493eb3-part7 -> ../../sdb7
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015493eb3-part8 -> ../../sdb8
lrwxrwxrwx 1 root root 10 Apr 15 15:33 wwn-0x5000c50015493eb3-part9 -> ../../sdb9

/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root 10 Apr 15 15:33 backup -> ../../sdc1
lrwxrwxrwx 1 root root  9 Apr 15 15:33 Debian -> ../../md1
lrwxrwxrwx 1 root root 10 Apr 15 15:33 haroot -> ../../sdc2
lrwxrwxrwx 1 root root  9 Apr 15 15:33 home -> ../../md0
lrwxrwxrwx 1 root root  9 Apr 15 15:33 scratch -> ../../md3
lrwxrwxrwx 1 root root  9 Apr 15 15:33 swap -> ../../md2

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 9 Apr 15 15:33 pci-0000:00:13.2-usb-0:1:1.0-scsi-0:0:0:0 -> ../../sdd
lrwxrwxrwx 1 root root 9 Apr 15 15:33 pci-0000:00:13.2-usb-0:1:1.0-scsi-0:0:0:1 -> ../../sde

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 Apr 15 15:33 19e7c0bc-ab46-451c-9eac-f924e99563f4 -> ../../sdc2
lrwxrwxrwx 1 root root  9 Apr 15 15:33 4ee42fef-c2d5-406d-8aec-6832a5eb2e93 -> ../../md1
lrwxrwxrwx 1 root root  9 Apr 15 15:33 64be20c5-8d92-4978-bba7-82e893a3f7fd -> ../../md3
lrwxrwxrwx 1 root root 10 Apr 15 15:33 87d99b4f-6773-445a-8775-4d88041d40c1 -> ../../sdc1
lrwxrwxrwx 1 root root  9 Apr 15 15:33 b4a70b2d-d374-400b-8b86-ff5d2d5abbdf -> ../../md0
lrwxrwxrwx 1 root root 10 Apr 15 15:33 b7d77579-5097-4d4f-b82a-e843c2d49778 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Apr 15 15:33 cbc904fd-68b5-4d1f-9b36-37be28dbce1d -> ../../sda3
lrwxrwxrwx 1 root root  9 Apr 15 15:33 db913221-119e-4a0a-b0bd-daae748b1fa8 -> ../../md2

/dev/md:
total 0

Auto-generated on Tue, 15 Apr 2014 17:10:32 +0200
by mdadm bugscript 3.3-2

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (101, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mdadm depends on:
ii  debconf      1.5.52
ii  initscripts  2.88dsf-51
ii  libc6        2.18-4
ii  lsb-base     4.1+Debian12
ii  makedev      2.3.1-93
ii  udev         204-8

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.82-7
ii  module-init-tools                          16-2

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 --no-sharing --monitor --scan --oneshot

/etc/logcheck/ignore.d.server/mdadm [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.server/mdadm'
/etc/logcheck/violations.d/mdadm [Errno 13] Permission denied: u'/etc/logcheck/violations.d/mdadm'

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



More information about the pkg-mdadm-devel mailing list