Bug#679719: mdadm monthly cron job should NOT check all arays at the same time

Rudy Zijlstra rudy at grumpydevil.homelinux.org
Sat Jun 30 23:46:30 UTC 2012


Package: mdadm
Version: 3.1.4-1+8efb9d1+squeeze1
Severity: normal


I  have deleted -- after finding through pain it existed -- the monthly mdadm cron job in cron.d. 

the problem is that this cron job will cause ALL raid's to be checked at the same time, causing a potentially very high I/O load. In my particular case with 2 RAID 6 and 2 RAID 5 it causes an I/O load that will overload the link between the CPU and the expansion cabinet. This WILL result in a number of disks being kicked from arrays, as they cannot answer in time. As it is not predictable which disks will be kicked, this can cause data loss resulting in the need to recover from backup.

I have written a script in cron.daily what will cause each raid to be checked weekly, and never more then 1 at the same time. 

I am aware that in a profesional environment this problem should not occur. For home/small business users though a setup like mine is well usable. BUT care must be taken that the I/O rate remains within limites. And checking all raid at the same time can cause very significant 

The currently running recovery on the 2 raid 6 is causing an io load of about 1500 - 1600 tps. 

I have not checked what the limit is. Doing a "check" on all 4 raid is clearly over the limit though. 

-- Package-specific info:
--- mdadm.conf
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR rudy at romunt.nl
ARRAY /dev/md/0 metadata=1.2 UUID=0482022f:ea8b960d:d4f06e8c:cd86f783 name=mythfiler2:0
ARRAY /dev/md/1 metadata=1.2 UUID=08e1195f:ccecb5ca:f4ad5439:f950bc53 name=mythfiler2:1
ARRAY /dev/md/2 metadata=1.2 UUID=1f5e84d1:bb0477a4:96a852a0:29ec7e81 name=mythfiler2:2
ARRAY /dev/md4 metadata=1.2 name=mythfiler:4 UUID=045c7d02:f0d86b64:74bb6a9a:45589b23

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

--- /proc/mdstat:
Personalities : [raid6] [raid5] [raid4] 
md4 : active raid5 sda[0] sdf[4] sde[2] sdb[1]
      4395405312 blocks super 1.2 level 5, 4096k chunk, algorithm 2 [4/4] [UUUU]
      
md2 : active raid5 sdi[0] sdn[4] sdm[2] sdj[1]
      4395405312 blocks super 1.2 level 5, 4096k chunk, algorithm 2 [4/4] [UUUU]
      
md1 : active raid6 sdv[7](S) sdu[6] sdc[0] sdq[5] sds[4] sdk[1](F) sdo[2] sdg[3](F)
      7814037504 blocks super 1.2 level 6, 4096k chunk, algorithm 2 [6/4] [U_U_UU]
      [>....................]  recovery =  0.3% (6986240/1953509376) finish=5639.4min speed=5752K/sec
      
md0 : active raid6 sdw[7] sdd[6](F) sdt[5] sdr[4] sdp[3] sdl[2] sdh[1]
      7814037504 blocks super 1.2 level 6, 4096k chunk, algorithm 2 [6/5] [_UUUUU]
      [>....................]  recovery =  0.4% (8924416/1953509376) finish=3129.2min speed=10356K/sec
      
unused devices: <none>

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

 104        0  143367120 cciss/c0d0
 104        1     487424 cciss/c0d0p1
 104        2    5859328 cciss/c0d0p2
 104        3    5859328 cciss/c0d0p3
 104        4          1 cciss/c0d0p4
 104        5    5858304 cciss/c0d0p5
 104        6    3905536 cciss/c0d0p6
 104        7   14647296 cciss/c0d0p7
 104        8  106743808 cciss/c0d0p8
   8        0 1465138584 sda
   8       16 1465138584 sdb
   8       32 1953514584 sdc
   8       64 1465138584 sde
   8       80 1465138584 sdf
   8      112 1953514584 sdh
   8      128 1465138584 sdi
   8      144 1465138584 sdj
   8      176 1953514584 sdl
   8      192 1465138584 sdm
   8      208 1465138584 sdn
   8      224 1953514584 sdo
   8      240 1953514584 sdp
  65        0 1953514584 sdq
  65       16 1953514584 sdr
  65       32 1953514584 sds
  65       48 1953514584 sdt
   9        0 7814037504 md0
   9        1 7814037504 md1
   9        2 4395405312 md2
   9        4 4395405312 md4
  65       64 1953514584 sdu
  65       80 1953514584 sdv
  65       96 1953514584 sdw

