Project

General

Profile

Actions

Bug #1136

closed

hammer mirror-stream only works in one direction

Added by mneumann over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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
Actions #1

Updated by dillon over 15 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
<>
Actions #2

Updated by mneumann over 15 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
Actions #3

Updated by dillon over 15 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
<>
Actions

Also available in: Atom PDF