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

Re: HAMMER mirroring feature question


To: Igor Pokrovsky <ip@xxxxxxxxxxxxxx>
From: Michael Neumann <mneumann@xxxxxxxx>
Date: Fri, 10 Oct 2008 13:43:28 +0200

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



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