--- LVM physical volumes:
LVM does not seem to be used.
--- mount output
/dev/cciss/c0d0p2 on / type xfs (rw)
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)
/dev/cciss/c0d0p1 on /boot type xfs (rw)
/dev/cciss/c0d0p7 on /data/sql type xfs (rw)
/dev/cciss/c0d0p8 on /home type xfs (rw)
/dev/cciss/c0d0p6 on /tmp type xfs (rw)
/dev/cciss/c0d0p5 on /var type xfs (rw)
/dev/md0 on /data/mythstorage0 type xfs (rw)
/dev/md1 on /data/mythstorage1 type xfs (rw)
/dev/md2 on /data/huishouden type xfs (rw)
/dev/md4 on /data/mythstorage2 type xfs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

--- initrd.img-2.6.38.6:
14563 blocks
2c62ad86f2b72f3d0118fa01e9dc9c8f  ./etc/mdadm/mdadm.conf
cb1cf979d6024e34c525db1cb6069ddd  ./lib/modules/2.6.38.6/kernel/drivers/md/linear.ko
5633129c64516bf1cecd2d8e0ffa75d1  ./lib/modules/2.6.38.6/kernel/drivers/md/raid0.ko
f9228e61e1eeb11e440ac9613c527baf  ./lib/modules/2.6.38.6/kernel/drivers/md/raid1.ko
86b681a2597591da6bae0ebe992866c3  ./lib/modules/2.6.38.6/kernel/drivers/md/raid10.ko
e2306efc7e3503d2fcb5cdccee7f2246  ./lib/modules/2.6.38.6/kernel/drivers/md/dm-mod.ko
3bb9b360390f261c11e3e2b9f1880dc8  ./sbin/mdadm
f4fbd9099399ab08ba9b9f6c71d77595  ./scripts/local-top/mdadm

--- initrd's /conf/conf.d/md:
MD_HOMEHOST='mythfiler'
MD_DEVS=none
MD_MODULES=''

--- /proc/modules:

--- /var/log/syslog:

