zfs fails to expand if lun added when os is in shutdown state
38733 zfs fails to expand if lun added when os is in shutdown state
DLPX-36910 spares and caches should not display expandable space
DLPX-39262 vdev_disk_open spam zfs_dbgmsg buffer
Updated by Matthew Ahrens over 3 years ago
The problem here is that the expandable space is being calculated incorrectly. Instead of using the EFI label info (DKIOCGETEFI), we should use DKIOCGMEDIAINFO[EXT].
Additionally, the expandable capacity should be reported as a multiple of the metaslab size, since that's how much can actually be used.
Additionally, we should not spam zfs_dbgmsg().
Updated by Electric Monk over 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit c39a2aae1e2c439d156021edfc20910dad7f9891 Author: George Wilson <email@example.com> Date: 2016-07-19T23:58:09.000Z 7072 zfs fails to expand if lun added when os is in shutdown state Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: Dan Kimmel <email@example.com> Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Reviewed by: Prakash Surya <email@example.com> Reviewed by: Alex Reece <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>