Bug#377071: mdadm: Please add periodic "check sync_action" support
to the package
Henrique de Moraes Holschuh
hmh at debian.org
Thu Jul 6 14:27:40 UTC 2006
Package: mdadm
Version: 2.4.1-6
Severity: wishlist
Recent kernels support checking of RAID parity (through an 'echo check >
sync_action' in the md sysfs area).
It would be nice if the package provided cron scripts to do this
automatically from time to time, as long as sync_action is in the 'idle'
state.
-- Package-specific info:
--- mount output
/dev/md0 on / type ext3 (rw)
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,mode=777)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,mode=1777)
/dev/mapper/vg_raid2-usr on /usr type xfs (rw)
/dev/mapper/vg_raid2-var on /var type ext3 (rw,nosuid,nodev)
/dev/mapper/vg_raid2-home on /home type ext3 (rw,nosuid,nodev)
/dev/mapper/vg_raid2-hmh on /home/hmh type ext3 (rw,nosuid,nodev)
/dev/mapper/vg_raid2-pbuilder on /home/pbuilder type xfs (rw)
/dev/mapper/vg_raid2-archive on /archive type xfs (ro,noexec,nosuid,nodev)
/dev/mapper/vg_raid2-staging on /staging type xfs (rw,noexec,nosuid,nodev)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
--- mdadm.conf
DEVICE partitions
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=5793b870:e751d3a3:cd318ffd:871d7e2e
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=0c8e8c22:cfc9bcec:87b2bff8:8321f9a4
--- /proc/mdstat:
Personalities : [raid1]
md1 : active raid1 sdb2[1] sda2[0]
243697920 blocks [2/2] [UU]
[>....................] resync = 4.2% (10326144/243697920) finish=81.1min speed=47910K/sec
md0 : active raid1 sdb1[1] sda1[0]
497856 blocks [2/2] [UU]
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
8 0 244198584 sda
8 1 498014 sda1
8 2 243698017 sda2
8 16 244198584 sdb
8 17 498014 sdb1
8 18 243698017 sdb2
9 0 497856 md0
9 1 243697920 md1
252 0 2097152 dm-0
252 1 4194304 dm-1
252 2 20971520 dm-2
252 3 5242880 dm-3
252 4 10485760 dm-4
252 5 52428800 dm-5
252 6 52428800 dm-6
252 7 89128960 dm-7
--- initrd.img-2.6.16.18-debian13+bluesmoke+lm85:
--- /proc/modules:
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.18-debian13+bluesmoke+lm85
Locale: LANG=pt_BR.ISO-8859-1, LC_CTYPE=pt_BR.ISO-8859-1 (charmap=ISO-8859-1)
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-81 creates device files in /dev
Versions of packages mdadm recommends:
ii postfix [mail-transport-agent 2.2.10-2 A high-performance mail transport
-- debconf information excluded
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
More information about the pkg-mdadm-devel
mailing list