From: Borja Marcos <bor...@sarenet.es>
Sent: Thu 29-03-2012 11:49
Subject: [zfs-discuss] Puzzling problem with zfs receive exit status
> I hope someone has an idea.
> I have a replication program that copies a dataset from one server to another
> one. The replication mechanism is the obvious one, of course:
> zfs send -Ri from snapshot(n-1) snapshot(n) > file
> scp file remote machine (I do it this way instead of using a pipeline so that
> network error won't interrupt a receive data stream)
> and on the remote machine,
> zfs receive -Fd pool
> It's been working perfectly for months, no issues. However, yesterday we
> to see something weird: the zfs receive being executed on the remote machine
> exiting with an exit status of 1, even though the replication is finished,
> I see the copied snapshots on the remote machine.
> Any ideas? It's really puzzling. It seems that the replication is working (a
> zfs list -t snapshot shows the new snapshots correctly applied to the
> but I'm afraid there's some kind of corruption.
> The OS is Solaris, SunOS 5.10 Generic_141445-09 i86pc i386 i86pc.
> Any ideas?
> Thanks in advance,
> zfs-discuss mailing list
did you try to check the snapshot file with zstreamdump? It will validate the
Perhaps the information here
might be useful for you.
Max Planck Institut fuer marine Mikrobiologie
- Network Administration -
Tel.: +49 421 2028568
Fax.: +49 421 2028565
PGP public key:http://www.mpi-bremen.de/Carsten_John.html
zfs-discuss mailing list