From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3111BC433DB for ; Sun, 10 Jan 2021 12:39:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED9A0229CA for ; Sun, 10 Jan 2021 12:39:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726254AbhAJMjI convert rfc822-to-8bit (ORCPT ); Sun, 10 Jan 2021 07:39:08 -0500 Received: from mail.eclipso.de ([217.69.254.104]:59052 "EHLO mail.eclipso.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726069AbhAJMjH (ORCPT ); Sun, 10 Jan 2021 07:39:07 -0500 Received: from mail.eclipso.de (www1.eclipso.de [217.69.254.102]) by mail.eclipso.de with ESMTP id 4C74405D for ; Sun, 10 Jan 2021 13:38:26 +0100 (CET) Date: Sun, 10 Jan 2021 13:38:26 +0100 MIME-Version: 1.0 Message-ID: X-Mailer: eclipso / 7.4.0 From: " " Subject: Re: Re: btrfs send / receive via netcat, fails halfway? Reply-To: " " To: "Roman Mamedov" Cc: In-Reply-To: <20210110163705.1852c4a7@natsu> References: <0440549b7c78763ce787b03341ca5b9f@mail.eclipso.de> <20210110163705.1852c4a7@natsu> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org It is a common annoyance that NC doesn't exit in such scenario and needs to be Ctrl-C'ed after verifying that the transfer is over. Instead, at host2 try: ssh host1 "btrfs send ..." | btrfs receive ... Also much more secure. -- With respect, Roman I was practicing on a test system, the real transfer was supposed to be between two systems on a LAN. I didn't want encryption, as my system then only is capable of sending 30MB/sec, instead of the 110MB/sec over the 1GB network. --- Take your mailboxes with you. Free, fast and secure Mail & Cloud: https://www.eclipso.eu - Time to change!