Re: [OpenIndiana-discuss] zpool degraded

2013-06-20 Thread Timothy Coalson
On Thu, Jun 20, 2013 at 2:42 PM, alessio  wrote:

> Yes but... what disk?  It is c6d0, I suppose, but why all disks are
> reported as degraded?


At a guess, since writes to a raidz vdev get striped across all component
disks, if it can't successfully reconstruct a block, it can't figure out
which disk(s) had bad data, so it marked them all as degraded?  I don't
know why this wouldn't be reported in checksum errors for the raidz vdev,
though.

It might have stopped trying to read from that disk with all the errors
before it encountered the error that it couldn't recover from (since it no
longer had any redundancy), a clear followed by a scrub might be able to
recover if this is the case (and that one disk doesn't fail further, and
successfully took the writes ZFS sent it during the scrub, and there isn't
even more bad data hiding on it...).  Checking the SMART data for the disk
with the errors reported may shed some light on the issue.

Note that raidz-1, especially with a fair number of disks, is not
particularly safe (an error encountered while replacing a failed disk is
always unrecoverable, for starters).  Consider moving to raidz-2 for your
number of disks.

Tim
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] zpool degraded

2013-06-20 Thread alessio
Yes but... what disk?  It is c6d0, I suppose, but why all disks are reported as 
degraded?


Christian Manal  wrote:

>Am 20.06.2013 17:16, schrieb Alessio:
>> The result of the command "zpool status -v" is the following:
>> 
>>   pool: zpool_repos
>>  state: DEGRADED
>> status: One or more devices has experienced an error resulting in
>data
>> corruption.  Applications may be affected.
>> action: Restore the file in question if possible.  Otherwise restore
>the
>> entire pool from backup.
>>see: http://illumos.org/msg/ZFS-8000-8A
>>   scan: scrub repaired 676K in 4h1m with 1 errors on Thu Jun 20
>15:06:36
>> 2013
>> config:
>> 
>> NAMESTATE READ WRITE CKSUM
>> zpool_repos  DEGRADED 0 0 0
>>   raidz1-0  DEGRADED 0 0 0
>> c1d0DEGRADED 0 0 0  too many errors
>> c4d0DEGRADED 0 0 0  too many errors
>> c4d1DEGRADED 0 0 0  too many errors
>> c5d0DEGRADED 0 0 0  too many errors
>> c5d1DEGRADED 0 0 0  too many errors
>> c6d0DEGRADED 0 0   106  too many errors
>> c7d0DEGRADED 0 0 0  too many errors
>> 
>> errors: Permanent errors have been detected in the following files:
>> 
>> :<0x6a>
>> 
>> 
>> Files in such zpool seems to be still accessible.
>> What I can do?
>> 
>> Please help.
>
>Hi,
>
>replace the faulty disk and wait until the pool resilvers.
>
>
>Regards,
>Christian Manal
>
>___
>OpenIndiana-discuss mailing list
>OpenIndiana-discuss@openindiana.org
>http://openindiana.org/mailman/listinfo/openindiana-discuss

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] zpool degraded

2013-06-20 Thread Jim Klimov

On 2013-06-20 19:30, Jonathan Adams wrote:

just an FYI, The disk may not be dead ... but you'll need to give it a low
level format and surface scan to check that it's not broken.



It might also be possible to invoke its own low-level diagnostics
scan via SMART interface (see smartctl; if OI variant refuses to
pass the advanced commads to the disk, you might have better luck
with a Linux version from a LiveCD, etc.)

HTH,
//Jim


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] zpool degraded

2013-06-20 Thread Jonathan Adams
just an FYI, The disk may not be dead ... but you'll need to give it a low
level format and surface scan to check that it's not broken.


On 20 June 2013 18:25, Christian Manal wrote:

> Am 20.06.2013 17:16, schrieb Alessio:
> > The result of the command "zpool status -v" is the following:
> >
> 
> > Files in such zpool seems to be still accessible.
> > What I can do?
> >
> > Please help.
>
> Hi,
>
> replace the faulty disk and wait until the pool resilvers.
>
>
> Regards,
> Christian Manal
>
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] zpool degraded

2013-06-20 Thread Christian Manal
Am 20.06.2013 17:16, schrieb Alessio:
> The result of the command "zpool status -v" is the following:
> 
>   pool: zpool_repos
>  state: DEGRADED
> status: One or more devices has experienced an error resulting in data
> corruption.  Applications may be affected.
> action: Restore the file in question if possible.  Otherwise restore the
> entire pool from backup.
>see: http://illumos.org/msg/ZFS-8000-8A
>   scan: scrub repaired 676K in 4h1m with 1 errors on Thu Jun 20 15:06:36
> 2013
> config:
> 
> NAMESTATE READ WRITE CKSUM
> zpool_repos  DEGRADED 0 0 0
>   raidz1-0  DEGRADED 0 0 0
> c1d0DEGRADED 0 0 0  too many errors
> c4d0DEGRADED 0 0 0  too many errors
> c4d1DEGRADED 0 0 0  too many errors
> c5d0DEGRADED 0 0 0  too many errors
> c5d1DEGRADED 0 0 0  too many errors
> c6d0DEGRADED 0 0   106  too many errors
> c7d0DEGRADED 0 0 0  too many errors
> 
> errors: Permanent errors have been detected in the following files:
> 
> :<0x6a>
> 
> 
> Files in such zpool seems to be still accessible.
> What I can do?
> 
> Please help.

Hi,

replace the faulty disk and wait until the pool resilvers.


Regards,
Christian Manal

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] zpool degraded

2013-06-20 Thread Alessio
The result of the command "zpool status -v" is the following:

  pool: zpool_repos
 state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption.  Applications may be affected.
action: Restore the file in question if possible.  Otherwise restore the
entire pool from backup.
   see: http://illumos.org/msg/ZFS-8000-8A
  scan: scrub repaired 676K in 4h1m with 1 errors on Thu Jun 20 15:06:36
2013
config:

NAMESTATE READ WRITE CKSUM
zpool_repos  DEGRADED 0 0 0
  raidz1-0  DEGRADED 0 0 0
c1d0DEGRADED 0 0 0  too many errors
c4d0DEGRADED 0 0 0  too many errors
c4d1DEGRADED 0 0 0  too many errors
c5d0DEGRADED 0 0 0  too many errors
c5d1DEGRADED 0 0 0  too many errors
c6d0DEGRADED 0 0   106  too many errors
c7d0DEGRADED 0 0 0  too many errors

errors: Permanent errors have been detected in the following files:

:<0x6a>


Files in such zpool seems to be still accessible.
What I can do?

Please help.


A

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss