'zfs list' does abort in make_dataset_handle

Stef Walter stef at memberwebs.com
Wed Jan 12 01:52:09 UTC 2011


On 01/11/2011 01:46 PM, Pawel Jakub Dawidek wrote:
> On Mon, Jan 10, 2011 at 02:35:48PM -0800, Stef Walter wrote:
>> On 01/10/2011 02:20 PM, Stef Walter wrote:
>>> After a failed zfs receive, zfs list now aborts in make_dataset_handle()
>>> in libzfs.so.2.
>>
>> The following patch suppresses the problem, and may give a clear
>> indication of how the problem manifests.
> 
> I'd more threat such situation as if dds_inconsistent would be true and
> destroy/rollback offending dataset. Could you try something like that?

Sounds like a good plan. Attached is a patch which does that.

Cheers,

Stef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zfs-data-set-bad-head-type-2.patch
Type: text/x-patch
Size: 1723 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20110112/35d6a53c/zfs-data-set-bad-head-type-2.bin


More information about the freebsd-fs mailing list