Date: Thu, 27 May 2021 19:37:05 +0100 From: tech-lists <tech-lists@zyxst.net> To: freebsd-fs@freebsd.org Subject: Re: simple question regarding moving zfs filesystems Message-ID: <YK/m0TyYh%2B4ZX4HM@ceres.zyxst.net> In-Reply-To: <ca3377a1-d3b5-d089-6da0-58d9029d7263@denninger.net> References: <YK8yjavE7ex4KBuN@ceres.zyxst.net> <9C587D2D-F923-4F37-A49A-9513F5BE2B8F@FreeBSD.org> <YK/Cwt2yq%2BjYmVsz@ceres.zyxst.net> <ca3377a1-d3b5-d089-6da0-58d9029d7263@denninger.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YK/m0TyYh%2B4ZX4HM>