HAMMER mirroring feature question

Michael Neumann mneumann at ntecs.de
Fri Oct 10 04:43:28 PDT 2008


Igor Pokrovsky wrote:
I was following instructions from HAMMER manual page to create a mirror
like this
# hammer pfs-master /home/pfs/master

Creating PFS #3 succeeded!
/home/pfs/master
    sync-beg-tid=0x0000000000000001
    sync-end-tid=0x0000000161a85910
    shared-uuid=ac6bce37-96ab-11dd-8310-01055d75dad0
    unique-uuid=ac6bce9e-96ab-11dd-8310-01055d75dad0
    label=""
    operating as a MASTER
    snapshots dir for master defaults to <fs>/snapshots
# hammer pfs-slave /home/pfs/slave shared-uuid=ac6bce37-96ab-11dd-8310-01055d75dad0

Creating PFS #4 succeeded!
/home/pfs/slave
    sync-beg-tid=0x0000000000000001
    sync-end-tid=0x0000000000000001
    shared-uuid=ac6bce37-96ab-11dd-8310-01055d75dad0
    unique-uuid=d24e60f1-96ab-11dd-8310-01055d75dad0
    slave
    label=""
    operating as a SLAVE
    snapshots directory not set for slave
# mount_null /home/pfs/master /home/master
# mount_null /home/pfs/slave /home/slave
mount_null: /home/pfs/@@0x0000000000000001:00004: No such file or
directory
# hammer mirror-copy /home/master /home/slave
Try this:

# hammer mirror-copy /home/pfs/master /home/pfs/slave

Regards,

  Michael





More information about the Users mailing list