Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 08:12:55 -0600
From:      Linda Kateley <lkateley@kateley.com>
To:        Zeus Panchenko <zeus@ibs.dn.ua>, FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: is there way to do "offline" mirror
Message-ID:  <56701FE7.9090805@kateley.com>
In-Reply-To: <20151215004145.69572@smtp.new-ukraine.org>
References:  <20151215004145.69572@smtp.new-ukraine.org>

next in thread | previous in thread | raw e-mail | index | archive | help
There is also a

#zpool split poolname diska diskb

That will take half the mirror off and can be imported into hostb

lk

On 12/15/15 4:41 PM, Zeus Panchenko wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> greetings,
>
> is there way to do "offline" mirror?
>
> what I mean:
>
> host A has zpool with mirror of two md(4) file backed,
> snapshots are made regularly
>
> host B has no network connection with host A
>
> what is the correct way to get on host B the same mirror of host A?
>
> variants I suggest:
>
> 1. regularly copy files of the zpool mirror from A to B?
>
> 2. regularly do something like:
>     on A: zfs sent snapshots@after-last-B-host-mirror-sync > diff-file
>     on B: cat diff-file | zfs receive
>
> 3. something else ...
>
> - -- 
> Zeus V. Panchenko				jid:zeus@im.ibs.dn.ua
> IT Dpt., I.B.S. LLC					  GMT+2 (EET)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iEYEARECAAYFAlZvRakACgkQr3jpPg/3oyp2hgCg65rK2FfC0xTjc2x7jmwWmocU
> YlgAoN5+d93OMecaU7GOXXOqwYkUU0Hb
> =2bzi
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56701FE7.9090805>