ufs to zfs
freebsd at edvax.de
Tue Oct 25 23:52:23 UTC 2016
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").
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?
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions