Re: hammer mirror shows differrent results from differrent terminals
: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. : :root574 0.0 0.0 396 136 con- IL8:31AM 0:00.00 hammer :mirror-stream /Backup1/Data /Backup2/Data :root591 0.0 0.0 1100 236 con- IL8:31AM 0:00.00 hammer :mirror-stream /Backup1/Data /Backup2/Data :root592 0.0 0.0 1100 224 con- IL8: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
usb 3G Modem support
Hi, I was wondering if someone is using 3G USB Modem? If any is working i will go get one of those :-) Thanks for any info. Damian Vicino
Re: hammer mirror shows differrent results from differrent terminals
On Thu, Jul 16, 2009 at 8:16 AM, Matthew Dillon 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. root574 0.0 0.0 396 136 con- IL8:31AM 0:00.00 hammer mirror-stream /Backup1/Data /Backup2/Data root591 0.0 0.0 1100 236 con- IL8:31AM 0:00.00 hammer mirror-stream /Backup1/Data /Backup2/Data root592 0.0 0.0 1100 224 con- IL8: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