Skip to content

Commit d33cbbb

Browse files
nabijaczlewelibehlendorf
authored andcommitted
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 <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #11158
1 parent a4efa59 commit d33cbbb

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

man/man8/zpoolprops.8

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,15 @@ This property can also be referred to by its shortened column name,
5454
.It Sy expandsize
5555
Amount of uninitialized space within the pool or device that can be used to
5656
increase the total capacity of the pool.
57-
Uninitialized space consists of any space on an EFI labeled vdev which has not
58-
been brought online
59-
.Po e.g, using
60-
.Nm zpool Cm online Fl e
61-
.Pc .
62-
This space occurs when a LUN is dynamically expanded.
57+
On whole-disk vdevs, this is the space beyond the end of the GPT –
58+
typically occurring when a LUN is dynamically expanded
59+
or a disk replaced with a larger one.
60+
On partition vdevs, this is the space appended to the partition after it was
61+
added to the pool – most likely by resizing it in-place.
62+
The space can be claimed for the pool by bringing it online with
63+
.Sy autoexpand=on
64+
or using
65+
.Nm zpool Cm online Fl e .
6366
.It Sy fragmentation
6467
The amount of fragmentation in the pool. As the amount of space
6568
.Sy allocated

0 commit comments

Comments
 (0)