Re: problem to copy a (possibly large) file over a network device

2019-08-02 Thread Stuart Henderson
On 2019-08-01, Rudolf Sykora wrote: > (The problem stays with scp, or anything, once a network device > (localhost is enough) participates.) (For your tar | nc, you'll need nc -N or nc -w1 or something to shutdown the connection after the end of file, though this is beside the point if other

Re: problem to copy a (possibly large) file over a network device

2019-08-01 Thread Rudolf Sykora
Nick Holland writes: > On 7/31/19 3:45 AM, Rudolf Sykora wrote: > [probably irrelevant stuff snipped] I believe you snipped quite a relevant part. > Well, that looks broke. Not supposed to do that. yes. > Well, looking at the version of OpenBSD that you are using ... oh. 6.5

Re: problem to copy a (possibly large) file over a network device

2019-08-01 Thread Nick Holland
On 7/31/19 3:45 AM, Rudolf Sykora wrote: > Dear list, [probably irrelevant stuff snipped] > I actually wanted to do a backup of the subtree with rsync over the > network, but that didn't work, spitting sth. like > > rsync error: unexplained error (code 255) at io.c(820) [sender=3.1.3] >

Re: problem to copy a (possibly large) file over a network device

2019-08-01 Thread Rudolf Sykora
Rudolf Sykora writes: > In one terminal: > ;tar -cf - www | pv | nc localhost 7000 > > In another terminal: > ;nc -l 7000 | pv | tar -xpf - are there some settings which I could try to change? (Some files are >10GB, if that matters.) Thanks Ruda

problem to copy a (possibly large) file over a network device

2019-07-31 Thread Rudolf Sykora
Dear list, I am able to copy a subtree 'www' with the command ; tar -cf - www | pv| (cd ~ruda/tmp/test && tar -xpf -) but I can't do the same with In one terminal: ;tar -cf - www | pv | nc localhost 7000 In another terminal: ;nc -l 7000 | pv | tar -xpf - [ I actually wanted to do a backup