ufs to zfs
Steve O'Hara-Smith
steve at sohara.org
Wed Oct 26 08:15:27 UTC 2016
On Wed, 26 Oct 2016 01:52:12 +0200
Polytropon <freebsd at 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 at sohara.org>
More information about the freebsd-questions
mailing list