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

Re: cvs commit: src/sbin/hammer cmd_mirror.c cmd_pseudofs.c hammer.8 hammer.c hammer.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 31 Jul 2008 09:35:42 -0700 (PDT)

:That's pretty cool! One question though: If I'd like to have the exact
:same snapshots on each machine, is that as easy as just "copying" the
:softlinks? That is, are the transaction ids (those @@0x... numbers :)
:identical on the master and it's mirrors?
:
:Regards,
:
:   Michael

    If you mirror you should get all the snapshots...  the transaction
    ids will match up, so copying the softlinks (assuming they are not
    stored in the master PFS already) would work.  If the softlinks are
    already stored in the same master PFS, which is more typical, then
    they should have already been transported along with the rest of the
    mirror.

    You can test by CD'ing into the snapshot and doing a (tar cf - . | md5)
    on your master and on your slave and you should get the same result.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



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