Analyze panic string: assertion failed: 0 == zap_add_int...

(Doc ID 2421977.1)

Last updated on JULY 12, 2018

Applies to:

Solaris Operating System - Version 10 1/13 U11 to 11.3 [Release 10.0 to 11.0]
Information in this document applies to any platform.

Symptoms

Host panics with panic string: assertion failed: 0 == zap_add_int(zfsvfs->z_os, zfsvfs->z_unlinkedobj, zp->z_id, tx) (0x0 == 0x32), file: ../../common/fs/zfs/zfs_dir.c, line: 437 or something similar

Changes

The offending zpool will most likely be found with metadata corruption.


% more zpool_status_-v.out
pool: testpool
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://www.sun.com/msg/ZFS-8000-8A
scan: none requested
config:

NAME STATE READ WRITE CKSUM
testpool ONLINE 0 0 1
  c0d3s0 ONLINE 0 0 4

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

testpool/data:<0x3>

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms