Skip to content

feat(site): display NVMe data units as human-readable GB/TB - #2303

Merged
henrygd merged 2 commits into
henrygd:mainfrom
matth3wdsouza:feat/smart-data-units-human-readable
Sep 5, 2026
Merged

henrygd merged 2 commits into
henrygd:mainfrom
matth3wdsouza:feat/smart-data-units-human-readable

Conversation

@matth3wdsouza

Copy link
Copy Markdown
Contributor

📃 Description

Displays NVMe Data Units Written and Data Units Read S.M.A.R.T. values as human-readable GB/TB instead of raw unit counts, reusing the existing formatCapacity function. Only these two attributes are affected.

📖 Documentation

No documentation changes required.

🪵 Changelog

✏️ Changed

  • NVMe Data Units Written/Read now show as GB/TB in the S.M.A.R.T. details sheet.

@henrygd henrygd left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! However it looks like NVMe SMART data units are defined as 1,000 × 512 bytes, so I think the conversion should use units * 1000 * 512 rather than units * 1024 * 512.

Page 181: https://nvmexpress.org/wp-content/uploads/NVMe-NVM-Express-2.0a-2021.07.26-Ratified.pdf

@matth3wdsouza

Copy link
Copy Markdown
Contributor Author

You're right. Thanks for the correction!

Updated to use 1000 * 512 per the spec.

@henrygd henrygd left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gracias 👍

