Re: [zfs-discuss] ZFS recovery from a disk losing power

2006-05-19 Thread Richard Elling
On Thu, 2006-05-18 at 23:40 -0600, Sanjay Nadkarni wrote: > You had a file system on top of the mirror and there was some I/O > occurring to the mirror. The *only* time, SVM puts a device into > maintenance is when we receive an EIO from the underlying device. So, > in case a write occurred t

Re: [zfs-discuss] ZFS recovery from a disk losing power

2006-05-18 Thread grant beattie
On Thu, May 18, 2006 at 11:40:53PM -0600, Sanjay Nadkarni wrote: > Since it's not exactly clear what you did with SVM I am assuming the > following: > > You had a file system on top of the mirror and there was some I/O > occurring to the mirror. The *only* time, SVM puts a device into > maint

Re: [zfs-discuss] ZFS recovery from a disk losing power

2006-05-18 Thread Sanjay Nadkarni
Since it's not exactly clear what you did with SVM I am assuming the following: You had a file system on top of the mirror and there was some I/O occurring to the mirror. The *only* time, SVM puts a device into maintenance is when we receive an EIO from the underlying device. So, in case

Re: [zfs-discuss] ZFS recovery from a disk losing power

2006-05-16 Thread Richard Elling
On Tue, 2006-05-16 at 10:32 -0700, Eric Schrock wrote: > On Wed, May 17, 2006 at 03:22:34AM +1000, grant beattie wrote: > > > > what I find interesting is that the SCSI errors were continuous for 10 > > minutes before I detached it, ZFS wasn't backing off at all. it was > > flooding the VGA consol

Re: [zfs-discuss] ZFS recovery from a disk losing power

2006-05-16 Thread Eric Schrock
On Wed, May 17, 2006 at 03:22:34AM +1000, grant beattie wrote: > > what I find interesting is that the SCSI errors were continuous for 10 > minutes before I detached it, ZFS wasn't backing off at all. it was > flooding the VGA console quicker than the console could print it all > :) from what you

Re: [zfs-discuss] ZFS recovery from a disk losing power

2006-05-16 Thread grant beattie
On Tue, May 16, 2006 at 10:13:46AM -0700, Eric Schrock wrote: > What has happened is that your device has started reporting errors, but > is still available on the system. i.e. ZFS is still able to ldi_open() > the underlying device. This seems like a strange failure mode for the > device (you m

Re: [zfs-discuss] ZFS recovery from a disk losing power

2006-05-16 Thread Eric Schrock
What has happened is that your device has started reporting errors, but is still available on the system. i.e. ZFS is still able to ldi_open() the underlying device. This seems like a strange failure mode for the device (you may want to investigate how that's possible), but ZFS is functioning as

Re: [zfs-discuss] ZFS recovery from a disk losing power

2006-05-16 Thread grant beattie
On Tue, May 16, 2006 at 07:02:37PM +1000, grant beattie wrote: > running b37 on amd64. after removing power from a disk configured as > a mirror, 10 minutes has passed and ZFS has still not offlined it. I should have mentioned, the disks are connected to an Adaptec 2120S card (aac). not that I th

[zfs-discuss] ZFS recovery from a disk losing power

2006-05-16 Thread grant beattie
running b37 on amd64. after removing power from a disk configured as a mirror, 10 minutes has passed and ZFS has still not offlined it. # zpool status tank pool: tank state: ONLINE status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the er