zfs receive gives: internal error: Argument list too long

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Dec 16 21:46:31 UTC 2009

On Mon, Dec 14, 2009 at 10:39:26PM +0100, Martin Matuska wrote:
> I was unable to reproduce the panic (with 8.0-RELEASE-p1 + Pawel's patch
> or with my patch).
> I can split my patch into two Opensolaris changesets - 8986, that is
> exactly pjd's patch. The other changeset is 7994.
> BUG ID 6764159: restore_object() makes a call that can block while
> having a tx open but not yet committed.
> So to make life easier, I have split this and use 2 patches (that make
> together my old patch)
> a) 6764159_restore_blocking.patch
> b) zfs_recv_E2BIG.patch
> I have also encountered a problem with recursive zfs snapshots of
> previsously transferred datasets.
> On many of my systems, zfs snapshot -r tank at xyz just did not work with
> the following error: zfs snapshot -r failed because filesystem was busy
> Patch links:
> http://mfsbsd.vx.sk/patches/6764159_restore_blocking.patch
> http://mfsbsd.vx.sk/patches/6462803_zfs_snapshot_busy.patch
> http://people.freebsd.org/~pjd/patches/zfs_recv_E2BIG.patch
> Related OpenSolaris links:
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6462803 (zfs
> snapshot busy)
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6764159
> (restore_object blocking)
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6801979 (zfs
> receive E2BIG)
> I am running all three patches on about 30-40 servers with 8 CPU cores,
> amd64 and intensive zfs snapshot -r, intense zfs send/receive operations
> for several days.
> No panics or other problems by now.

Martin, please go ahead and commit your patch.

Thank you for looking into this!

Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20091216/0ecf0481/attachment.pgp

More information about the freebsd-fs mailing list