kern/141355: [zfs] zfs recv can fail with E2BIG

Martin Matuska mm at FreeBSD.org
Thu Dec 10 21:50:04 UTC 2009


>Number:         141355
>Category:       kern
>Synopsis:       [zfs] zfs recv can fail with E2BIG
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 10 21:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 8.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #2: Thu Nov 26 00:32:53 CET 2009 root at neo.vx.sk:/usr/obj/usr/src/sys/NEO amd64
>Description:
There is a bug in ZFS send/receive that was already fixed in OpenSolaris snv_111

References:
Opensolaris Bug ID: 6801979
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6801979

>How-To-Repeat:
This may happen during ZFS send/receive (managed to reproduce it):
internal error: Argument list too long
Abort (core dumped)
warning: cannot send 'pool/home at s2': Broken pipe	
>Fix:
This bug was fixed in snv_111, right after the dirtying snapshot problem:
http://dlc.sun.com/osol/on/downloads/b111/on-changelog-b111.html

Issues Resolved:
BUG/RFE:6801979 zfs recv can fail with E2BIG
Files Changed: (revision 8986:45c289aff7c9)
update:usr/src/uts/common/fs/zfs/dmu_object.c
update:usr/src/uts/common/fs/zfs/dmu_send.c
update:usr/src/uts/common/fs/zfs/dnode.c
update:usr/src/uts/common/fs/zfs/sys/dmu.h

Should be easy to implement.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list