Re: ATA -- erratic behaviour when removing disk

2008-02-17 Thread Jeremy Chadwick
On Sun, Feb 17, 2008 at 11:03:31AM -0300, Carlos A. M. dos Santos wrote: > On Feb 17, 2008 3:19 AM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > > On Sat, Feb 16, 2008 at 09:08:38PM -0200, Carlos A. M. dos Santos wrote: > > > On Feb 16, 2008 7:07 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > > >

Re: ATA -- erratic behaviour when removing disk

2008-02-17 Thread Andrey V. Elsukov
17.02.08, 16:51, "Carlos A. M. dos Santos" <[EMAIL PROTECTED]>: > Quoting the message you pointed out: > "You might lose cached and in-flight data of course, and userspace > applications may or may not handle the disappearance of their > underlying filesystem with grace and aplomb :)" > Perhaps you

Re: ATA -- erratic behaviour when removing disk

2008-02-17 Thread Carlos A. M. dos Santos
On Feb 17, 2008 3:19 AM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > On Sat, Feb 16, 2008 at 09:08:38PM -0200, Carlos A. M. dos Santos wrote: > > On Feb 16, 2008 7:07 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > > > Is anyone aware of the situation where FreeBSD behaves erratically when > > >

Re: ATA -- erratic behaviour when removing disk

2008-02-17 Thread Carlos A. M. dos Santos
On Feb 17, 2008 4:25 AM, Andrey V. Elsukov <[EMAIL PROTECTED]> wrote: > 17.02.08, 02:08, "Carlos A. M. dos Santos" <[EMAIL PROTECTED]>: > > > > precautions prior to yanking the disk. Upon reinsertion, the system > > > > found the disk and I could continue I/O operations on it as if it had > > > >

Re: ATA -- erratic behaviour when removing disk

2008-02-17 Thread Miroslav Lachman
Jeremy Chadwick wrote: Is anyone aware of the situation where FreeBSD behaves erratically when a disk is physically removed without "atacontrol detach ataX" being run prior to removal (at least on RELENG_7)? I can confirm this behaviour on FreeBSD 6.2. It sometimes freezes or panic when I ata

Re: ATA -- erratic behaviour when removing disk

2008-02-16 Thread Andrey V. Elsukov
17.02.08, 02:08, "Carlos A. M. dos Santos" <[EMAIL PROTECTED]>: > > precautions prior to yanking the disk. Upon reinsertion, the system > > found the disk and I could continue I/O operations on it as if it had > > never been removed. Only reason I'm pointing this out is that it > > confirms the i

Re: ATA -- erratic behaviour when removing disk

2008-02-16 Thread Jeremy Chadwick
On Sat, Feb 16, 2008 at 09:08:38PM -0200, Carlos A. M. dos Santos wrote: > On Feb 16, 2008 7:07 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > > Is anyone aware of the situation where FreeBSD behaves erratically when > > a disk is physically removed without "atacontrol detach ataX" being run > >

Re: ATA -- erratic behaviour when removing disk

2008-02-16 Thread Carlos A. M. dos Santos
On Feb 16, 2008 7:07 PM, Jeremy Chadwick <[EMAIL PROTECTED]> wrote: > Is anyone aware of the situation where FreeBSD behaves erratically when > a disk is physically removed without "atacontrol detach ataX" being run > prior to removal (at least on RELENG_7)? Yes, I have seen this since 4.5, IIRC.

ATA -- erratic behaviour when removing disk

2008-02-16 Thread Jeremy Chadwick
Is anyone aware of the situation where FreeBSD behaves erratically when a disk is physically removed without "atacontrol detach ataX" being run prior to removal (at least on RELENG_7)? Below are my notes from said situation. I can provide remote access to this machine (serial-level) to whoever wa