Bug 83771

Summary: handbook/raid.html and atacontrol
Product: Documentation Reporter: edwin
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description edwin 2005-07-20 08:20:16 UTC

Fix: 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/raid.html
says (at the bottom):

	3.  Reattach the disk as a spare:
	    # atacontrol attach 3
	    Master:  ad6 <MAXTOR 6L080J4/A93.0500> ATA/ATAPI rev 5
	    Slave:   no device present

Trying that command, it complains that:
	garak# atacontrol attach 3
	atacontrol: ioctl(ATAATTACH): File exists

The right command was:
	garak# atacontrol addspare ar0 ad6

Of course, I could be totally wrong about this, but it works for
me (on 5.4). Thanks to Darius@#thatircchannel for his help.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-12-18 18:40:05 UTC
State Changed
From-To: open->closed

As I recently hit this very same problem, I updated the Handbook to match 
a reality of FreeBSD 6.0