From owner-freebsd-current@FreeBSD.ORG Sat Jul 7 22:58:56 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E57316A46B for ; Sat, 7 Jul 2007 22:58:56 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 4219313C447 for ; Sat, 7 Jul 2007 22:58:55 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7c4d.q.ppp-pool.de [89.53.124.77]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id C0AE712883F for ; Sun, 8 Jul 2007 00:35:39 +0200 (CEST) Received: from cesar.sz.vwsoft.com (unknown [192.168.18.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 4F7733F43A for ; Sun, 8 Jul 2007 00:34:00 +0200 (CEST) Message-ID: <469014E9.5050906@vwsoft.com> Date: Sun, 08 Jul 2007 00:34:17 +0200 From: Volker User-Agent: Thunderbird 2.0.0.4 (X11/20070615) MIME-Version: 1.0 To: current@freebsd.org X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: Subject: moving a zfs pool X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2007 22:58:56 -0000 Hi, this is more likely currently a theoretical question: How does one move a zfs pool from one machine to another? I've done that in the past a lot with ufs filesystems by piping a dump through an ssh session and restoring on another machine just to move data to another system. This should also work on a per filesystem basis when using zfs but isn't there a way to move the whole pool to another machine (w/o physically moving the hard disk)? This would be the case when migrating a machine or migrating hard disks. The zfs export feature doesn't look promising for this or do I misread some bits? Please don't tell me, 42 is the answer... ;) I'm missing something I would call 'zpool dump' and 'zpool restore'. Thanks! Volker