Hi, Here is a small script to test deduped zfs send stream: ============#!/bin/bash ZFSPOOL=rpool ZFSDATASET=zfs-send-dedup-test dd if=/dev/random of=/var/tmp/testfile1 bs=512 count=10 zfs create $ZFSPOOL/$ZFSDATASET cp /var/tmp/testfile1 /$ZFSPOOL/$ZFSDATASET/testfile1 zfs snapshot $ZFSPOOL/$ZFSDATASET at snap1 cp /var/tmp/testfile1 /$ZFSPOOL/$ZFSDATASET/testfile2 zfs snapshot $ZFSPOOL/$ZFSDATASET at snap2 zfs send -D -R $ZFSPOOL/$ZFSDATASET at snap2 > /var/tmp/ddtest-snap2.zfs zfs destroy -r $ZFSPOOL/$ZFSDATASET zfs receive -Fv $ZFSPOOL/$ZFSDATASET < /var/tmp/ddtest-snap2.zfs ============ It works in OpenSolaris b134, but not in OpenIndiana b147, nor Solaris Express 11, where zfs receive exists on second incremental snapshot with error message: cannot receive incremental stream: invalid backup stream Does it look like a bug ? -- This message posted from opensolaris.org
Sry, the script was cut off, ending part is: mp/ddtest-snap2.zfs ============ It works in OpenSolaris b134, but not in OpenIndiana b147, nor Solaris Express 11, where zfs receive exists on second incremental snapshot with error message: cannot receive incremental stream: invalid backup stream Does it look like a bug ? -- This message posted from opensolaris.org