Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2011 14:20:06 -0800
From:      Stef Walter <stef@memberwebs.com>
To:        freebsd-fs@freebsd.org
Subject:   'zfs list' does abort in make_dataset_handle
Message-ID:  <4D2B8616.4000503@memberwebs.com>

next in thread | raw e-mail | index | archive | help
After a failed zfs receive, zfs list now aborts in make_dataset_handle()
in libzfs.so.2.

# zfs list
Abort trap: 6 (core dumped)

The backtrace is:

#0  0x0000000800fe63cc in kill () from /lib/libc.so.7
#1  0x0000000800fe51cb in abort () from /lib/libc.so.7
#2  0x000000080067400f in make_dataset_handle () from /lib/libzfs.so.2
#3  0x0000000800674346 in zfs_iter_filesystems () from /lib/libzfs.so.2
#4  0x000000000040ad51 in ?? ()
#5  0x0000000800674354 in zfs_iter_filesystems () from /lib/libzfs.so.2
#6  0x000000000040ad51 in ?? ()
#7  0x000000080066642c in zfs_iter_root () from /lib/libzfs.so.2

Running on:

FreeBSD m8.xxxx.xxx 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Sat Jan  8
19:26:12 UTC 2011     sam@:/usr/obj/usr/src/sys/RACK8  amd64

'zfs scrub' did not fix the error. 'zfs create' and other zfs commands
still work, as do access to the various zfs file systems on this system.

After poking around a bit, I find that in make_dataset_handle()
zhp->zfs_dmustats.dds_type is equal to 0 (and this is the cause of the
abort). Additionally zhp->zfs_dmustats.dds_inconsistent is not TRUE.

Any ideas?  Thanks in advance!

Cheers,

Stef



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D2B8616.4000503>