zpoolprops.8: clarify vdev expansion rules

Remove reference to EFI(?), explain that the new space
is beyond the GPT for whole-disk vdevs, and add section noting how it
behaves with partition vdevs in terms of how the user is most likely to
encounter it ‒ the previous phrasing was confusing
and seemed to indicate that "zpool online -e" will be able to claim

  GPT[whatever, ZFS, free space, whatever]

into

  GPT[whatever, ZFS, whatever]
but that's not the case, as it'll only be able to do so after manually
resizing the ZFS partition to include the free space beforehand, i.e.:
  GPT[whatever, ZFS, free space, whatever]
  GPT[whatever, [ZFS + free space], potentially left-overs, whatever]
  # zpool online -e
  GPT[whatever, ZFS, whatever]

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11158
This commit is contained in:
наб 2020-11-10 21:48:26 +01:00 committed by GitHub
parent 1a0b4f566c
commit b60ae3a5dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 6 deletions

View File

@ -54,12 +54,15 @@ This property can also be referred to by its shortened column name,
.It Sy expandsize .It Sy expandsize
Amount of uninitialized space within the pool or device that can be used to Amount of uninitialized space within the pool or device that can be used to
increase the total capacity of the pool. increase the total capacity of the pool.
Uninitialized space consists of any space on an EFI labeled vdev which has not On whole-disk vdevs, this is the space beyond the end of the GPT
been brought online typically occurring when a LUN is dynamically expanded
.Po e.g, using or a disk replaced with a larger one.
.Nm zpool Cm online Fl e On partition vdevs, this is the space appended to the partition after it was
.Pc . added to the pool most likely by resizing it in-place.
This space occurs when a LUN is dynamically expanded. The space can be claimed for the pool by bringing it online with
.Sy autoexpand=on
or using
.Nm zpool Cm online Fl e .
.It Sy fragmentation .It Sy fragmentation
The amount of fragmentation in the pool. As the amount of space The amount of fragmentation in the pool. As the amount of space
.Sy allocated .Sy allocated