From owner-freebsd-questions@freebsd.org Sun Apr 28 08:23:37 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40E1315769F2 for ; Sun, 28 Apr 2019 08:23:37 +0000 (UTC) (envelope-from dr.klepp@gmx.at) Received: from vie01a-dmta-at51-1.mx.upcmail.net (vie01a-dmta-at51-1.mx.upcmail.net [62.179.121.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CF5B689B69 for ; Sun, 28 Apr 2019 08:23:36 +0000 (UTC) (envelope-from dr.klepp@gmx.at) Received: from [172.31.216.41] (helo=vie01a-pemc-psmtp-at50) by vie01a-dmta-at51.mx.upcmail.net with esmtp (Exim 4.91) (envelope-from ) id 1hKf5q-0006Yq-87 for freebsd-questions@freebsd.org; Sun, 28 Apr 2019 10:23:26 +0200 Received: from [192.168.0.100] ([85.126.97.210]) by vie01a-pemc-psmtp-at50 with SMTP @ mailcloud.upcmail.net id 5kPJ2001L4YLlkt0BkPJDe; Sun, 28 Apr 2019 10:23:19 +0200 X-SourceIP: 85.126.97.210 X-CNFS-Analysis: v=2.2 cv=O6RJhF1W c=1 sm=2 tr=0 a=/Ac8Q0O/YFE5LOLfUiYZVw==:117 a=/Ac8Q0O/YFE5LOLfUiYZVw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=yMhMjlubAAAA:8 a=auHYCxwYAAAA:8 a=vkwdUgHCLIIKoUbZwsUA:9 a=QEXdDO2ut3YA:10 a=67XU6oJk2Lrwzah0vfu5:22 From: "Dr. Nikolaus Klepp" To: freebsd-questions@freebsd.org Subject: Re: saving "zfs send" to a Windows host Date: Sun, 28 Apr 2019 10:23:34 +0200 User-Agent: KMail/1.9.10 References: <20190423054243.GA4659@admin.sibptus.ru> <20190428075047.GA50334@admin.sibptus.ru> In-Reply-To: <20190428075047.GA50334@admin.sibptus.ru> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201904281023.34436.dr.klepp@gmx.at> X-Rspamd-Queue-Id: CF5B689B69 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Apr 2019 08:23:37 -0000 Anno domini 2019 Sun, 28 Apr 14:50:47 +0700 Victor Sudakov scripsit: > Carmel NY wrote: > > > > > >> However, I believe you can install bash in Windows 10. In fact, you= =20 > > >> can install an entire linux bistro right into Windows 10. > > >> > > >> Not sure if that will help you or not, but it might be worth losing= =20 > > >> into (I'm not a Windows person, Windows is the thing I avoid when=20 > > >> possible). > > >> > > >> =20 > > > > > >As a parenthesis=E2=80=A6 > > > > > >This is =E2=80=98Windows Subsystem for Linux=E2=80=99 (I don=E2=80=99t= use it, but I work=20 > > >with some techie Windows folk who have used it and approve, and I=E2= =80=99ve=20 > > >used it to teach =E2=80=98how to get by on Unix=E2=80=99 classes to fo= lk including=20 > > >Windows laptop users). > > > > > >It=E2=80=99s a bit of a misnomer, in that (as far as I understand thin= gs)=20 > > >it=E2=80=99s really GNU/Windows, in the sense that =E2=80=98GNU/Linux= =E2=80=99 is the GNU=20 > > >userland on the Linux kernel. It=E2=80=99s the majority of an Ubuntu = (or=20 > > >similar) distro built for the Windows kernel. > > > > > >I understand that intimate interaction with device drivers presents=20 > > >occasional problems, and the fact you=E2=80=99re on the only-just-POSI= X=20 > > >Windows filesystem will occasionally bite you, but apart from that it= =20 > > >works better than one might anticipate. If you=E2=80=99re obliged to = use a=20 > > >Windows 10 machine for some reason, this might be how to do it. > > > > > >=E2=80=A6close parenthesis. > > > > > >Norman > >=20 > > I believe if you want to know something, it is best to go straight to > > the source. I have used Microsoft forums in the past when I need > > accurate information and not just guesses. I would suggest that the OP > > start here > > > > , find an appropriate forum and post his question. At the very least, > > someone will direct him to the best place to ask his question. >=20 > The OP (that was me) humbly asked what can be used to send a zfs stream > to a Windows host for storage there, because mount_smbfs is not usable > any more. I was advised to install sshd on Windows. >=20 > However, if receiving a byte stream from FreeBSD will involve the > installation of the whole Penguin on Windows, I'd abstain. >=20 > Maybe I'll find an implementation of dd for Windows, or I'll give up the > sshd idea (which seemed brilliant at first). >=20 > And no, the host on the other side of the ssh connection is not even > Windows 10. >=20 > If I asked about receiving a zfs stream from Unix on a Windows forum, > I'd perhaps become a laughing stock. >=20 Hm .. you might use netcat on windows to receive the bytestream. https://nm= ap.org/ncat/ fire up ssh to windows, start netcat there, close session. send zfs snapsho= t to windows with nc, like so: ssh somebody@windows "ncat -l 9999 -o some-file-for-snapshot" & zfs .... | nc windows-host 9999 Nik =2D-=20 Please do not email me anything that you are not comfortable also sharing w= ith the NSA, CIA ...