From owner-freebsd-questions@freebsd.org Tue Oct 25 23:52:23 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AE6DC22F44 for ; Tue, 25 Oct 2016 23:52:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0337DC for ; Tue, 25 Oct 2016 23:52:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-117-205.dynamic.qsc.de [92.195.117.205]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E62AF2766F; Wed, 26 Oct 2016 01:52:13 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u9PNqCk6003006; Wed, 26 Oct 2016 01:52:12 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 26 Oct 2016 01:52:12 +0200 From: Polytropon To: jd1008 Cc: freebsd-questions@freebsd.org Subject: Re: ufs to zfs Message-Id: <20161026015212.07535ece.freebsd@edvax.de> In-Reply-To: <580E59C3.2000801@gmail.com> References: <1477220901.79813.5.camel@yandex.com> <580E59C3.2000801@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2016 23:52:23 -0000 On Mon, 24 Oct 2016 12:58:11 -0600, jd1008 wrote: > The OP says he does have an external drive which the bios does not allow > booting from. > He can he back up (tar) the current system that is UFS based to the > external drive, > clobber the ufs partition by simply formatting it as a ZFS partition, > and at some > point, (after appropriate admin of zfs partition), tar the system back > into the zfs partition. > Is this "doable"? (Pardon the bad "english"). Follow-up question: Would it be technically possible to obtain the UFS data using the "dump" program, then mount the (newly created) ZFS target and use "restore" to the target directory? I've been using tar and cpio, but would the dump | restore approach be possible too, even though it's usually intended for UFS? If I understand things correctly, dump operates block-wise on the file system level (and therefore prefers an unmounted partition), while restore works file-wise and needs an initialized and mounted file system to output the files. Would restore work if the target file system is ZFS? Does it care? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...