Date: Wed, 26 Oct 2016 09:15:13 +0100 From: Steve O'Hara-Smith <steve@sohara.org> To: freebsd-questions@freebsd.org Cc: Polytropon <freebsd@edvax.de> Subject: Re: ufs to zfs Message-ID: <20161026091513.5933ba16c643cd1fe12ef7dd@sohara.org> In-Reply-To: <20161026015212.07535ece.freebsd@edvax.de> References: <1477220901.79813.5.camel@yandex.com> <bd37effb-7cf6-55ba-2dd7-193948b8dbf2@FreeBSD.org> <580E59C3.2000801@gmail.com> <20161026015212.07535ece.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Oct 2016 01:52:12 +0200 Polytropon <freebsd@edvax.de> wrote: > 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? AFAICT it shouldn't care, as you say it's working in a mounted filesystem so it should all be on top of the VFS layer. I've just tried a dump | restore from UFS into a ZFS target, it worked fine. -- Steve O'Hara-Smith <steve@sohara.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161026091513.5933ba16c643cd1fe12ef7dd>
