bin/128654: atacontrol does not preserve rebuild status through reboot

Andrew fbsdbugs.20.awinder at spamgourmet.com
Thu Nov 6 16:00:17 PST 2008


>Number:         128654
>Category:       bin
>Synopsis:       atacontrol does not preserve rebuild status through reboot
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 07 00:00:14 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Andrew
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD asdf 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008     root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When you're rebuilding a RAID1 array with atacontrol and reboot, the rebuild status is not preserved and the disk is marked Ok. This causes inconsistency problems as the driver reads from both disks.
>How-To-Repeat:
atacontrol create RAID1 ad4 ad6
atacontrol detach ata3  (or another channel that contains a disk in ar0)
atacontrol attach ata3  (same as above)
atacontrol addspare ar0 ad6  (whichever the dropped disk was)
atacontrol rebuild ar0

atacontrol status ar0
# Wait just a minute until status says > 0%

reboot
# .....
atacontrol status ar0
# ac9: ATA RAID1 status: READY
# i.e. the rebuild is _not_ continued after reboot.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list