From owner-freebsd-questions@FreeBSD.ORG Sat Apr 24 21:09:59 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D6701065674 for ; Sat, 24 Apr 2010 21:09:59 +0000 (UTC) (envelope-from djp@polands.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id D7E468FC1B for ; Sat, 24 Apr 2010 21:09:58 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=5TxanRntTX9OAC4XagPzOb4UH5Mu5Wq2gEwJT3nijOM= c=1 sm=0 a=kj9zAlcOel0A:10 a=02fl1sNAWVw4WL3Wmu4WJA==:17 a=TBmusEmABWh7Ob1x0b0A:9 a=JFR9NOhhbci8O-K6msUA:7 a=e9BcMEUK8OGQWxA9eIGN4s6nWlwA:4 a=CjuIK1q_8ugA:10 a=02fl1sNAWVw4WL3Wmu4WJA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 75.87.219.217 Received: from [75.87.219.217] ([75.87.219.217:55752] helo=haran.polands.org) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.2.39 r()) with ESMTP id 30/1C-00932-52E53DB4; Sat, 24 Apr 2010 21:09:57 +0000 Received: from ararat.polands.org (ararat.polands.org [172.16.1.20]) by haran.polands.org (8.14.4/8.14.4) with ESMTP id o3OL9uOJ065332 for ; Sat, 24 Apr 2010 16:09:56 -0500 (CDT) (envelope-from djp@polands.org) Received: from ararat.polands.org (localhost [127.0.0.1]) by ararat.polands.org (8.14.3/8.14.3) with ESMTP id o3OL9uPb044802 for ; Sat, 24 Apr 2010 16:09:56 -0500 (CDT) (envelope-from djp@ararat.polands.org) Received: (from djp@localhost) by ararat.polands.org (8.14.3/8.14.3/Submit) id o3OL9uDG044801 for questions@freebsd.org; Sat, 24 Apr 2010 16:09:56 -0500 (CDT) (envelope-from djp) Date: Sat, 24 Apr 2010 16:09:56 -0500 From: Doug Poland To: questions@freebsd.org Message-ID: <20100424210955.GA44704@polands.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Re: restore via netcat not ending X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2010 21:09:59 -0000 On Fri, Apr 23, 2010 at 08:30:28PM -0500, Doug Poland wrote: > Hello, > > I've got a restore process running now that doesn't seem to want to > end. The dump (level 0) was made this morning and sent to another > host on the network. I reformatted the partition and am restoring the > 43GB dump as such... > > restore# cd /data && nc -l 1234 | restore -rf- > backup% nc restore 1234 < data.dump > > I watched the file system slowly fill up for about 4 hours, then > network and disk I/O dropped dramatically after the restore file > system is roughly the same size as the dump file. Yet the restore is > still running. > What I ended up doing was hitting C on the host that was sending the data. Then the receiving host doing restore set the permissions correctly and ended. I wonder why reading a restore from stdin causes this behavior? -- Regards, Doug