Re: hammer mirror shows differrent results from differrent terminals

2009-07-20 Thread Siju George
On Thu, Jul 16, 2009 at 8:16 AM, Matthew Dillondil...@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    

Re: hammer mirror shows differrent results from differrent terminals

2009-07-20 Thread Matthew Dillon
: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

Re: hammer mirror shows differrent results from differrent terminals

2009-07-15 Thread Siju George
On Wed, Jul 8, 2009 at 9:31 PM, Matthew Dillondil...@apollo.backplane.com wrote:    Mirror-stream works on HAMMER's B-Tree elements.  Whenever a HAMMER    flush occurs (every 30-60 seconds automatically or if you sync) any    B-Tree elements which are deleted, updated, or inserted are sent

Re: hammer mirror shows differrent results from differrent terminals

2009-07-15 Thread Matthew Dillon
: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

Re: hammer mirror shows differrent results from differrent terminals

2009-07-08 Thread Siju George
On Wed, Jul 8, 2009 at 12:00 AM, Matthew Dillondil...@apollo.backplane.com wrote:    That work is still in kernel memory.  It hasn't been flushed to the    media yet.  Mirroring operations only work on data flushed to the media.    This will occur automatically every 30-60 seconds or when you

Re: hammer mirror shows differrent results from differrent terminals

2009-07-08 Thread Matthew Dillon
:Thanks a lot for your reply Matt :-) : :Could you please tell how mirror-stream actually works? :Does it work sequentially or as changes happen? : :By sequentially I mean If there are 100 files in the master then :mirror-stream copies from file 1 to 100 to the slave so if mirror has :passed from

hammer mirror shows differrent results from differrent terminals

2009-07-07 Thread Siju George
Hi, I have a master pfs and slave pfs in two differrent disks. #hammer pfs-status /Backup1/Data /Backup1/Data PFS #1 { sync-beg-tid=0x0001 sync-end-tid=0x0001000204b0 shared-uuid=94063778-6ac7-11de-a994-011617202aa6

Re: hammer mirror shows differrent results from differrent terminals

2009-07-07 Thread Matthew Dillon
:Now in xterm1 I create a test file in the master pfs : :# touch test :# ls -l :total 0 :... :# hammer mirror-copy /Backup1/Data /Backup2/Data :Mirror-read: Mirror from 0001000204b1 to 0001000204f0 :Mirror-read /Backup1/Data succeeded :# :Now I check the slave in xterm2 : :# pwd