Add pre-emptive disk size validation for bhyve reprovision
- Add checkDiskSizes step before destroyOldDisk0 to validate that new image size does not exceed current disk0 size
- Prevents data loss by failing early with clear error message if new image would be larger than existing disk
- Remove setQuotaBhyveAfterReprovision step that attempted to fix quotas after potential failure
- Use zfs get volsize and imgadm get to compare current disk size vs new image size
- Convert sizes appropriately (bytes vs MiB) for accurate comparison
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply at anthropic.com>
Add pre-emptive disk size validation for bhyve reprovision
- Add checkDiskSizes step before destroyOldDisk0 to validate that new image size does not exceed current disk0 size
- Prevents data loss by failing early with clear error message if new image would be larger than existing disk
- Remove setQuotaBhyveAfterReprovision step that attempted to fix quotas after potential failure
- Use zfs get volsize and imgadm get to compare current disk size vs new image size
- Convert sizes appropriately (bytes vs MiB) for accurate comparison
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply at anthropic.com>
Add pre-emptive disk size validation for bhyve reprovision
- Add checkDiskSizes step before destroyOldDisk0 to validate that new image size does not exceed current disk0 size
- Prevents data loss by failing early with clear error message if new image would be larger than existing disk
- Remove setQuotaBhyveAfterReprovision step that attempted to fix quotas after potential failure
- Use zfs get volsize and imgadm get to compare current disk size vs new image size
- Convert sizes appropriately (bytes vs MiB) for accurate comparison
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply at anthropic.com>
fix refreservation, recalculate quotas
If we went from e.g. a 10G image to a 100G image, we should fix the
quotas. Additional testing still needed.
Portions generated by: Claude <noreply at anthropic.com>
OS-8680 Eliminate in-tree pwgen(1) in smartos-live
Reviewed by: Carlos Neira <carlos.neira at edgecast.io>
Reviewed by: Jonathan Perkin <jperkin at smartos.org>
Reviewed by: Carlos Neira <carlos.neira at edgecast.io>
OS-8646 Man page presence for joyent-minimal(7) and builder(7)
Reviewed by: Nahum Shalman <nahum.shalman at edgecast.io>
Reviewed by: Toomas Soome <toomas.soome at edgecast.io>
Reviewed by: Carlos Neira <carlos.neira at edgecast.io>
Approved by: Nahum Shalman <nahum.shalman at edgecast.io>