is there way to do "offline" mirror

Linda Kateley lkateley at kateley.com
Tue Dec 15 14:12:57 UTC 2015


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 at after-last-B-host-mirror-sync > diff-file
>     on B: cat diff-file | zfs receive
>
> 3. something else ...
>
> - -- 
> Zeus V. Panchenko				jid:zeus at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"



More information about the freebsd-fs mailing list