Bug#380746: checkarray: E: /sys/block/md_d1/md/sync_action not writeable.

Christian Pernegger pernegger at gmail.com
Tue Aug 1 10:08:35 UTC 2006


Package: mdadm
Version: 2.5.2-7
Severity: normal


Sorry, it's me again. There's a few things that bug me a bit about the
new checkarray script and associated cron job.

1) I don't know when it should run but it ran last night,
i. e. Tuesday about 1am. Doesn't sound like first Sunday of every
month to me :)

2) cron sent me the following mail

Envelope-to: root at jesus.southpark.chp
Delivery-date: Tue, 01 Aug 2006 01:06:01 +0200
From: Cron Daemon <root at jesus.southpark.chp>
To: root at jesus.southpark.chp
Subject: Cron <root at jesus> [ -x /usr/share/mdadm/checkarray ] &&
/usr/share/mdadm/checkarray --cron --all --quiet
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>

checkarray: E: /sys/block/md_d1/md/sync_action not writeable.

3) From the kernel logs this "check" certainly looked like a full
resync -- scary! I'd have expected it to do a read-only check and cry
bloody murder if something is out of sync.

C.


-- Package-specific info:
--- mount output
/dev/md_d0p1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/md_d0p3 on /home type ext3 (rw,user_xattr)
/dev/sde1 on /mnt/storage type ext3 (rw,user_xattr)
/dev/md_d1p1 on /mnt/dump type ext3 (rw,user_xattr)
/dev/md_d1p2 on /mnt/scratch type ext3 (rw,user_xattr)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)

--- mdadm.conf
DEVICE partitions
ARRAY /dev/md_d0 auto=part level=raid1 num-devices=2 UUID=3f166256:cd9ff27e:a2c3596d:cc0b2092
ARRAY /dev/md_d1 auto=part level=raid0 num-devices=2 UUID=612d3f05:40d95e5e:e987a494:dbd47e35
MAILADDR root

--- /proc/mdstat:
Personalities : [raid1] [raid0] 
md_d1 : active raid0 sdc[0] sdd[1]
      145225984 blocks 64k chunks
      
md_d0 : active raid1 sda[0] sdb[1]
      488281250 blocks [2/2] [UU]
      bitmap: 3/233 pages [12KB], 1024KB chunk

unused devices: <none>

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

   8     0  488386584 sda
   8     1    7325608 sda1
   8     2    4393777 sda2
   8     3  476560192 sda3
   8    16  488386584 sdb
   8    17    7325608 sdb1
   8    18    4393777 sdb2
   8    19  476560192 sdb3
   8    32   72613056 sdc
   8    33  100000000 sdc1
   8    34   45225982 sdc2
   8    48   72613056 sdd
 254     0  488281250 md_d0
 254     1    7325608 md_d0p1
 254     2    4393777 md_d0p2
 254     3  476560192 md_d0p3
   8    64 2051394240 sde
   8    65 2051388013 sde1
 254    64  145225984 md_d1
 254    65  100000000 md_d1p1
 254    66   45225982 md_d1p2

--- initrd.img-2.6.17.4-99-em64t-p4-smp:

--- /proc/modules:
raid0 12288 1 - Live 0xffffffff881b5000
dm_mod 67272 0 - Live 0xffffffff881a3000
raid1 27776 1 - Live 0xffffffff88077000
md_mod 87448 9 raid0,raid1, Live 0xffffffff88060000

--- volume detail:


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.4-99-em64t-p4-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mdadm depends on:
ii  debconf [debconf-2.0]         1.5.2      Debian configuration management sy
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  lsb-base                      3.1-10     Linux Standard Base 3.1 init scrip
ii  makedev                       2.3.1-82   creates device files in /dev

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail-tran 4.62-2     lightweight exim MTA (v4) daemon

-- debconf information:
* mdadm/autostart: true
* mdadm/mail_to: root
* mdadm/initrdstart: /dev/md_d0
* mdadm/autocheck: true
* mdadm/warning:
* mdadm/start_daemon: true




More information about the pkg-mdadm-devel mailing list