HAMMER mirroring feature question

Igor Pokrovsky ip at doom.ctinet.ru
Fri Oct 10 03:16:36 PDT 2008


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

mirror-write: source and target have different shared-uuid's!
validate_mrec_header: short read


Can you please clarify to me what am I doing wrong?

Thanks,
-ip






More information about the Users mailing list