DragonFly users List (threaded) for 2009-07
DragonFly BSD
DragonFly users List (threaded) for 2009-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: hammer mirror shows differrent results from differrent terminals


From: Siju George <sgeorge.ml@xxxxxxxxx>
Date: Mon, 20 Jul 2009 14:08:51 +0530

On Thu, Jul 16, 2009 at 8:16 AM, Matthew
Dillon<dillon@apollo.backplane.com> wrote:
> :hammer synctid /Backup1/Data quick
> :hammer mirror-copy /Backup1/Data /Backup2/Data
> :
> :Or should i kill all the "mirror-stream" processes
>
>    You should kill all the mirror-stream processes before doing a
>    mirror-copy.  The mirroring utility is not designed to handle
>    parallel feeds to the same PFS target.
>

OK I use the lines

pkill hammer
hammer synctid /Backup1/Data quick
hammer mirror-copy /Backup1/Data /Backup2/Data

at the end of /etc/rc.shutdown

the "pkill hammer" command kills all "mirror-stream" processes but
does not kill any kernel helper threads. Is that OK?

also while starting "hammer mirror-stream" using /etc/rc.local there
are 3 mirror-stream processes.

root    574  0.0  0.0   396  136 con- IL    8:31AM   0:00.00 hammer
mirror-stream /Backup1/Data /Backup2/Data
root    591  0.0  0.0  1100  236 con- IL    8:31AM   0:00.00 hammer
mirror-stream /Backup1/Data /Backup2/Data
root    592  0.0  0.0  1100  224 con- IL    8:31AM   0:00.00 hammer
mirror-stream /Backup1/Data /Backup2/Data

Is this OK? I have a doubt since you said " The mirroring utility is
not designed to handle
   parallel feeds to the same PFS target."

Thanks

Siju



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]