-----Original message----- To: zfs-discuss@opensolaris.org; From: Borja Marcos <bor...@sarenet.es> Sent: Thu 29-03-2012 11:49 Subject: [zfs-discuss] Puzzling problem with zfs receive exit status > > Hello, > > 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 > a > 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 > began > to see something weird: the zfs receive being executed on the remote machine > is > exiting with an exit status of 1, even though the replication is finished, > and > 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 > dataset) > 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, > > > > > > Borja. > > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
Hi Borja, did you try to check the snapshot file with zstreamdump? It will validate the checksums. Perhaps the information here http://blog.richardelling.com/2009/10/check-integrity-of-zfs-send-streams.html might be useful for you. Carsten -- Max Planck Institut fuer marine Mikrobiologie - Network Administration - Celsiustr. 1 D-28359 Bremen Tel.: +49 421 2028568 Fax.: +49 421 2028565 PGP public key:http://www.mpi-bremen.de/Carsten_John.html _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss