Bug #1136

hammer mirror-stream only works in one direction

Added by mneumann almost 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hi,

This works:

192.168.5.1 # hammer mirror-stream /src 192.168.5.2:/dest

This not:

192.168.5.2 # hammer mirror-stream 192.168.5.1:/src /dest

It exits with "validate_mrec_header: short read".

Regards,

Michael

History

#1 Updated by dillon almost 6 years ago

:Hi,
:
:This works:
:
: 192.168.5.1 # hammer mirror-stream /src 192.168.5.2:/dest
:
:This not:
:
: 192.168.5.2 # hammer mirror-stream 192.168.5.1:/src /dest
:
:It exits with "validate_mrec_header: short read".
:
:Regards,
:
: Michael

Are these boxes running DragonFly 2.0 or running DragonFly HEAD ?

Make sure the hammer utility is up to date on both boxes. If you
are running 2.0 there might be some issues... you could try compiling
up the hammer utility in HEAD on both boxes.

-Matt
Matthew Dillon
<>

#2 Updated by mneumann almost 6 years ago

I think I found the bug!

In sbin/hammer/cmd_mirror.c, replace "mirror-read-streaming" with
"mirror-read-stream"!

Can someone please commit this?

Regards,

Michael

#3 Updated by dillon almost 6 years ago

:I think I found the bug!
:
:In sbin/hammer/cmd_mirror.c, replace "mirror-read-streaming" with
:"mirror-read-stream"!
:
:Can someone please commit this?
:
:Regards,
:
: Michael

Done!

-Matt
Matthew Dillon
<>

Also available in: Atom PDF