project-trident / trident-core

Core Packages and system overlay files
http://project-trident.org
BSD 2-Clause "Simplified" License
33 stars 10 forks source link

Max Length of ZFS Pool Name is too short #73

Closed possnfiffer closed 5 years ago

possnfiffer commented 5 years ago

I've never had to use a short name for my ZFS Pool on FreeBSD. Why is the max length for a ZFS Pool Name 12? 12ismaxlength

RodMyers commented 5 years ago

That would be an upstream FreeBSD issue

possnfiffer commented 5 years ago

I can use long names for pools on vanilla FreBSD... nvmd

q5sys commented 5 years ago

I think the limit for FreeBSD is 36, 64, or 1024. (or so I was told by the ZFS Masters)

beanpole135 commented 5 years ago

Done: https://github.com/project-trident/trident-installer/commit/292ecfb3bfed538d0e13f32babb22aab27d5a7c7

Pool name length changed to 64 characters maximum (reasonable length - unable to find exact length limits in ZFS documentation, but datasets can go up to MAXNAMELEN/256 characters).