--- volume detail:
/dev/sda:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 045c7d02:f0d86b64:74bb6a9a:45589b23
           Name : mythfiler:4  (local to host mythfiler)
  Creation Time : Fri Jun 22 13:07:38 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 2930275120 (1397.26 GiB 1500.30 GB)
     Array Size : 8790810624 (4191.79 GiB 4500.90 GB)
  Used Dev Size : 2930270208 (1397.26 GiB 1500.30 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 7728ae16:8a482670:7c6fbd3f:775c253a

    Update Time : Sun Jul  1 01:15:02 2012
       Checksum : 994bc890 - correct
         Events : 43

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 0
   Array State : AAAA ('A' == active, '.' == missing)
--
/dev/sdb:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 045c7d02:f0d86b64:74bb6a9a:45589b23
           Name : mythfiler:4  (local to host mythfiler)
  Creation Time : Fri Jun 22 13:07:38 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 2930275120 (1397.26 GiB 1500.30 GB)
     Array Size : 8790810624 (4191.79 GiB 4500.90 GB)
  Used Dev Size : 2930270208 (1397.26 GiB 1500.30 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : b308e490:faea3087:0d5cdde1:a27f5b28

    Update Time : Sun Jul  1 01:15:02 2012
       Checksum : bae25afa - correct
         Events : 43

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 1
   Array State : AAAA ('A' == active, '.' == missing)
--
/dev/sdc:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 08e1195f:ccecb5ca:f4ad5439:f950bc53
           Name : mythfiler2:1
  Creation Time : Wed May 16 01:51:08 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 8f7037e5:10045b3a:525256bc:7dc79ab2

    Update Time : Sun Jul  1 01:34:40 2012
       Checksum : 5e5367ec - correct
         Events : 75235

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 0
   Array State : AAA.AA ('A' == active, '.' == missing)
--
/dev/sde:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 045c7d02:f0d86b64:74bb6a9a:45589b23
           Name : mythfiler:4  (local to host mythfiler)
  Creation Time : Fri Jun 22 13:07:38 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 2930275120 (1397.26 GiB 1500.30 GB)
     Array Size : 8790810624 (4191.79 GiB 4500.90 GB)
  Used Dev Size : 2930270208 (1397.26 GiB 1500.30 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : be25952b:477a53b3:9186a361:5fdc5cd6

    Update Time : Sun Jul  1 01:15:02 2012
       Checksum : af7d8e94 - correct
         Events : 43

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 2
   Array State : AAAA ('A' == active, '.' == missing)
--
/dev/sdf:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 045c7d02:f0d86b64:74bb6a9a:45589b23
           Name : mythfiler:4  (local to host mythfiler)
  Creation Time : Fri Jun 22 13:07:38 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 2930275120 (1397.26 GiB 1500.30 GB)
     Array Size : 8790810624 (4191.79 GiB 4500.90 GB)
  Used Dev Size : 2930270208 (1397.26 GiB 1500.30 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : af308b8b:d8431973:971a6c92:d8faba07

    Update Time : Sun Jul  1 01:15:02 2012
       Checksum : 31601597 - correct
         Events : 43

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 3
   Array State : AAAA ('A' == active, '.' == missing)
--
/dev/sdh:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 0482022f:ea8b960d:d4f06e8c:cd86f783
           Name : mythfiler2:0
  Creation Time : Sat May 12 13:49:53 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : active
    Device UUID : 12fb9dce:1a2dbf5d:97632760:51fe17a9

    Update Time : Sun Jul  1 01:34:40 2012
       Checksum : 9a90caa4 - correct
         Events : 29114

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 1
   Array State : AAAAAA ('A' == active, '.' == missing)
--
/dev/sdi:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 1f5e84d1:bb0477a4:96a852a0:29ec7e81
           Name : mythfiler2:2
  Creation Time : Fri May 18 12:48:39 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 2930275120 (1397.26 GiB 1500.30 GB)
     Array Size : 8790810624 (4191.79 GiB 4500.90 GB)
  Used Dev Size : 2930270208 (1397.26 GiB 1500.30 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 1d51137f:c4cc8834:06089103:8be8828e

    Update Time : Sun Jul  1 01:15:14 2012
       Checksum : 82fa1828 - correct
         Events : 62

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 0
   Array State : AAAA ('A' == active, '.' == missing)
--
/dev/sdj:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 1f5e84d1:bb0477a4:96a852a0:29ec7e81
           Name : mythfiler2:2
  Creation Time : Fri May 18 12:48:39 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 2930275120 (1397.26 GiB 1500.30 GB)
     Array Size : 8790810624 (4191.79 GiB 4500.90 GB)
  Used Dev Size : 2930270208 (1397.26 GiB 1500.30 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 9bdb49a8:75f252a7:f43df729:7733165e

    Update Time : Sun Jul  1 01:15:14 2012
       Checksum : 14f44933 - correct
         Events : 62

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 1
   Array State : AAAA ('A' == active, '.' == missing)
--
/dev/sdl:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 0482022f:ea8b960d:d4f06e8c:cd86f783
           Name : mythfiler2:0
  Creation Time : Sat May 12 13:49:53 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : active
    Device UUID : a52d7ddc:45406c75:468fcf6c:4ebba2fd

    Update Time : Sun Jul  1 01:34:40 2012
       Checksum : 214ff910 - correct
         Events : 29114

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 2
   Array State : AAAAAA ('A' == active, '.' == missing)
--
/dev/sdm:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 1f5e84d1:bb0477a4:96a852a0:29ec7e81
           Name : mythfiler2:2
  Creation Time : Fri May 18 12:48:39 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 2930275120 (1397.26 GiB 1500.30 GB)
     Array Size : 8790810624 (4191.79 GiB 4500.90 GB)
  Used Dev Size : 2930270208 (1397.26 GiB 1500.30 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : a9036362:3c710b47:8e3b8933:01764c0c

    Update Time : Sun Jul  1 01:15:14 2012
       Checksum : 268e302c - correct
         Events : 62

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 2
   Array State : AAAA ('A' == active, '.' == missing)
--
/dev/sdn:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 1f5e84d1:bb0477a4:96a852a0:29ec7e81
           Name : mythfiler2:2
  Creation Time : Fri May 18 12:48:39 2012
     Raid Level : raid5
   Raid Devices : 4

 Avail Dev Size : 2930275120 (1397.26 GiB 1500.30 GB)
     Array Size : 8790810624 (4191.79 GiB 4500.90 GB)
  Used Dev Size : 2930270208 (1397.26 GiB 1500.30 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : f7c15c1a:fa18fab0:9e8c92a4:96c184bc

    Update Time : Sun Jul  1 01:15:14 2012
       Checksum : 69b832e0 - correct
         Events : 62

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 3
   Array State : AAAA ('A' == active, '.' == missing)
--
/dev/sdo:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 08e1195f:ccecb5ca:f4ad5439:f950bc53
           Name : mythfiler2:1
  Creation Time : Wed May 16 01:51:08 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 22b79df2:ddced65b:873eac4e:91ce4018

    Update Time : Sun Jul  1 01:34:40 2012
       Checksum : 85316c96 - correct
         Events : 75235

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 2
   Array State : AAA.AA ('A' == active, '.' == missing)
--
/dev/sdp:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 0482022f:ea8b960d:d4f06e8c:cd86f783
           Name : mythfiler2:0
  Creation Time : Sat May 12 13:49:53 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 61987e27:b2c4fa45:732431d2:26b31202

    Update Time : Sun Jul  1 01:34:41 2012
       Checksum : a6b1753f - correct
         Events : 29115

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 3
   Array State : AAAAAA ('A' == active, '.' == missing)
--
/dev/sdq:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 08e1195f:ccecb5ca:f4ad5439:f950bc53
           Name : mythfiler2:1
  Creation Time : Wed May 16 01:51:08 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 79d66c85:b0a8d89e:84ca377a:d44cb66d

    Update Time : Sun Jul  1 01:34:40 2012
       Checksum : dc037003 - correct
         Events : 75235

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 5
   Array State : AAA.AA ('A' == active, '.' == missing)
--
/dev/sdr:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 0482022f:ea8b960d:d4f06e8c:cd86f783
           Name : mythfiler2:0
  Creation Time : Sat May 12 13:49:53 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 9eca3e96:4f84f98e:40bba5e1:ca1ae98a

    Update Time : Sun Jul  1 01:34:41 2012
       Checksum : f6bb658c - correct
         Events : 29115

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 4
   Array State : AAAAAA ('A' == active, '.' == missing)
--
/dev/sds:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 08e1195f:ccecb5ca:f4ad5439:f950bc53
           Name : mythfiler2:1
  Creation Time : Wed May 16 01:51:08 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 21c81405:3ff559c4:bbc26688:8766ced9

    Update Time : Sun Jul  1 01:34:40 2012
       Checksum : fb73c023 - correct
         Events : 75235

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 4
   Array State : AAA.AA ('A' == active, '.' == missing)
--
/dev/sdt:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 0482022f:ea8b960d:d4f06e8c:cd86f783
           Name : mythfiler2:0
  Creation Time : Sat May 12 13:49:53 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 42da4609:f119d7a3:d9580b1a:f9c34d36

    Update Time : Sun Jul  1 01:34:41 2012
       Checksum : 626b519a - correct
         Events : 29115

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 5
   Array State : AAAAAA ('A' == active, '.' == missing)
--
/dev/sdu:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x2
     Array UUID : 08e1195f:ccecb5ca:f4ad5439:f950bc53
           Name : mythfiler2:1
  Creation Time : Wed May 16 01:51:08 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
Recovery Offset : 0 sectors
          State : clean
    Device UUID : e1ad56f3:0caf4711:0d277956:3e0b1ba9

    Update Time : Sun Jul  1 01:34:40 2012
       Checksum : d40268bd - correct
         Events : 75235

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : Active device 1
   Array State : AAA.AA ('A' == active, '.' == missing)
--
/dev/sdv:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 08e1195f:ccecb5ca:f4ad5439:f950bc53
           Name : mythfiler2:1
  Creation Time : Wed May 16 01:51:08 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 9ad3a708:e6a37d8e:04bea94c:51f1d3aa

    Update Time : Sun Jul  1 01:34:40 2012
       Checksum : 5e730059 - correct
         Events : 75235

         Layout : left-symmetric
     Chunk Size : 4096K

   Device Role : spare
   Array State : AAA.AA ('A' == active, '.' == missing)
--
/dev/sdw:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x2
     Array UUID : 0482022f:ea8b960d:d4f06e8c:cd86f783
           Name : mythfiler2:0
  Creation Time : Sat May 12 13:49:53 2012
     Raid Level : raid6
   Raid Devices : 6

 Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
     Array Size : 15628075008 (7452.05 GiB 8001.57 GB)
  Used Dev Size : 3907018752 (1863.01 GiB 2000.39 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
Recovery Offset : 0 sectors
          State : clean
    Device UUID : 00f4057a:419c02b0:c88433dd:73969064

    Update Time : Sun Jul  1 01:34:41 2012
       Checksum : d0c0ec16 - correct
         Events : 29115

         Layout : left-symmetric
     Chunk Size : 4096K

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

--- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.38.6 root=UUID=3489236e-4e92-4f6e-ba2f-e03a3ecba231 ro quiet

--- grub2:
set root='(hd0,msdos2)'
set root='(hd0,msdos1)'
	set root='(hd0,msdos1)'
	linux	/vmlinuz-2.6.38.6 root=UUID=3489236e-4e92-4f6e-ba2f-e03a3ecba231 ro  quiet
	set root='(hd0,msdos1)'
	linux	/vmlinuz-2.6.38.6 root=UUID=3489236e-4e92-4f6e-ba2f-e03a3ecba231 ro single 
	set root='(hd0,msdos1)'
	linux	/vmlinuz-2.6.32-5-686-bigmem root=UUID=3489236e-4e92-4f6e-ba2f-e03a3ecba231 ro  quiet
	set root='(hd0,msdos1)'
	linux	/vmlinuz-2.6.32-5-686-bigmem root=UUID=3489236e-4e92-4f6e-ba2f-e03a3ecba231 ro single 

--- udev:
ii  udev           164-3          /dev/ and hotplug management daemon
4a574fcd059040d33ea18a8aa605a184  /lib/udev/rules.d/64-md-raid.rules

--- /dev:
brw-rw---- 1 root disk 9, 0 Jun 24 18:25 /dev/md0
brw-rw---- 1 root disk 9, 1 Jun 24 18:25 /dev/md1
brw-rw---- 1 root disk 9, 2 Jun 24 18:25 /dev/md2
brw-rw---- 1 root disk 9, 4 Jun 24 18:25 /dev/md4

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-SAMSUNG_HD154UI_S1Y6J1LZ301757 -> ../../sdj
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-SAMSUNG_HD154UI_S1Y6J1LZ301759 -> ../../sdn
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-SAMSUNG_HD154UI_S1Y6J1LZ301760 -> ../../sdi
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-SAMSUNG_HD154UI_S1Y6J1LZ301763 -> ../../sdm
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-SAMSUNG_HD154UI_S1Y6JD5B200953 -> ../../sdb
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-SAMSUNG_HD154UI_S1Y6JD5B201021 -> ../../sde
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-SAMSUNG_HD154UI_S1Y6JD5B201260 -> ../../sdf
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-SAMSUNG_HD154UI_S1Y6JD5B201262 -> ../../sda
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-WDC_WD2003FYYS-02W0B1_WD-WMAY04400966 -> ../../sdh
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-WDC_WD2003FYYS-02W0B1_WD-WMAY04407384 -> ../../sdc
lrwxrwxrwx 1 root root  9 Jul  1 01:17 ata-WDC_WD2003FYYS-02W0B1_WD-WMAY04546712 -> ../../sdw
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-WDC_WD2003FYYS-02W0B1_WD-WMAY04546722 -> ../../sdo
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-WDC_WD2003FYYS-02W0B1_WD-WMAY04568220 -> ../../sdt
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-WDC_WD2003FYYS-02W0B1_WD-WMAY04570859 -> ../../sdr
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-WDC_WD2003FYYS-02W0B1_WD-WMAY04594049 -> ../../sdl
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-WDC_WD2003FYYS-02W0B1_WD-WMAY04748331 -> ../../sdp
lrwxrwxrwx 1 root root  9 Jul  1 01:17 ata-WDC_WD20EARS-00MVWB0_WD-WMAZA2265157 -> ../../sdu
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-WDC_WD20EARS-00MVWB0_WD-WMAZA2354856 -> ../../sdq
lrwxrwxrwx 1 root root  9 Jun 24 18:25 ata-WDC_WD20EARS-00MVWB0_WD-WMAZA2484181 -> ../../sds
lrwxrwxrwx 1 root root  9 Jul  1 01:17 ata-WDC_WD20EARS-00MVWB0_WD-WMAZA2538779 -> ../../sdv
lrwxrwxrwx 1 root root 16 Jun 24 18:25 cciss-3600508b1001844395353504152440008 -> ../../cciss/c0d0
lrwxrwxrwx 1 root root 18 Jun 24 18:25 cciss-3600508b1001844395353504152440008-part1 -> ../../cciss/c0d0p1
lrwxrwxrwx 1 root root 18 Jun 24 18:25 cciss-3600508b1001844395353504152440008-part2 -> ../../cciss/c0d0p2
lrwxrwxrwx 1 root root 18 Jun 24 18:25 cciss-3600508b1001844395353504152440008-part3 -> ../../cciss/c0d0p3
lrwxrwxrwx 1 root root 18 Jun 24 18:25 cciss-3600508b1001844395353504152440008-part4 -> ../../cciss/c0d0p4
lrwxrwxrwx 1 root root 18 Jun 24 18:25 cciss-3600508b1001844395353504152440008-part5 -> ../../cciss/c0d0p5
lrwxrwxrwx 1 root root 18 Jun 24 18:25 cciss-3600508b1001844395353504152440008-part6 -> ../../cciss/c0d0p6
lrwxrwxrwx 1 root root 18 Jun 24 18:25 cciss-3600508b1001844395353504152440008-part7 -> ../../cciss/c0d0p7
lrwxrwxrwx 1 root root 18 Jun 24 18:25 cciss-3600508b1001844395353504152440008-part8 -> ../../cciss/c0d0p8
lrwxrwxrwx 1 root root  9 Jun 24 18:25 md-name-mythfiler2:0 -> ../../md0
lrwxrwxrwx 1 root root  9 Jun 24 18:25 md-name-mythfiler2:1 -> ../../md1
lrwxrwxrwx 1 root root  9 Jun 24 18:25 md-name-mythfiler2:2 -> ../../md2
lrwxrwxrwx 1 root root  9 Jun 24 18:25 md-name-mythfiler:4 -> ../../md4
lrwxrwxrwx 1 root root  9 Jun 24 18:25 md-uuid-045c7d02:f0d86b64:74bb6a9a:45589b23 -> ../../md4
lrwxrwxrwx 1 root root  9 Jun 24 18:25 md-uuid-0482022f:ea8b960d:d4f06e8c:cd86f783 -> ../../md0
lrwxrwxrwx 1 root root  9 Jun 24 18:25 md-uuid-08e1195f:ccecb5ca:f4ad5439:f950bc53 -> ../../md1
lrwxrwxrwx 1 root root  9 Jun 24 18:25 md-uuid-1f5e84d1:bb0477a4:96a852a0:29ec7e81 -> ../../md2
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_SAMSUNG_HD154UIS1Y6J1LZ301757 -> ../../sdj
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_SAMSUNG_HD154UIS1Y6J1LZ301759 -> ../../sdn
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_SAMSUNG_HD154UIS1Y6J1LZ301760 -> ../../sdi
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_SAMSUNG_HD154UIS1Y6J1LZ301763 -> ../../sdm
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_SAMSUNG_HD154UIS1Y6JD5B200953 -> ../../sdb
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_SAMSUNG_HD154UIS1Y6JD5B201021 -> ../../sde
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_SAMSUNG_HD154UIS1Y6JD5B201260 -> ../../sdf
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_SAMSUNG_HD154UIS1Y6JD5B201262 -> ../../sda
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_WDC_WD2003FYYS-_WD-WMAY04400966 -> ../../sdh
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_WDC_WD2003FYYS-_WD-WMAY04407384 -> ../../sdc
lrwxrwxrwx 1 root root  9 Jul  1 01:17 scsi-SATA_WDC_WD2003FYYS-_WD-WMAY04546712 -> ../../sdw
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_WDC_WD2003FYYS-_WD-WMAY04546722 -> ../../sdo
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_WDC_WD2003FYYS-_WD-WMAY04568220 -> ../../sdt
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_WDC_WD2003FYYS-_WD-WMAY04570859 -> ../../sdr
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_WDC_WD2003FYYS-_WD-WMAY04594049 -> ../../sdl
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_WDC_WD2003FYYS-_WD-WMAY04748331 -> ../../sdp
lrwxrwxrwx 1 root root  9 Jul  1 01:17 scsi-SATA_WDC_WD20EARS-00_WD-WMAZA2265157 -> ../../sdu
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_WDC_WD20EARS-00_WD-WMAZA2354856 -> ../../sdq
lrwxrwxrwx 1 root root  9 Jun 24 18:25 scsi-SATA_WDC_WD20EARS-00_WD-WMAZA2484181 -> ../../sds
lrwxrwxrwx 1 root root  9 Jul  1 01:17 scsi-SATA_WDC_WD20EARS-00_WD-WMAZA2538779 -> ../../sdv
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50014ee206c58fa6 -> ../../sdo
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50014ee206d4469e -> ../../sdt
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50014ee206d447ae -> ../../sdr
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50014ee206da026d -> ../../sdl
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50014ee206daffbe -> ../../sdp
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50014ee25c19b2be -> ../../sdc
lrwxrwxrwx 1 root root  9 Jul  1 01:17 wwn-0x50014ee2b17079d3 -> ../../sdw
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50014ee2b170b3ed -> ../../sdh
lrwxrwxrwx 1 root root  9 Jul  1 01:17 wwn-0x50014ee600a5bba9 -> ../../sdu
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50014ee655fb11d0 -> ../../sdq
lrwxrwxrwx 1 root root  9 Jul  1 01:17 wwn-0x50014ee655fb146c -> ../../sdv
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50014ee6ab50601d -> ../../sds
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50024e90033a0fcc -> ../../sdj
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50024e90033a1055 -> ../../sdn
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50024e90033a1187 -> ../../sdi
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50024e90033a15b2 -> ../../sdm
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50024e9004af5f10 -> ../../sdb
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50024e9004af6174 -> ../../sde
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50024e9004b030f6 -> ../../sdf
lrwxrwxrwx 1 root root  9 Jun 24 18:25 wwn-0x50024e9004b030f8 -> ../../sda
lrwxrwxrwx 1 root root 16 Jun 24 18:25 wwn-0x600508b100184439 -> ../../cciss/c0d0
lrwxrwxrwx 1 root root 18 Jun 24 18:25 wwn-0x600508b100184439-part1 -> ../../cciss/c0d0p1
lrwxrwxrwx 1 root root 18 Jun 24 18:25 wwn-0x600508b100184439-part2 -> ../../cciss/c0d0p2
lrwxrwxrwx 1 root root 18 Jun 24 18:25 wwn-0x600508b100184439-part3 -> ../../cciss/c0d0p3
lrwxrwxrwx 1 root root 18 Jun 24 18:25 wwn-0x600508b100184439-part4 -> ../../cciss/c0d0p4
lrwxrwxrwx 1 root root 18 Jun 24 18:25 wwn-0x600508b100184439-part5 -> ../../cciss/c0d0p5
lrwxrwxrwx 1 root root 18 Jun 24 18:25 wwn-0x600508b100184439-part6 -> ../../cciss/c0d0p6
lrwxrwxrwx 1 root root 18 Jun 24 18:25 wwn-0x600508b100184439-part7 -> ../../cciss/c0d0p7
lrwxrwxrwx 1 root root 18 Jun 24 18:25 wwn-0x600508b100184439-part8 -> ../../cciss/c0d0p8

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root 16 Jun 24 18:25 pci-0000:04:03.0 -> ../../cciss/c0d0
lrwxrwxrwx 1 root root 18 Jun 24 18:25 pci-0000:04:03.0-part1 -> ../../cciss/c0d0p1
lrwxrwxrwx 1 root root 18 Jun 24 18:25 pci-0000:04:03.0-part2 -> ../../cciss/c0d0p2
lrwxrwxrwx 1 root root 18 Jun 24 18:25 pci-0000:04:03.0-part3 -> ../../cciss/c0d0p3
lrwxrwxrwx 1 root root 18 Jun 24 18:25 pci-0000:04:03.0-part4 -> ../../cciss/c0d0p4
lrwxrwxrwx 1 root root 18 Jun 24 18:25 pci-0000:04:03.0-part5 -> ../../cciss/c0d0p5
lrwxrwxrwx 1 root root 18 Jun 24 18:25 pci-0000:04:03.0-part6 -> ../../cciss/c0d0p6
lrwxrwxrwx 1 root root 18 Jun 24 18:25 pci-0000:04:03.0-part7 -> ../../cciss/c0d0p7
lrwxrwxrwx 1 root root 18 Jun 24 18:25 pci-0000:04:03.0-part8 -> ../../cciss/c0d0p8

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 18 Jun 24 18:25 206bef23-9705-4ce3-966a-fd9f983bb87c -> ../../cciss/c0d0p1
lrwxrwxrwx 1 root root  9 Jun 24 18:25 27a616f3-4418-442e-ab04-b2b46b2a9ca4 -> ../../md4
lrwxrwxrwx 1 root root 18 Jun 24 18:25 3489236e-4e92-4f6e-ba2f-e03a3ecba231 -> ../../cciss/c0d0p2
lrwxrwxrwx 1 root root  9 Jun 24 18:25 6430d741-b35a-4f7b-a238-a10e068338ba -> ../../md1
lrwxrwxrwx 1 root root 18 Jun 24 18:25 8129c9d4-49cc-4a85-93d2-ba5b323b5583 -> ../../cciss/c0d0p6
lrwxrwxrwx 1 root root  9 Jun 24 18:25 a816ac5a-a993-4b92-a6d0-d423d018ad6e -> ../../md2
lrwxrwxrwx 1 root root 18 Jun 24 18:25 aa291919-0f1f-4fc0-8267-88f3e776bd6b -> ../../cciss/c0d0p5
lrwxrwxrwx 1 root root 18 Jun 24 18:25 ccc656e6-c12a-4541-a25f-833aa8982810 -> ../../cciss/c0d0p3
lrwxrwxrwx 1 root root 18 Jun 24 18:25 dd71fefb-d4c5-428d-b9da-df214530b72b -> ../../cciss/c0d0p8
lrwxrwxrwx 1 root root  9 Jun 24 18:25 e67286cb-c187-450a-9a57-691270439484 -> ../../md0
lrwxrwxrwx 1 root root 18 Jun 24 18:25 eff06da0-1310-4b7e-8f37-5a1c15cf7aa5 -> ../../cciss/c0d0p7

/dev/md:
total 0
lrwxrwxrwx 1 root root 6 Jun 24 18:25 0 -> ../md0
lrwxrwxrwx 1 root root 6 Jun 24 18:25 1 -> ../md1
lrwxrwxrwx 1 root root 6 Jun 24 18:25 2 -> ../md2

Auto-generated on Sun, 01 Jul 2012 01:34:41 +0200
by mdadm bugscript 3.1.4-1+8efb9d1+squeeze1

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38.6 (SMP w/4 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mdadm depends on:
ii  debconf                 1.5.36.1         Debian configuration management sy
ii  libc6                   2.11.3-3         Embedded GNU C Library: Shared lib
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  udev                    164-3            /dev/ and hotplug management daemo

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail 4.72-6+squeeze2 lightweight Exim MTA (v4) daemon
ii  module-init-tools        3.12-2+b1       tools for managing Linux kernel mo

mdadm suggests no packages.

-- Configuration Files:
/etc/cron.d/mdadm [Errno 2] Bestand of map bestaat niet: u'/etc/cron.d/mdadm'

-- 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: none
  mdadm/initrdstart_msg_errconf:
  mdadm/initrdstart_notinconf: false
  mdadm/start_daemon: true





More information about the pkg-mdadm-devel mailing list