replacing a hot-swap disk

View: New views
3 Messages — Rating Filter:   Alert me  

replacing a hot-swap disk

by Steven Bellovin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I need to replace a failing disk on a server.  The hardware is hot-
swap SATA; can NetBSD handle removing and replacing it without a  
reboot?  I'd quiesce the device (by failing it with 'raidctl -f')  
first.  The replacement disk is not the same model, but has the same  
number of sectors.

                --Steve Bellovin, http://www.cs.columbia.edu/~smb






Re: replacing a hot-swap disk

by Manuel Bouyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Nov 07, 2009 at 11:45:31AM -0500, Steven Bellovin wrote:
> I need to replace a failing disk on a server.  The hardware is hot-
> swap SATA; can NetBSD handle removing and replacing it without a  
> reboot?  I'd quiesce the device (by failing it with 'raidctl -f')  
> first.  The replacement disk is not the same model, but has the same  
> number of sectors.

I think the kernel will deal with it, eventually with a timeout and
reset on the first command. But this could be  controller-dependant

--
Manuel Bouyer <bouyer@...>
     NetBSD: 26 ans d'experience feront toujours la difference
--

Re: replacing a hot-swap disk

by Brian A. Seklecki (CFI NOC) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-11-07 at 11:45 -0500, Steven Bellovin wrote:
> I need to replace a failing disk on a server.  The hardware is hot-
> swap SATA; can NetBSD handle removing and replacing it without a  

Worst case atactl(8) and "reset"

~BAS