From owner-freebsd-questions@freebsd.org Mon Oct 24 06:54:01 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 85BA2C1FCF6 for ; Mon, 24 Oct 2016 06:54:01 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 123A01D7 for ; Mon, 24 Oct 2016 06:54:01 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:1c1d:86a1:a200:b700]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 9FF354CDB for ; Mon, 24 Oct 2016 06:53:57 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/9FF354CDB; dkim=none; dkim-atps=neutral Subject: Re: ufs to zfs To: freebsd-questions@freebsd.org References: <1477220901.79813.5.camel@yandex.com> From: Matthew Seaman Message-ID: Date: Mon, 24 Oct 2016 07:53:57 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1477220901.79813.5.camel@yandex.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tsuUuVwHtig8r9fbmBAruHQbR6eI8TQSc" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk 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 06:54:01 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tsuUuVwHtig8r9fbmBAruHQbR6eI8TQSc Content-Type: multipart/mixed; boundary="6QCKFo2tXd4i3k8oT0LJkfxr6b6KJVeo9"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: Subject: Re: ufs to zfs References: <1477220901.79813.5.camel@yandex.com> In-Reply-To: <1477220901.79813.5.camel@yandex.com> --6QCKFo2tXd4i3k8oT0LJkfxr6b6KJVeo9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 --6QCKFo2tXd4i3k8oT0LJkfxr6b6KJVeo9-- --tsuUuVwHtig8r9fbmBAruHQbR6eI8TQSc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJYDbAFXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATAmYP/RK/cgXmh39p8jYSut80MTp4 3XLnYXHhiEVq9YzpohAO/57a2qRnwbzCRCzRxnC8fVhu0UtRLweK2rvZVvXF2IGp ykC0o8l8nHMYC+UAulpaqaCtopxw/iaSfdubkKlx248kn6BGbKPp1bHXj0vqTPFg /YktdL1RlW3Ajs8XDkgsJV+4jtqJUBQXNlMeAbz2KfUkHk5JHSDMTVqJ4oG1X97a j/c5/JoHkS34Y8XqEm4ig5S0UsBTIn8aIkAAStWCWAJXvnWtTxqw3slyehsbdCrt e7MqMNqf06wDNppsJ6bRaxm9o0cbLgaSnjVfx2TOkB4PbBkKI24f1172jOVkIuOY BBz2XKEfB6000/cLuBab2GYF+0cOyotJ44UWX1cw8eh8fzFAjzSy3MKS4VY/DPM9 o08RejDjvO3Kg6jli73fHAk5+oMJCQu5HSoVH4ncVGfLaXuz4ljFbur3Cyq0Ud26 QMRK/0L0TZjlCmchVp2SjKBaboID655vY18x1qqSBpmpdh0Of3VLgIZT6HeVEj2i vO+Bi5dBo4f41UZMfz8O/luPd4OCE0Jio9cYyNFfuvY84o7+NNwDYGgmfa1hUG7D oteugmSrkuQj4LzvQCf0YNXvlOnbzwzYoD7uXFaJw1bwB+01I1z+Xy81n07nwg3z GeIpdcqN4vtORZVA/wm4 =xlLd -----END PGP SIGNATURE----- --tsuUuVwHtig8r9fbmBAruHQbR6eI8TQSc--