From owner-freebsd-stable@FreeBSD.ORG Wed Oct 20 13:11:58 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58D001065675 for ; Wed, 20 Oct 2010 13:11:58 +0000 (UTC) (envelope-from derek@csolve.net) Received: from mail.csolve.net (mail.csolve.net [207.164.80.200]) by mx1.freebsd.org (Postfix) with ESMTP id 30D7E8FC1B for ; Wed, 20 Oct 2010 13:11:58 +0000 (UTC) Received: from alpha.csolve.local ([10.10.18.126]) by mail.csolve.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1P8YDD-000ERi-Rk; Wed, 20 Oct 2010 08:56:11 -0400 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Derek Buttineau X-Priority: 3 (Normal) In-Reply-To: Date: Wed, 20 Oct 2010 08:56:11 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "Dan Langille" X-Mailer: Apple Mail (2.1081) X-Authenticated-Id: derek@csolve.net Cc: freebsd-stable@freebsd.org Subject: Re: 'zfs send -i': destination has been modified X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 13:11:58 -0000 Seeing similar here Dan, my destination filesystems are becoming = modified sometime after the previous snapshot has been sent so the = incremental fails to be received. However, the server I'm sending to is = not in use so I can't explain why it's changing. =20 When I run a zdiff on the receiving system's filesystem, it can't find = any changes in the file, but the byte difference between the snapshot = and current can range from anywhere from 32KB to 101MB so far in my = testing.=20 If I rollback the filesystem to the last received snapshot it works, but = I have no explanation for it changing. I disabled everything that was running on the receiving system yesterday = afternoon and there's been no change since, so now I need to step = through and see if I can figure out what process was causing the byte = difference on the filesystems. Derek On 2010-10-20, at 8:32 AM, Dan Langille wrote: > I am trying to do a 'zfs send -i' and failing. >=20 > This is my simple proof of concept test: >=20 > Create the data > # zfs create storage/a > # touch /storage/a/1 > # touch /storage/a/2 > # touch /storage/a/3 >=20 > Snapshot > # zfs snapshot storage/a@2010.10.19 >=20 > send > # zfs send storage/a@2010.10.19 | zfs receive -v storage/compressed/a > receiving full stream of storage/a@2010.10.19 into > storage/compressed/a@2010.10.19 > received 252KB stream in 2 seconds (126KB/sec) > # >=20 >=20 >=20 > Create one more file and snapshot that >=20 > # touch /storage/a/4 > # zfs snapshot storage/a@2010.10.20 >=20 >=20 > send it >=20 > # zfs send -i storage/a@2010.10.19 storage/a@2010.10.20 | zfs receive = -v > storage/compressed/a > receiving incremental stream of storage/a@2010.10.20 into > storage/compressed/a@2010.10.20 > received 250KB stream in 3 seconds (83.4KB/sec) >=20 > What do we have? >=20 > # find /storage/compressed/a > /storage/compressed/a > /storage/compressed/a/1 > /storage/compressed/a/2 > /storage/compressed/a/3 > /storage/compressed/a/4 >=20 >=20 > Of note: >=20 > * FreeBSD 8.1-STABLE > * ZFS filesystem version 4. > * ZFS pool version 15. > * zfs send is on compression off > * zfs receive has compression on >=20 > What I actually want to do and what fails: >=20 >=20 > # zfs snapshot storage/bacula@2010.10.19 >=20 > # zfs send storage/bacula@2010.10.19 | zfs receive -v > storage/compressed/bacula > receiving full stream of storage/bacula@2010.10.19 into > storage/compressed/bacula@2010.10.19 > received 4.38TB stream in 42490 seconds (108MB/sec) >=20 > # zfs snapshot storage/bacula@2010.10.20 >=20 > # zfs send -i storage/bacula@2010.10.19 storage/bacula@2010.10.20 | = zfs > receive -v storage/compressed/bacula > receiving incremental stream of storage/bacula@2010.10.20 into > storage/compressed/bacula@2010.10.20 > cannot receive incremental stream: destination = storage/compressed/bacula > has been modified > since most recent snapshot > warning: cannot send 'storage/bacula@2010.10.20': Broken pipe >=20 > I have no idea why this fails. Clues please? >=20 > To my knowledge, the destination has not been written to. >=20 >=20 > --=20 > Dan Langille -- http://langille.org/ >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org"