From owner-freebsd-hackers@freebsd.org Fri Jan 15 12:22:12 2016 Return-Path: Delivered-To: freebsd-hackers@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 0AD80A847C6 for ; Fri, 15 Jan 2016 12:22:12 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 6941D1F99 for ; Fri, 15 Jan 2016 12:22:11 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wm0-x22e.google.com with SMTP id u188so20963356wmu.1 for ; Fri, 15 Jan 2016 04:22:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=s37uv10JoSMCRk9/Zb0fAqjm5lVx7L44sziIxx5HtnQ=; b=ZQlZ779ejkZImcUha9ljkvki2fG2xHFwi/TnFdar5ORWS1TA6EqH+J1qHvwFFKIOx1 wsu7GFsoHZvBx0mLsI1GNzfPb24wGx6CcGHUYqs1larXgN3MJbpxJdhYgB4OQ67v0MlT sjt6DXiTnKQoiYkd7CQvu6FfDhKNngAER52Cu5jnUvu7lmwa4MV1Az3i1t7LY5mrhSsX 22wOkY7iULCwIdukvl9bhllIzr9yk+ZmNw7yZjCsgZAuEmqhxgXkfI6SnHnZ6M9JSjaa 4ZKbwmJMPRNpmm7SKYmRzvX2/V6pZejzleVJq5LuGbepC0Sj9v7ik1eClooZ3uH39tMi rNdg== 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:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=s37uv10JoSMCRk9/Zb0fAqjm5lVx7L44sziIxx5HtnQ=; b=S83PFbCu0OinSBXmtKX8dTJqDMwOWl/O4Q9/BhxhVnoxQFzQ8OsmnAQxawLwt1J7vc eXcDTpNdKX3aIxX8LjS3nFuMOFRn79qQri4iO03MXTxObQuV9rX7/vI1uemcf0ZICIs9 2Yz3QCq0Pj2253x0mxRpYUlREwvtGaXN8gZdQ1sQLMbqnSDgM8HMLuQ8AYkpS0q0j8X7 zLSU44qSkNVypXsVBii3nysreQTjmYLCAdzsnH/7YPJSgHuQ0byoILKP29EyoWr3TdDK kipMAFdwhRhjYq7xLSwx5NSyfMHpK0kbDs5EfguNwi/7V0v3lj6r+K3drBMGA3BC1YKO qBgg== X-Gm-Message-State: ALoCoQkFArllAxQuSc/k3QIjayFeu7JA98fm8aVZlBZttUDUBws8N1dWgvUqCJoahxQZtPZGO82UqSnWqU0bQfrZVNm9JVTowQ== X-Received: by 10.194.238.162 with SMTP id vl2mr9269840wjc.91.1452860529156; Fri, 15 Jan 2016 04:22:09 -0800 (PST) Received: from [10.10.1.58] (liv3d.labs.multiplay.co.uk. [82.69.141.171]) by smtp.gmail.com with ESMTPSA id q75sm2324714wmd.6.2016.01.15.04.22.07 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Jan 2016 04:22:07 -0800 (PST) Subject: Re: EFI/ZFS Update: successful tests, need more complex vdevs To: Renato Botelho References: <9418E44F-114E-4ABA-A32D-416297BCDA9F@metricspace.net> <56985C6A.6040209@multiplay.co.uk> Cc: Eric McCorkle , Gabor Radnai , freebsd-hackers@freebsd.org From: Steven Hartland Message-ID: <5698E483.4000808@multiplay.co.uk> Date: Fri, 15 Jan 2016 12:22:27 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2016 12:22:12 -0000 On 15/01/2016 11:51, Renato Botelho wrote: >> On Jan 15, 2016, at 00:41, Steven Hartland wrote: >> >> Just wanted to let everyone know that I just finished committing these changes to the tree. >> >> Huge thanks to Eric's for his work on this, as well as everyone else who contributed. >> >> I've set the target for MFC of 2 weeks, so I hope to be able to get this into stable/10 before the 10.3 slush, so if you're interested in this change please test a head build > r294068 ASAP. > Great work, thanks! > > Is there a way to move a installed ZFS system to EFI? All EFI needs is an valid EFI partition on a GPT disk and the updated loader.efi so if your devices is GPT based and you have space for an extra 800k partition then yes. The following should be the basic steps you need (untested so backup your data) 1. gpart add -t efi -s 800k 2. gpart bootcode -p /boot/boot1.efifat -i 3. Ensure your root filesystem has EFI ZFS boot compatible world e.g. cd /usr/src && make buildworld -jXX && make installworld If you have an active MBR then you will likely need to disable this as EFI seems to ignore disks with active MBR even if they have a valid EFI partition. If you don't have space then you'll need to migrate to a difference device to change the disk partition layout. Regards Steve