Project

General

Profile

Feature #7446

zpool create should support efi system partition

Added by Toomas Soome almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2016-10-02
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Since we support whole-disk configuration for boot pool, we also will need whole disk support with UEFI boot and for this, zpool create should create efi-system partition.

I have borrowed the idea from oracle solaris, and introducing zpool create -B switch to provide an way to specify that boot partition should be created. However, there is still an question, how big should the system partition be.

For time being, I have set default size 256MB (thats minimum size for FAT32 with 4k blocks). To support custom size, the set on creation "bootsize" property is created and so the custom size can be set as: zpool create B -o bootsize=34MB rpool c0t0d0
After pool is created, the "bootsize" property is read only. When -B switch is not used, the bootsize defaults to 0 and is shown in zpool get output with value '
'. Older zfs/zpool implementations are ignoring this property.

https://www.illumos.org/rb/r/219/

History

#1

Updated by Electric Monk over 2 years ago

  • % Done changed from 70 to 100
  • Status changed from New to Closed

git commit 7855d95b30fd903e3918bad5a29b777e765db821

commit  7855d95b30fd903e3918bad5a29b777e765db821
Author: Toomas Soome <tsoome@me.com>
Date:   2017-05-17T15:27:13.000Z

    7446 zpool create should support efi system partition
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
    Approved by: Dan McDonald <danmcd@kebe.com>

Also available in: Atom PDF