Project

General

Profile

Bug #6054

panic[cpu0]/thread=ffffff00150d8c40: assertion failed: 0 == dmu_buf_hold_array(os, object, offset, size, FALSE, FTAG, &numbufs, &dbp), file: ../../common/fs/zfs/dmu.c, line: 799

Added by shunbo shi over 4 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2015-07-14
Due date:
% Done:

0%

Estimated time:
Difficulty:
Hard
Tags:
needs-triage

Description

Panic infomation :

Jul 13 08:51:32 UA4300D-spb unix: [ID 836849 kern.notice]
Jul 13 08:51:32 UA4300D-spb ^Mpanic[cpu0]/thread=ffffff00150d8c40:
Jul 13 08:51:32 UA4300D-spb genunix: [ID 403854 kern.notice] assertion failed: 0 dmu_buf_hold_array(os, object, offset, size, FALSE, FTAG, &numbufs, &dbp), file: ../../common/fs/zfs/dmu.c, line: 799
Jul 13 08:51:32 UA4300D-spb unix: [ID 100000 kern.notice]
Jul 13 08:51:32 UA4300D-spb genunix: [ID 655072 kern.notice] ffffff00150d87e0 genunix:process_type+17bb00 ()
Jul 13 08:51:32 UA4300D-spb genunix: [ID 655072 kern.notice] ffffff00150d8890 zfs:dmu_write+208 ()
Jul 13 08:51:32 UA4300D-spb genunix: [ID 655072 kern.notice] ffffff00150d8970 zfs:space_map_write+38e ()
Jul 13 08:51:32 UA4300D-spb genunix: [ID 655072 kern.notice] ffffff00150d8a10 zfs:metaslab_sync+10d ()
Jul 13 08:51:32 UA4300D-spb genunix: [ID 655072 kern.notice] ffffff00150d8a70 zfs:vdev_sync+8f ()
Jul 13 08:51:32 UA4300D-spb genunix: [ID 655072 kern.notice] ffffff00150d8b50 zfs:spa_sync+353 ()
Jul 13 08:51:32 UA4300D-spb genunix: [ID 655072 kern.notice] ffffff00150d8c20 zfs:txg_sync_thread+260 ()
Jul 13 08:51:32 UA4300D-spb genunix: [ID 655072 kern.notice] ffffff00150d8c30 unix:thread_start+8 ()
Jul 13 08:51:32 UA4300D-spb unix: [ID 100000 kern.notice]
Jul 13 08:51:32 UA4300D-spb genunix: [ID 672855 kern.notice] syncing file systems...
Jul 13 08:51:32 UA4300D-spb genunix: [ID 904073 kern.notice] done
Jul 13 08:51:33 UA4300D-spb genunix: [ID 111219 kern.notice] dumping to /dev/zvol/dsk/rpool/dump, offset 65536, content: kernel
Jul 13 08:51:33 UA4300D-spb ahci: [ID 405573 kern.info] NOTICE: ahci0: ahci_tran_reset_dport port 0 reset port
Jul 13 08:56:17 UA4300D-spb genunix: [ID 100000 kern.notice]
Jul 13 08:56:17 UA4300D-spb genunix: [ID 665016 kern.notice] ^M100% done: 1416989 pages dumped,
Jul 13 08:56:17 UA4300D-spb genunix: [ID 851671 kern.notice] dump succeeded
......
Jul 13 08:57:30 UA4300D-spb genunix: [ID 454863 kern.info] dump on /dev/zvol/dsk/rpool/dump size 2043 MB
Jul 13 08:57:30 UA4300D-spb savecore: [ID 570001 auth.error] reboot after panic: assertion failed: 0 dmu_buf_hold_array(os, object, offset, size, FALSE, FTAG, &numbufs, &dbp), file: ../../common/fs/zfs/dmu.c, line: 799
Jul 13 08:57:30 UA4300D-spb savecore: [ID 430134 auth.error] not enough space in /var/crash/unknown (1113 MB avail, 1621 MB needed)

Zpool status´╝Ü
root@UA4300D-spa:~# zpool import
pool: SSTG
id: 3642070760597943453
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://illumos.org/msg/ZFS-8000-6X
config:

