hammer mirror shows differrent results from differrent terminals
Matthew Dillon
dillon at apollo.backplane.com
Mon Jul 20 16:27:35 PDT 2009
: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
It may not die immediately when you kill it. You definitely
want to use the lockf(1) utility to ensure that you are only
running one thing at a time (as appropriate for what you are
doing).
hammer mirror-stream forks itself twice so it can exec ssh. It
should exec ssh via those forks though I'm not sure what actually
shows up in the ps.
-Matt
Matthew Dillon
<dillon at backplane.com>
More information about the Users
mailing list