Project

General

Profile

Actions

Bug #3296

open

Assertion failed in function zpool_in_use

Added by Piotr Jasiukajtis over 9 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2012-10-23
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

# uname -a
SunOS openindiana 5.11 oi_151a5 i86pc i386 i86pc Solaris

# zpool remove data1 c2t50015179594D675Fd0p0

# zpool add data1 cache c2t50015179594D675Fd0  
Assertion failed: nvlist_lookup_uint64(config, "guid", &vdev_guid) == 0, file ../common/libzfs_import.c, line 1566, function zpool_in_use
Abort (core dumped)

> $C
080425d8 libc_hwcap1.so.1`_lwp_kill+0x15(1, 6, 80425f8, fee980de)
080425f8 libc_hwcap1.so.1`raise+0x22(6, 0, 8042648, fee6fa9a)
08042648 libc_hwcap1.so.1`abort+0xf2(65737341, 6f697472, 6166206e, 64656c69, 766e203a, 7473696c)
08042858 libc_hwcap1.so.1`_assert_c99+0x85(fee0bbf0, fee0bbd4, 61e, fedd5648)
080428d8 libzfs.so.1`zpool_in_use+0xde(80b4ac8, d, 8042918, 8042914, 804291c, 0)
08042938 libdiskmgt.so.1`inuse_zpool_common+0xbf(80cb4d0, 80b2168, 804297c, fea87be0, fea873c4)
08042958 libdiskmgt.so.1`inuse_active_zpool+0x28(80cb4d0, 80b2168, 804297c, fea6c622)
08042998 libdiskmgt.so.1`add_inuse+0x36(80cb4d0, 80b2168, 0, fea6c39d)
08043238 libdiskmgt.so.1`slice_get_stats+0x73(8154948, 0, 8043378, fea660b1)
08043278 libdiskmgt.so.1`dm_get_stats+0xdd(8154948, 0, 0, 8043378)
080432b8 libdiskmgt.so.1`dm_get_slice_stats+0x4e(80cb260, 8043330, 8043378, fea66bae)
08043358 libdiskmgt.so.1`dm_inuse+0xfa(80cb290, 804337c, 1, 8043378)
08043388 check_slice+0x34(80cb290, 0, 1, 0)
080433c8 check_disk+0xd0(80e3f38, 8154920, 0, 0, 0, 80e3f41)
08043408 check_device+0x7a(80e3f38, 0, 0, 8043430)
08043858 check_in_use+0x2bb(80b2f88, 80e3f90, 0, 0, 0, 8066740)
08043cb8 check_in_use+0x1a2(80b2f88, 80b2b88, 0, 0, 0, 0)
08043cf8 make_root_vdev+0x5f(80b9e08, 0, 1, 0, 0, 2)
08043d58 zpool_do_add+0x162(4, 8047dd4, 8047dd0, 8078800)
08047d98 main+0x158(5, 8047dd0, 8047de8, 8047d8c)
08047dc4 _start+0x7d(5, 8047e90, 8047e96, 8047e9a, 8047ea0, 8047ea6)
Actions

Also available in: Atom PDF