# [OmniOS-discuss] Corrupted file recovery and restoring pool to ONLINE

Schweiss, Chip chip at innovates.com
Mon Jan 23 16:01:57 UTC 2017

- Previous message: [OmniOS-discuss] Corrupted file recovery and restoring pool to ONLINE
- Next message: [OmniOS-discuss] Onboard LSI 3108 and R151020
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    To get back to an online state you need to detach the offline disk:

    zpool detach B-034 c10t50000C0F0132772Ed0s0

    If the corrupted file is in any snapshots those snapshots will have to be
    destroyed to stop it from being found as a corruption during a scrub.

    -Chip

    On Mon, Jan 23, 2017 at 9:53 AM, <steve at linuxsuite.org> wrote:

    >
    >   Howdy!
    >
    >              I had a corrupted file during resilvering after a drive
    > failure/replacment, I replaced the file from a backup and the
    > pool started to resilver again. If finished and is still in a
    > state
    > that shows DEGRADED with file errors. I can read the file fine and md5sum
    > checks out.
    >
    >           What do I need to do to put this pool into an ONLINE state and
    > remove the error?
    > Or is this pool still problematic??
    >
    >         thanx - steve
    >
    >   pool: B-034
    >  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: resilvered 3.46T in 28h19m with 3 errors on Sun Jan 22 17:43:53
    > 2017
    > config:
    >
    >         NAME                            STATE     READ WRITE CKSUM
    >         B-034                           DEGRADED     0     0     3
    >           raidz1-0                      DEGRADED     0     0     6
    >             c0t5000C500571D5D9Fd0s0     ONLINE       0     0     0
    >             c0t5000C500571D69D3d0s0     ONLINE       0     0     0
    >             c10t50000C0F01F82C82d0s0    ONLINE       0     0     0
    >             c10t50000C0F01F84B6Ad0s0    ONLINE       0     0     0
    >             replacing-4                 DEGRADED     0     0     0
    >               c10t50000C0F0132772Ed0s0  OFFLINE      0     0     0
    >               c10t5000039578C8A83Ed0s0  ONLINE       0     0     0
    >             c10t50000C0F0136989Ad0s0    ONLINE       0     0     0
    >             c10t50000C0F01327226d0s0    ONLINE       0     0     0
    >             c10t50000C0F01327316d0s0    ONLINE       0     0     0
    >
    > errors: Permanent errors have been detected in the following files:
    >
    >         B-034 at nov_5_2016:/51/17/1000621751.bkt
    >
    >
    > _______________________________________________
    > OmniOS-discuss mailing list
    > OmniOS-discuss at lists.omniti.com
    > http://lists.omniti.com/mailman/listinfo/omnios-discuss
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.omniti.com/pipermail/omnios-discuss/attachments/20170123/2d8d1f5f/attachment.html>

- Previous message: [OmniOS-discuss] Corrupted file recovery and restoring pool to ONLINE
- Next message: [OmniOS-discuss] Onboard LSI 3108 and R151020
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list