FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Jan 26 22:10:40 UTC 2011


On 26/01/2011 21:57, O. Hartmann wrote:
> My thinking was simple, I thought since the two physical 1TB disks build
> 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

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110126/ab7d1a79/signature.pgp


More information about the freebsd-questions mailing list