From owner-freebsd-questions@freebsd.org Mon Oct 24 18:58:14 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 64B8AC1FC91 for ; Mon, 24 Oct 2016 18:58:14 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 21246185 for ; Mon, 24 Oct 2016 18:58:14 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-yw0-x22c.google.com with SMTP id u124so10805043ywg.3 for ; Mon, 24 Oct 2016 11:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=v+TBWiCuY5j6fUf8uw5EtfV/j0nj92vDvHgBSWJmpBY=; b=Y5Cx8RIkPimzUXUwTUutn5TLXtbpJfinGlS/ilIQpx/hqB1QFW1ngbKGf6GbyiZLXz bJglF7uphs48gtso0MqQHQYVxxUmqzMsei0NIP91yCu/0ElXTpuCBEhs6FoAVdFNVbUJ sxqSxyMbffeBQ1VUaznVLH8wzHTwEUHoIJQlfvdjLhm/zD17LcPOJQ7FlQUGG43ueNGK 0TIThXHWqRKPYMnRb8AR/2mrGaFfg31W2DJEYSpj+YUO2Pu5Z4K+536jP5NKj23ilWSn LMm46DoEmZ0Q8iyiuWEnYFE4PQVqbU21WO1Ssy7Gmoig3lzrdJIm498SgAWyBm9LAE8W 2cyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=v+TBWiCuY5j6fUf8uw5EtfV/j0nj92vDvHgBSWJmpBY=; b=SpEd/cIjNMv7UGBz6EyA0sY/wv8xo3xiPUJeLHGwPuDxuNlemPsxyxjrQGbu4E9j/J R4z42nbCytE7RU2B0L6Xfi4JUE2zf3ZRwefyGkTGEwd0cJjdVaDD3zZXqoV42yVEztl2 Fj6xwbAXDleoGHNoP+g610VoK5dhcbPov4xywX31N7hxlhtZhCOm2uv5ATQJb7tgz42Y sKjzX9aSOKyOWMx3CezIJeDbU1qAlnwLP8VL2+RdYkYQtr965ZATTTUvX/yE2hatrQei yy7J+ajpCk5b9w8smdTtLwRjYEW0w9h+PPA9kNPl+EtKC/mAbZyzAQktHOlx3yHap3RX pNpA== X-Gm-Message-State: ABUngvfYbN6Dnu723KbEPh6rQNOAVvS4SN+JE7xx0KitIwspH9DtmNKd4rqYhCNUUpzhIA== X-Received: by 10.36.59.65 with SMTP id c62mr3438137ita.117.1477335493024; Mon, 24 Oct 2016 11:58:13 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id j69sm7869662iod.8.2016.10.24.11.58.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Oct 2016 11:58:12 -0700 (PDT) Subject: Re: ufs to zfs To: freebsd-questions@freebsd.org References: <1477220901.79813.5.camel@yandex.com> From: jd1008 Message-ID: <580E59C3.2000801@gmail.com> Date: Mon, 24 Oct 2016 12:58:11 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed 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: Mon, 24 Oct 2016 18:58:14 -0000 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"). On 10/24/2016 12:53 AM, Matthew Seaman wrote: > On 23/10/2016 12:08, Stari Karp wrote: >> The file system on my FreeBSD 11.0-RELEASE is UFS which I have all the >> time. I like to have ZFS but I do not like to reformat HD and installed >> everything again. >> The OS is installed on iMac and I use rEFIt for dual boot with OSX. I >> have also external HD which cannot be use for boot. >> Is it any chance to convert to ZFS file system, please? > You can't convert UFS to ZFS in-place. You need at least an empty > partition big enough to contain your entire system. You can then create > a new zpool from it, import the new zpool to a relocated root by 'zpool > import -R /somedir'; create appropriate ZFSes within it and then copy > over all the content from your system using eg. tar(1) or cpio(1). Then > you'll need to fix up your boot settings so your system will boot from > the zpool, which I don't know offhand how to do on a system that boots > using EFI. > > Cheers, > > Matthew >