Date: Wed, 26 Oct 2016 09:21:06 +0100 From: krad <kraduk@gmail.com> To: Polytropon <freebsd@edvax.de> Cc: jd1008 <jd1008@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: ufs to zfs Message-ID: <CALfReycQKq%2BWN38QUs=iXa_8DoDpKZUri9KdH_8MXv%2BwMJLKsw@mail.gmail.com> 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
Personally, i would insert a usb stick or other new drive. Partition it up with gpt layout, create the pool, install the boot blocks, then rsync the system onto the zfs filesystems. Whilst doing this i would also make sure the new layout is boot environment compatible. One this is done you could test booting off the new drive, either with the machine its on, or another one in a clean network environment. When you are happy with it, boot off it in the production machine into single user mode, reinitialise the original boot drive. Create the gpt layout you want on the old drive, then add the zfs partition to the pool on the external drive so its a mirror. Finish up sorting out the boot blocks and then split the mirror. You should now have a zfs based system On 26 October 2016 at 00:52, Polytropon <freebsd@edvax.de> wrote: > 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, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReycQKq%2BWN38QUs=iXa_8DoDpKZUri9KdH_8MXv%2BwMJLKsw>