@henrygd
henrygd merged commit ad24484 into henrygd:main Sep 5, 2026
JuliusFreudenberger pushed a commit to JuliusFreudenberger/nix-config that referenced this pull request Sep 20, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [henrygd/beszel](https://github.com/henrygd/beszel) | minor | `0.19.0` → `0.20.0` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/12) for more information.

---

### Release Notes

<details>
<summary>henrygd/beszel (henrygd/beszel)</summary>

### [`v0.20.0`](https://github.com/henrygd/beszel/releases/tag/v0.20.0)

[Compare Source](henrygd/beszel@v0.19.0...v0.20.0)

#### What's Changed

- Add network monitoring from agents ([#&#8203;2266](henrygd/beszel#2266), [#&#8203;1911](henrygd/beszel#1911))
- Add container image update available flag ([#&#8203;2211](henrygd/beszel#2211))
- Add btrfs filesystem reporting as storage pools ([#&#8203;2315](henrygd/beszel#2315))
- Add persistence of view preferences and language to user settings ([#&#8203;1831](henrygd/beszel#1831))
- Add `TRUSTED_PROXY_IPS` allowlist for `TRUSTED_AUTH_HEADER` ([#&#8203;2327](henrygd/beszel#2327))
- Add ZFS utilities to Intel and NVIDIA agent images ([#&#8203;2288](henrygd/beszel#2288), [#&#8203;2311](henrygd/beszel#2311))
- Revert SMART warnings for certain attributes ([#&#8203;2296](henrygd/beszel#2296), [#&#8203;2308](henrygd/beszel#2308), [#&#8203;2347](henrygd/beszel#2347))
- Improve NVMe data units display as human-readable GB/TB ([#&#8203;2303](henrygd/beszel#2303))
- Fix agent disconnects during slow collections by extending WebSocket deadline ([#&#8203;2294](henrygd/beszel#2294))
- Fix missing root CA certificates in base agent image ([#&#8203;2291](henrygd/beszel#2291))
- Fix false RAID health warnings during healthy data scrubbing ([#&#8203;2109](henrygd/beszel#2109))
- Fix ZFS monitoring when /dev/zfs is unavailable ([#&#8203;2325](henrygd/beszel#2325))
- Fix spurious `HUB_URL` warning in SSH-only mode ([#&#8203;2316](henrygd/beszel#2316))
- Fix idle GPU utilization display in systems table ([#&#8203;2312](henrygd/beszel#2312))
- Fix session handling to clear auth store after token expiry ([#&#8203;2310](henrygd/beszel#2310))
- Fix chart history handling when switching to live charts ([#&#8203;2333](henrygd/beszel#2333))
- Update Go dependencies

#### New Contributors

- [@&#8203;arnolicious](https://github.com/arnolicious) made their first contribution in [#&#8203;2288](henrygd/beszel#2288)
- [@&#8203;matth3wdsouza](https://github.com/matth3wdsouza) made their first contribution in [#&#8203;2303](henrygd/beszel#2303)
- [@&#8203;anaisbetts](https://github.com/anaisbetts) made their first contribution in [#&#8203;2315](henrygd/beszel#2315)
- [@&#8203;brunob45](https://github.com/brunob45) made their first contribution in [#&#8203;2211](henrygd/beszel#2211)
- [@&#8203;ChangkeunJ](https://github.com/ChangkeunJ) made their first contribution in [#&#8203;2333](henrygd/beszel#2333)
- [@&#8203;rajtslegr](https://github.com/rajtslegr) made their first contribution in [#&#8203;2328](henrygd/beszel#2328)
- [@&#8203;jmrplens](https://github.com/jmrplens) made their first contribution in [#&#8203;2327](henrygd/beszel#2327)

**Full Changelog**: <henrygd/beszel@v0.19.0...v0.20.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMSIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://git.jfreudenberger.de/JuliusFreudenberger/nix-config/pulls/49
ivanch added a commit to ivanch/haven that referenced this pull request Sep 20, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [henrygd/beszel-agent](https://github.com/henrygd/beszel) | minor | `0.19.0` → `0.20.0` |

---

### Release Notes

<details>
<summary>henrygd/beszel (henrygd/beszel-agent)</summary>

### [`v0.20.0`](https://github.com/henrygd/beszel/releases/tag/v0.20.0)

[Compare Source](henrygd/beszel@v0.19.0...v0.20.0)

#### What's Changed

- Add network monitoring from agents ([#&#8203;2266](henrygd/beszel#2266), [#&#8203;1911](henrygd/beszel#1911))
- Add container image update available flag ([#&#8203;2211](henrygd/beszel#2211))
- Add btrfs filesystem reporting as storage pools ([#&#8203;2315](henrygd/beszel#2315))
- Add persistence of view preferences and language to user settings ([#&#8203;1831](henrygd/beszel#1831))
- Add `TRUSTED_PROXY_IPS` allowlist for `TRUSTED_AUTH_HEADER` ([#&#8203;2327](henrygd/beszel#2327))
- Add ZFS utilities to Intel and NVIDIA agent images ([#&#8203;2288](henrygd/beszel#2288), [#&#8203;2311](henrygd/beszel#2311))
- Revert SMART warnings for certain attributes ([#&#8203;2296](henrygd/beszel#2296), [#&#8203;2308](henrygd/beszel#2308), [#&#8203;2347](henrygd/beszel#2347))
- Improve NVMe data units display as human-readable GB/TB ([#&#8203;2303](henrygd/beszel#2303))
- Fix agent disconnects during slow collections by extending WebSocket deadline ([#&#8203;2294](henrygd/beszel#2294))
- Fix missing root CA certificates in base agent image ([#&#8203;2291](henrygd/beszel#2291))
- Fix false RAID health warnings during healthy data scrubbing ([#&#8203;2109](henrygd/beszel#2109))
- Fix ZFS monitoring when /dev/zfs is unavailable ([#&#8203;2325](henrygd/beszel#2325))
- Fix spurious `HUB_URL` warning in SSH-only mode ([#&#8203;2316](henrygd/beszel#2316))
- Fix idle GPU utilization display in systems table ([#&#8203;2312](henrygd/beszel#2312))
- Fix session handling to clear auth store after token expiry ([#&#8203;2310](henrygd/beszel#2310))
- Fix chart history handling when switching to live charts ([#&#8203;2333](henrygd/beszel#2333))
- Update Go dependencies

#### New Contributors

- [@&#8203;arnolicious](https://github.com/arnolicious) made their first contribution in [#&#8203;2288](henrygd/beszel#2288)
- [@&#8203;matth3wdsouza](https://github.com/matth3wdsouza) made their first contribution in [#&#8203;2303](henrygd/beszel#2303)
- [@&#8203;anaisbetts](https://github.com/anaisbetts) made their first contribution in [#&#8203;2315](henrygd/beszel#2315)
- [@&#8203;brunob45](https://github.com/brunob45) made their first contribution in [#&#8203;2211](henrygd/beszel#2211)
- [@&#8203;ChangkeunJ](https://github.com/ChangkeunJ) made their first contribution in [#&#8203;2333](henrygd/beszel#2333)
- [@&#8203;rajtslegr](https://github.com/rajtslegr) made their first contribution in [#&#8203;2328](henrygd/beszel#2328)
- [@&#8203;jmrplens](https://github.com/jmrplens) made their first contribution in [#&#8203;2327](henrygd/beszel#2327)

**Full Changelog**: <henrygd/beszel@v0.19.0...v0.20.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC44My4wIiwidXBkYXRlZEluVmVyIjoiNDQuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Reviewed-on: https://git.ivanch.me/ivanch/haven/pulls/15
ivanch added a commit to ivanch/haven that referenced this pull request Sep 20, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/henrygd/beszel/beszel](https://github.com/henrygd/beszel) | minor | `0.19.0` → `0.20.0` |

---

### Release Notes

<details>
<summary>henrygd/beszel (ghcr.io/henrygd/beszel/beszel)</summary>

### [`v0.20.0`](https://github.com/henrygd/beszel/releases/tag/v0.20.0)

[Compare Source](henrygd/beszel@v0.19.0...v0.20.0)

#### What's Changed

- Add network monitoring from agents ([#&#8203;2266](henrygd/beszel#2266), [#&#8203;1911](henrygd/beszel#1911))
- Add container image update available flag ([#&#8203;2211](henrygd/beszel#2211))
- Add btrfs filesystem reporting as storage pools ([#&#8203;2315](henrygd/beszel#2315))
- Add persistence of view preferences and language to user settings ([#&#8203;1831](henrygd/beszel#1831))
- Add `TRUSTED_PROXY_IPS` allowlist for `TRUSTED_AUTH_HEADER` ([#&#8203;2327](henrygd/beszel#2327))
- Add ZFS utilities to Intel and NVIDIA agent images ([#&#8203;2288](henrygd/beszel#2288), [#&#8203;2311](henrygd/beszel#2311))
- Revert SMART warnings for certain attributes ([#&#8203;2296](henrygd/beszel#2296), [#&#8203;2308](henrygd/beszel#2308), [#&#8203;2347](henrygd/beszel#2347))
- Improve NVMe data units display as human-readable GB/TB ([#&#8203;2303](henrygd/beszel#2303))
- Fix agent disconnects during slow collections by extending WebSocket deadline ([#&#8203;2294](henrygd/beszel#2294))
- Fix missing root CA certificates in base agent image ([#&#8203;2291](henrygd/beszel#2291))
- Fix false RAID health warnings during healthy data scrubbing ([#&#8203;2109](henrygd/beszel#2109))
- Fix ZFS monitoring when /dev/zfs is unavailable ([#&#8203;2325](henrygd/beszel#2325))
- Fix spurious `HUB_URL` warning in SSH-only mode ([#&#8203;2316](henrygd/beszel#2316))
- Fix idle GPU utilization display in systems table ([#&#8203;2312](henrygd/beszel#2312))
- Fix session handling to clear auth store after token expiry ([#&#8203;2310](henrygd/beszel#2310))
- Fix chart history handling when switching to live charts ([#&#8203;2333](henrygd/beszel#2333))
- Update Go dependencies

#### New Contributors

- [@&#8203;arnolicious](https://github.com/arnolicious) made their first contribution in [#&#8203;2288](henrygd/beszel#2288)
- [@&#8203;matth3wdsouza](https://github.com/matth3wdsouza) made their first contribution in [#&#8203;2303](henrygd/beszel#2303)
- [@&#8203;anaisbetts](https://github.com/anaisbetts) made their first contribution in [#&#8203;2315](henrygd/beszel#2315)
- [@&#8203;brunob45](https://github.com/brunob45) made their first contribution in [#&#8203;2211](henrygd/beszel#2211)
- [@&#8203;ChangkeunJ](https://github.com/ChangkeunJ) made their first contribution in [#&#8203;2333](henrygd/beszel#2333)
- [@&#8203;rajtslegr](https://github.com/rajtslegr) made their first contribution in [#&#8203;2328](henrygd/beszel#2328)
- [@&#8203;jmrplens](https://github.com/jmrplens) made their first contribution in [#&#8203;2327](henrygd/beszel#2327)

**Full Changelog**: <henrygd/beszel@v0.19.0...v0.20.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC44My4wIiwidXBkYXRlZEluVmVyIjoiNDQuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Reviewed-on: https://git.ivanch.me/ivanch/haven/pulls/14
xiaoran7 pushed a commit to xiaoran7/beszel that referenced this pull request Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants