Bug#445573: auto-ro raids have 'recover' for sync-action
martin f krafft
madduck at debian.org
Sat Oct 6 23:24:11 UTC 2007
Package: mdadm
Version: 2.6.2-1
Severity: normal
Tags: upstream
sync_action cannot deal with auto-read-only, it seems. Neil, can you
please confirm that you saw this?
wall:~# cat /proc/mdstat | grep '^md1' -A1
md1 : active(auto-read-only) raid1 hdc2[0] hda2[1]
996020 blocks super 1.0 [2/2] [UU]
wall:~# cat /sys/block/md1/md/sync_action
recover
wall:~# dd if=/dev/zero of=/dev/md1 bs=1k count=1
wall:~# cat /proc/mdstat | grep '^md1' -A1
md1 : active raid1 hdc2[0] hda2[1]
996020 blocks super 1.0 [2/2] [UU]
wall:~# cat /sys/block/md1/md/sync_action
idle
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
.''`. martin f. krafft <madduck at debian.org>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20071007/c71f195f/attachment.pgp
More information about the pkg-mdadm-devel
mailing list