Bug 219001 - Installer Auto (ZFS) Partitioning creates pools with out-of-order disks
Summary: Installer Auto (ZFS) Partitioning creates pools with out-of-order disks
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-sysinstall (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-01 15:33 UTC by Peter Pauly
Modified: 2023-12-27 16:33 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pauly 2017-05-01 15:33:33 UTC
When doing a Auto ZFS Partitioning in the installer, disks are added to the pool in alphabetical order instead of numerical order. This is an issue when using more than 10 disks. For example, this is the order of disks chosen by the installer with 16 disks:

da0
da1
da10
da11
da12
da13
da14
da15
da16
da2
da3
da4
da5
da6
da7
da8
da9

The zpool is also created in this order which may cause problems or confusion for the system administrator. 

The Auto (UFS) code does not suffer from this problem. 

Tested on VMware, AMD64 with 16 100GB drives.
Comment 1 Peter Pauly 2017-05-01 17:34:38 UTC
Sorry, not da16, only 0-15 for 16 drives.
Comment 2 Peter Pauly 2017-05-01 19:02:04 UTC
Tested with RAIDZ2 on VMware ESXi-5.5.0.
Comment 3 Peter Pauly 2017-05-03 15:11:50 UTC
Tested on FreeBSD-11.0-RELEASE-amd64 and
FreeBSD-12.0-CURRENT-amd64-20170420-r317181

Problem exists on both.