> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> boun...@opensolaris.org] On Behalf Of Don Jackson
> 
>      # zfs send -R naspool/open...@xfer-11292010 | zfs recv -d
> npool/openbsd
>      cannot receive new filesystem stream: out of space
> 
> The destination pool is much larger (by several TB)  than the source pool, so 
> I
> don't see how it can not have enough disk space:

Oh.  Fortunately this is an easy one to answer.

Since zfs receive is an atomic operation (all or nothing) you can't overwrite a 
filesystem unless there is enough disk space for *both* the old version of the 
filesystem, and the new one.  It essentially takes a snapshot of the present 
filesystem, then creates the new received version, and only after successfully 
receiving the new one does it delete the old one.

That's why ... despite your failed receive ... You have not lost any 
information in your receiving filesystem.  

If you know you want to do this, and you clearly don't have enough disk space 
to hold both the old and new filesystems at the same time, you'll have to 
destroy the old filesystem in order to overwrite it.  

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to