Date: Wed, 26 Jan 2011 22:10:26 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk) Message-ID: <4D409BD2.6080201@infracaninophile.co.uk> In-Reply-To: <4D4098C4.6000105@mail.zedat.fu-berlin.de> References: <4D3FDE82.4000105@mail.zedat.fu-berlin.de> <AANLkTi=udjU-MKEU%2BAHU2DyyLL3sMVcKbT3WsLGW7YTN@mail.gmail.com> <20110126195800.GM75125@dan.emsphone.com> <AANLkTimgbVvsFjc-FSdSoKe3cC6uNYNavvL1-WaCRSn4@mail.gmail.com> <20110126204233.GN75125@dan.emsphone.com> <AANLkTimJwT6pShtC2c-O2=a=78LBB8%2Bm=WoFQXTkOqk9@mail.gmail.com> <4D4098C4.6000105@mail.zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA7C435896036D539CE274801 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 26/01/2011 21:57, O. Hartmann wrote: > My thinking was simple, I thought since the two physical 1TB disks buil= d > one joint pool of 2TB overall capacity, I could simply 'mirror' this > pool to another disk of the same capacity. > Is there a way to 'send' via ZFS the data of the pool to the backup > disk, like a snapshot from one pool to another one? Yes. Predictably enough the command is 'zfs send ...' -- with a counterpart 'zfs receive ...' See zfs(1) for details. You have to send a snapshot, or the delta between a previous snapshot and a more recent one. However, it's not to difficult to turn that into effectively sending the state of a live filesystem so long as there aren't too many changes going on. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigA7C435896036D539CE274801 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1Am9kACgkQ8Mjk52CukIzmjQCdFAtJxfiP6cWELKC3kzktOfJs ogsAoIb6ditIo+i6ESUqi35wFy3N7KLs =aBc1 -----END PGP SIGNATURE----- --------------enigA7C435896036D539CE274801--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D409BD2.6080201>