My Oracle Support Banner

ZFS snapshot send/receive giving I/O error (Doc ID 2973461.1)

Last updated on SEPTEMBER 15, 2023

Applies to:

Solaris Operating System - Version 11.3 and later
Information in this document applies to any platform.

Symptoms

ZFS snapshot send/receive giving I/O error

Description
=========
warning: cannot send '<poolname>/t24@-2017-09-29-17': IO error
cannot receive: invalid backup stream


We can see the below error in the zpool. We don't need the files with errors. How can we ignore the file errors while sending the snapshot?

 


root@<host> # zpool status -v <poolname>
  pool: <poolname>
 state: ONLINE
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://support.oracle.com/msg/ZFS-8000-8A
  scan: resilvered 920K in 7m20s with 1259 errors on Fri Jul 21 11:08:11 2017

config:

  NAME STATE READ WRITE CKSUM
  <poolname> ONLINE 0 0 1.23K
  c1d4 ONLINE 0 0 0
  c1d7 ONLINE 0 0 0
  c1d8 ONLINE 0 0 0
  c1d9 ONLINE 0 0 0

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

  <poolname>/t24@2017-09-28-02:/<hostname>/bnk/bnk.data/re/<file1>_23
  <poolname>/t24@2017-09-28-02:/<hostname>/bnk/bnk.data/re/<file2>_18
  <poolname>/t24@2017-09-28-02:/<hostname>/bnk/bnk.data/ac/<file3>_21
  <poolname>/t24@2017-09-28-02:/<hostname>/bnk/bnk.data/ac/<file4>_05
  <poolname>/t24@2017-09-28-02:/<hostname>/bnk/bnk.data/ac/<file5>_02
  <poolname>/t24@2017-09-28-02:/<hostname>/bnk/bnk.data/ac/<file6>_19
  <poolname>/t24@2017-09-28-02:<hostname>/bnk/bnk.data/ac/<file7>_09
root@<host> #





Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.