From nobody Thu May 27 18:37:05 2021 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 33626C7ED3A for ; Thu, 27 May 2021 18:37:11 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Frc462YMlz4fpC for ; Thu, 27 May 2021 18:37:09 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 83D6210A5 for ; Thu, 27 May 2021 14:37:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 27 May 2021 14:37:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=AcnnU3sved6kb85IkS1FUUYDlUR JOAV8O10PKexoGeM=; b=u9fEmzZYz3NSFEm9oGF3lsrNHA6l4KAbEmld+ZW9OpP uLs+bTceauxn0Dneoon4qFB6rIOHV0f8UcbpsXZ86nMRpk9tEPJN0sWgs8HMDmFX Diys6s1iPoNF4vvo8+Jy3zVzKq4DEU7XiztnNg81oqhc0Un7sNGa11+dYkioJ+/J sggJmEnurZcBjFP57zbFMq7ssjLU+9ocXMPZElsxPVQ9E9Eo7KRqsAY3XQswoUsp VDnODtO5cLgz+r7rFS/Aa/7J60cSIfIOACVRLVQzVQNdxHqjFBIfpJWufmU1xmVu Y6kXRvjqnV0nBRIdQ1mc18oRkn02ixD3ly9SiM2RLKQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=AcnnU3 sved6kb85IkS1FUUYDlURJOAV8O10PKexoGeM=; b=TId+C9w7rCWK0qxKRfeE+R QX7BLlpE/FO3D1bpqV5z1DfvK/XEFfZrPgHksflYp7FCU5Fcinja9LcUNRAiTtTe G7vEDNeC5UCn5JkE90R6eCE0kPBCr2itBSdUNkkemySTz9MlW1NzX/ZAy3jL3ECI Sxz1TFxSwBA0sPoVK6DVjpxSzrPBV/fB8VtSpsz98m7X5UDf+wfdPqrFVQETAVkG AEsL0oBeBWVpuGZwDp/cZss+GSx+2ulhOpSjLfPa+5u014ZKF9uQVYFq1W14kmSk fMxwtWpMJRXkP9NF786F7dLqYY36ARcnW60DKs/qPHGvIFpLKBH4DB+dhQYH0nMw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekhedguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd erredttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshes iiihgihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdehiefgvddufeekkedvtdefvd ettddtkeduvdegveelffdtkeffudejvdfhudetnecukfhppeekvddrjedtrdeluddruddt tdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvg gthhdqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from ceres.zyxst.net (ceres.zyxst.net [82.70.91.100]) by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 27 May 2021 14:37:07 -0400 (EDT) Date: Thu, 27 May 2021 19:37:05 +0100 From: tech-lists To: freebsd-fs@freebsd.org Subject: Re: simple question regarding moving zfs filesystems Message-ID: Mail-Followup-To: freebsd-fs@freebsd.org References: <9C587D2D-F923-4F37-A49A-9513F5BE2B8F@FreeBSD.org> List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1Yd0gaiSqIjTeeB/" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Frc462YMlz4fpC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=u9fEmzZY; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=TId+C9w7; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.24 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-3.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.24:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; NEURAL_SPAM_SHORT(1.00)[1.000]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-fs]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from] X-ThisMailContainsUnwantedMimeParts: N --1Yd0gaiSqIjTeeB/ Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 27, 2021 at 02:26:22PM -0400, Karl Denninger wrote: > >On 5/27/2021 12:03, tech-lists wrote: >> On Thu, May 27, 2021 at 12:00:32PM +0200, Dimitry Andric wrote: >> >>> I think you can use "zfs send -R" to achieve what you want: >> >> hm, i'm doing something wrong >> >> zfs snapshot -r data@total3 >> [this works, returns to # prompt] >> >> zfs send -R -n -v data@total3 | zfs receive new [here i want a dry-run] >> >> I get this error: cannot receive: invalid stream (bad magic number) >> >"-n" means "dry run, don't actually do it", so you sent nothing and thus >receive got nothing. of course. hence the zfs recv error. I thought somehow it's know about the recv but it won't as there's a pipe thanks again --=20 J. --1Yd0gaiSqIjTeeB/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmCv5sYACgkQs8o7QhFz NAWHFw/9EwkNQUEJsy5m6Z9ZaWNBe3VeNW7PtkS4IqLD+JeZ3SoJbTDMzQJlURqa PFA3snljb1MRZZvBMrcL50cd1NtewP6UB6p1LKOZ5LiPJ+hAJWQ4d9oPOeMEuzqA ZQ5pNczq4CHwCB02ssYkwG2KISYSTmY2NIYn/Pp6pEfSHBPAkBYCiS7MBYQfpW6j a2co2aHadTqq7gDfxYE6A6UEyg6Kd04IK+DxAG22/8byKvmTAUOinQ7cRIhwP3Ie 1fnDDUyXpQauhBTw43z2JFPDbPNHmtY+EvK37uDWcJU4ezAzwhCP+hq64gFaFDW/ S2N52wkT9fHt9YDWajiLCqsRba1O26sZUM5PopfYnKv8xGt/D7rMAAyGf8GW93MJ TDd4AZ6t6BhDMExkTKcThZgdbJFaHMQN/oIL1JO6+ex0cxoO12+nyXOuDWJwJ3y6 miOPaEADjkR5tH3pI81ShPLigFOF0GpkO6ZgbKywvujsZjFMohS29wd+Dy8+kkmN O3FxZYlLQGWjFr3uAAAQkQ6ytsV7j3PXdPJchq5tgyVDkWG0aoff3RDJ2VAugZYe h3DTp3Gt0spmmgEV2xefue0QMyqiWZ68a0VVO9DH6/YqvH5zqNMIgY1f22o+9G/3 Ea65CMsgOXxDNhJY7HjlQ+iBhwFF2PqgWxvctFjkk+fsITddSzc= =nZdD -----END PGP SIGNATURE----- --1Yd0gaiSqIjTeeB/--