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

Matthew Dillon dillon at apollo.backplane.com
Thu Jul 31 09:38:38 PDT 2008


: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 at backplane.com>





More information about the Commits mailing list