Subject: kern/20989: When raidctl -a fails RAIDFRAME remembers bad device
To: None <gnats-bugs@gnats.netbsd.org>
From: None <abs@netbsd.org>
List: netbsd-bugs
Date: 04/03/2003 17:35:27
>Number: 20989
>Category: kern
>Synopsis: When raidctl -a fails RAIDFRAME remembers bad device
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 03 09:36:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Charlie Root
>Release: NetBSD 1.6.1
>Organization:
N/A
>Environment:
System: NetBSD zelda.purplei.com 1.6.1 NetBSD 1.6.1 (_GATEWAY_) #0: Thu Apr 3 10:11:16 UTC 2003 abs@oni.i.purplei.com:/tmp/_GATEWAY_ i386
Architecture: i386
Machine: i386
>Description:
If 'raidctl -a' fails to add a partition to a raid device it appears
to not close the partition, causing any future attempt to add the
partition (for example after resizing) to fail.
>How-To-Repeat:
Attempt to add a too-small partition to a raidframe device.
Resize the partition and try again - it will report
raidctl: ioctl (RAIDFRAME_ADD_HOT_SPARE) failed: Device busy
Apr 3 17:33:51 zelda /netbsd: raidlookup on device: /dev/wd0a failed!
>Fix:
reboot machine before retrying.
>Release-Note:
>Audit-Trail:
>Unformatted: