Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2010 16:09:56 -0500
From:      Doug Poland <doug@polands.org>
To:        questions@freebsd.org
Subject:   Re: restore via netcat not ending
Message-ID:  <20100424210955.GA44704@polands.org>
In-Reply-To: <aa4fe50cc9a0ed4efd7b1c3c3f08375b.squirrel@email.polands.org>
References:  <aa4fe50cc9a0ed4efd7b1c3c3f08375b.squirrel@email.polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <CTRL> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100424210955.GA44704>