ZFS crashing while zfs recv in progress

Scot Hetzel swhetzel at gmail.com
Tue Jun 4 16:32:30 UTC 2013


On Wed, May 29, 2013 at 4:04 AM, Pascal Braun, Continum
<pascal.braun at continum.net> wrote:
>
> Hi,
>
>
> I'm trying to send a zfs pool from an old freebsd 9.0 installation to a new machine with freebsd 9.1. The pool is quite heavy (about 16TB, lots of snapshots) and the receiving side keeps crashing on me. The command used to transfer (run on the old 9.0 installation):
> zfs send -R tank at snapshot | ssh 10.10.xx.xx zfs recv -F -d -v tank
>
>
> After a few hours the system stops all writing and I can't start any new processes. Processes still running like 'zpool iostat' are still working, or at least it is still reporting something. To me it looks like the filesystem just disappeared. Unfortunately I'm running root on zfs so I don't have any logs about this.
> The only message I sometimes find on the console are about not being able to write to swap, which is also on zfs.
>

This could be where your problem is happening.  While you can create a
swap vol on ZFS, that swap vol also requires available memory from the
system to perform the swap.  As was suggested, try using a dedicated
disk / partition as your swap volume.

>
> Do you have any ideas? I don't even know where to start.
>
>
> regards, Pascal
>
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.


More information about the freebsd-stable mailing list