SSTG                       UNAVAIL  missing device
raidz1-0 ONLINE
c0t5000C5007F644067d0 ONLINE
c0t5000C5007E9D07B7d0 ONLINE
c0t5000C5007E9B7073d0 ONLINE
c0t5000C5007E9CF24Fd0 ONLINE
c0t5000C5007E985DF7d0 ONLINE
c0t5000C5007E9CE73Bd0 ONLINE
c0t5000C5007E992FFBd0 ONLINE
c0t5000C5007E9935B7d0 ONLINE
c0t5000C5007E9929ABd0 ONLINE
c0t5000C5007E9933CBd0 ONLINE
c0t5000C5007E9CD31Bd0 ONLINE
c0t5000C5007E993A67d0 ONLINE
c0t5000C5007E993F03d0 ONLINE
c0t5000C5007E9CF983d0 ONLINE
c0t5000C5007E9CE63Bd0 ONLINE
c0t5000C5007E9D0753d0 ONLINE
c0t5000C5005E7E3C37d0 ONLINE
c0t5000C5005E7EEF13d0 ONLINE
c0t5000C5005E7E7C7Fd0 ONLINE
c0t5000C5005E7EE197d0 ONLINE
c0t5000C5007E994257d0 ONLINE
c0t5000C5007E9CFA9Bd0 ONLINE
c0t5000C5007E996F5Fd0 ONLINE
c0t5000C5007E9940E7d0 ONLINE
raidz1-1 ONLINE
c0t5000C5007F643F6Bd0 ONLINE
c0t5000C5007F645A6Fd0 ONLINE
c0t5000C5007F646BC7d0 ONLINE
c0t5000C5007F63FFC7d0 ONLINE
c0t5000C5007F650BAFd0 ONLINE
c0t5000C5006329FB7Fd0 ONLINE
c0t5000C5007F35E8B7d0 ONLINE
c0t5000C5007F384A67d0 ONLINE
c0t5000C5007F645783d0 ONLINE
c0t5000C5007F64597Bd0 ONLINE
c0t5000C5007F643D6Fd0 ONLINE
c0t5000C5007F65116Bd0 ONLINE
c0t5000C5007F645E03d0 ONLINE
c0t5000C500632A1813d0 ONLINE
c0t5000C5007F643D7Fd0 ONLINE
c0t5000C5007F643223d0 ONLINE
raidz1-2 ONLINE
c0t5000C50043B1E35Bd0 ONLINE
c0t5000C500472A7067d0 ONLINE
c0t5000C5005EC92043d0 ONLINE
c0t5000C5005ECB92CBd0 ONLINE
raidz1-3 ONLINE
c0t5000C5007F645CA3d0 ONLINE
c0t5000C5007F644FEBd0 ONLINE
c0t5000C5007F650C1Fd0 ONLINE
c0t5000C5007F643F17d0 ONLINE
c0t5000C5007F65047Fd0 ONLINE
c0t5000C5007F645E57d0 ONLINE
c0t5000C5007F36C1FFd0 ONLINE
c0t5000C500632A1D97d0 ONLINE
c0t5000C500632B5D63d0 ONLINE
c0t5000C5007F36B907d0 ONLINE
c0t5000C500632A1733d0 ONLINE
c0t5000C5006326F6DBd0 ONLINE
c0t5000C5007F650DDFd0 ONLINE
c0t5000C5007F65124Bd0 ONLINE
c0t5000C5007F6431A7d0 ONLINE
c0t5000C5007F645F73d0 ONLINE
c0t5000C5007F6510C7d0 ONLINE
c0t5000C5007F650E0Fd0 ONLINE
c0t5000C5007F63FF6Fd0 ONLINE
Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.

All the deivices are online except a log dev. The log dev is an iscsi device and a memory-disk like ramdisk.
When the panic occured, i down the ixgbe link carring the iscsi log device.

The pool can be imported, but it will cause another panic same with Bug #5597.

When vdev_sync is running and it is not finished, the device is not present at this time, only panic can be done? Or, there are other ways to resolve it.
I'm not familiar with zfs kernel, and hope someone can fix it.

I'll continue to test to reproduce the problem and get a dump file for the case. But it may not appear.


Related issues

Related to illumos gate - Bug #5597: assertion failed: avl_is_empty(&dn->dn_dbufs), file: ../../common/fs/zfs/dnode_sync.c, line: 488Closed2015-02-06

Actions

History

#1

Updated by Marcel Telka over 4 years ago

  • Related to Bug #5597: assertion failed: avl_is_empty(&dn->dn_dbufs), file: ../../common/fs/zfs/dnode_sync.c, line: 488 added

Also available in: Atom PDF