Repository navigation
Description
What I observed
I found a substantial difference between Sony's Console Storage screen and GET /api/ps5/hw/storage. Sony showed 71.35 GB free, while a nearby API reading returned 182,746,480,640 bytes in free_bytes and 175,467,462,656 bytes in user_free_bytes.
The live OpenAPI summary describes this endpoint as "The console's internal storage, as PS5 Settings counts it". I cannot reconcile that claim with these readings.
My environment
- PS5 Pro, 2 TB internal storage; firmware 10.20 as reported by TITAN.
- TITAN CORE 1.0.0.
- kstuff-lite 1.11 and ShadowMountPlus 1.7beta10, reported by TITAN's
/api/stateas the bundled versions, both ready. - Kraken Mount code integrated/adapted in TITAN CORE. I could not verify an independent running Kraken version: TITAN does not expose one. My local Kraken reference declares 0.3.2, but I have not established that it is the exact revision integrated into the running build.
- PS5Upload engine 12.6.30, verified through
/api/versionand the served OpenAPI during my follow-up. The original storage responses do not contain a build identifier; I have not verified the console payload build. - Evidence collected on November 26, 2026.
How I reproduce the comparison
- I open Settings > Storage > Console Storage and record the displayed size/free space and capture time.
- I query
GET /api/versionandGET /api/openapi.jsonon my local engine. - I query
GET /api/ps5/hw/storage?addr=<CONSOLE>andGET /api/ps5/volumes?addr=<CONSOLE>and record request times. - I compare the raw byte values with Sony's display, allowing for units, rounding and elapsed time. For a controlled repeat, I keep transfers, installations and deletions idle and capture the screen again.
I do not need to delete files or run a recursive folder scan to make this comparison.
My recorded readings
Sony's screen showed a size of 1.89 TB, 71.35 GB free, and 1.64 TB in Other.
{
"total_bytes": 2005599387648,
"free_bytes": 182746480640,
"used_bytes": 1822852907008,
"reserved_bytes": 307929022464,
"user_total_bytes": 1995416338432,
"user_free_bytes": 175467462656,
"user_reserved_bytes": 307929022464,
"system_data_total_bytes": 8572829696,
"system_data_free_bytes": 7136804864,
"system_ex_total_bytes": 1610219520,
"system_ex_free_bytes": 142213120
}TITAN reported cache.free=175467462656, exactly matching user_free_bytes, and cache.size=830924174.
These readings were close in time, not simultaneous. My screenshot file's modification time was 03:34:20.826 UTC, versus approximately 03:34:40.526 UTC for the saved JSON files. I treat these as file timestamps rather than exact capture/request timestamps.
In a later read-only check, I obtained user_free_bytes=175467069440, only 393,216 bytes lower. The /data volume reported that same free value, alongside safety_reserve_bytes=1073741824, allocatable_bytes=174393327616, and likely_fits_bytes=144432988160. I did not take a simultaneous Sony screenshot for this later check.
I also recorded an earlier screen showing 894.9 MB free and 1.72 TB in Other, with a nearby API reading of user_free_bytes=105020194816 and free_bytes=112299212800. I removed some data myself between these states, so I do not treat the two states as a controlled time series.
Sony showed a large Other category, and emulator ROMs were among my stored data. I could not establish how those files were accounted for in Other or whether they explain the free-space discrepancy. I have omitted content names, titles, private paths and inventories.
What I expected
If this endpoint promises Settings parity, I expect the values to agree within documented rounding and timing limits. If it reports filesystem counters instead, I would expect the API documentation and any presentation equating these counters with Settings to explain the distinction.
What I can and cannot conclude
- I checked that
free_bytes - user_free_bytes = 7279017984, exactly the combined free space of/system_dataand/system_ex. The aggregate arithmetic is consistent. - I calculate
user_free_bytesas 175.467 GB decimal or 163.417 GiB. If Sony's GB are decimal, the gap is about 104.117 GB. If its GB label means GiB, the gap is still about 92.067 GiB. I have not independently established Sony's unit/rounding convention. - I am not subtracting the reported 307,929,022,464-byte reserve again. In the local implementation I inspected, availability uses
f_bavail, with reserve calculated asf_bfree - f_bavail; that reserve is already excluded from availability. - My local source checkout is version 11.2.3, commit
09ef629a24ea5cde7605c29855cf110ea81443a2, whereas the active engine reports 12.6.30. I use that source only as a reference, not as proof of the exact running implementation. - In that checkout,
payload/src/hw_info.caround lines 1058–1145 sums filesystem counters for/user,/system_dataand/system_ex. It falls back tof_bfreewhenf_bavail <= 0; I have no evidence that this fallback was involved here. - I noticed a source comment attributing an earlier residual gap to a hidden fixed reserve. I have not verified that explanation, or identified Sony's exact adjustment.
- I do not consider
/volumesdiffering from Sony a separate confirmed bug: it describes mounted filesystem volumes. I have not established actual Sony-approved installation capacity, corruption, or data loss.
I am reporting the mismatch with the documented Settings equivalence, without claiming a proven root cause.
Follow-up: I also reproduced a stale free-space value in the Files UI
I initially described this as an API-versus-Settings mismatch, but I have now reproduced a separate discrepancy in the desktop UI itself. My desktop identifies itself as 12.6.30, and its connection status identifies Helper v12.6.8.
What I tested without changing anything on the PS5
- I left the Files screen open. Its
/datadrive shortcut showed 98.1 GiB, with a tooltip/accessibility label saying 98.1 GiB free. - My live
GET /api/ps5/volumesreturned/data.free_bytes=175467069440, or 163.41644 GiB.GET /api/ps5/hw/storagereturned the same value inuser_free_bytes. - I clicked the Files screen's Refresh button (Actualizar) and waited for it to finish. The drive shortcut still showed 98.1 GiB.
- I navigated to Volumes, which showed 163 GiB free for
/data. - I returned to Files. Its
/datashortcut now showed 163 GiB free, agreeing with the live API at the formatter's precision. - I repeated the read-only API queries after this navigation and still obtained
user_free_bytes=175467069440and/data.free_bytes=175467069440.
I did not delete, move, patch, reinstall or upload anything on the console during this test, and I did not change the engine or its code.
Where the 98.1 GiB display comes from
I checked the published v12.6.30 source, commit 3c06c6a944f486e0ca7c6186070f3bfe09780012, rather than relying only on my older local checkout:
- The Files drive shortcut displays
formatBytes(v.free_bytes). It uses thefree_bytesin the screen's storedvolumesstate, notallocatable_bytes,likely_fits_bytes, orhw/storage.free_bytes. - The volume-loading effect calls
fetchVolumes(...)and stores its result. Its dependencies are[host, payloadStatus, volumesEpoch]; it does not periodically refresh this state.fetchVolumesinvokesps5_volumes. - The Files Refresh button calls the directory
refreshfunction, which does not update that volume state or incrementvolumesEpoch. In this source, the explicit epoch increment is associated with USB ejection, not directory refresh. - The byte formatter divides by 1024 and labels the result GiB. It formats values between 10 and 100 with one decimal, and values at or above 100 with zero decimals. This explains why the current API's 163.41644 GiB appears as 163 GiB.
The retained older volume state explains the stale 98.1 GiB display, and leaving/re-entering Files refreshed it in my test. I did not recover the exact historical byte value that produced 98.1 GiB, or establish when it was first fetched. Because that label is rounded, converting 98.1 GiB back to bytes gives only an approximate value, not the original API response.
Units and the remaining Sony discrepancy
I am keeping binary and decimal units separate (1 GiB = 2^30 bytes, 1 GB = 10^9 bytes):
| Reading | GiB | Decimal GB |
|---|---|---|
| Files shortcut before re-entering the screen | 98.1 (displayed, rounded) | approximately 105.334 |
Live /data.free_bytes / user_free_bytes |
163.41644 | 175.46707 |
| Files shortcut after re-entering the screen | 163 (displayed, rounded) | underlying live value above |
| Sony's recorded 71.35 GB, if decimal | 66.44987 | 71.35 |
The stale UI versus Sony gap would therefore be approximately 31.65 GiB / 33.98 GB, if Sony's GB are decimal. It is not a simple subtraction of 98.1 minus 71.35. Once I refresh the volume state by re-entering Files, the live filesystem value remains approximately 96.97 GiB / 104.12 GB above Sony, under that same unit assumption.
I have not independently verified Sony's unit convention. If Sony's GB label represents GiB instead, the corresponding gaps would be approximately 26.75 GiB for the old UI label and 92.07 GiB for the live filesystem reading. Neither interpretation resolves the discrepancy.
The Sony value is from my earlier recorded screenshot; I did not take a simultaneous Sony screenshot during this UI refresh test. The near-identical live filesystem readings help establish stability, but do not prove Sony's current exact figure.
My later aggregate hw/storage.free_bytes=182746021888 is 170.19550 GiB / 182.74602 GB, because it also includes /system_data and /system_ex. That is a different metric from the /data shortcut.
I would expect Files Refresh to refresh the drive free-space labels as well as the directory listing, or clearly show when those capacity readings were last updated. This stale UI issue is separate from the remaining mismatch with the API's documented Settings equivalence.
Activity
[-]hw/storage claims Settings parity but reports 182.75 GB free while Sony shows 71.35 GB[/-][+]Storage free-space mismatch: stale Files UI (98.1 GiB), live API (163.42 GiB), Sony (71.35 GB)[/+]NotUncleBob commentedon Nov 26, 2026
Further read-only investigation: filesystem availability versus Sony's effective capacity
I investigated the remaining 163.42 GiB versus 71.35 GB discrepancy separately from the stale Files UI value. I can now reconcile the filesystem counters exactly, but I have not established Sony's exact accounting formula.
What I verified
I queried the helper's built-in
dfandhw/storage. For/user,dfreported472066496in itsavailcolumn. In the published helper 12.6.8 implementation, this column is actuallyf_bfreein KiB, despite its label. My readings reconcile as follows:I obtained that exact final value from
user_free_bytes. The reported 307,929,022,464-byte reserve is already excluded; subtracting it again would be incorrect.My desktop reports Helper 12.6.8. I inspected the published source for that version, commit
6cdbdcc0c779731212ed6c064e865e3bc3b6d490. Its storage implementation reads filesystem block counters and uses positivef_bavailfor availability. My readings do not indicate the fallback tof_bfree. I have not verified byte-for-byte identity between that published source build and the loaded helper.I also checked the engine 12.6.30 source. It already documents reports of
statfsavailability exceeding what the console will allocate, with different gaps on different consoles. Its old 80 GiB estimate is explicitly not a constant deduction from free space. I treat those source comments as evidence of a known project limitation, not proof of the mechanism on my console. Neither the engine's allocation margin nor itslikely_fits_bytesestimate reproduces Sony's reading.My hypothesis: a difference in effective total capacity
Assuming Sony's GB/TB labels are decimal, I get:
/userThe total-capacity gap and free-space gap are similar. I consider this consistent with Sony using a smaller effective capacity, rather than evidence that another 104 GB of unidentified files must exist. I have not proved that explanation: the TB display has limited precision, I have not established Sony's rounding/truncation or unit convention, and these labels cannot determine an exact offset.
What I still cannot verify
I found the exported symbols
sceShellCoreUtilGetEffectiveTotalSizeOfUserPartitionandsceShellCoreUtilGetFreeSizeOfUserPartitionin the public SDK's SystemService stubs. Their names suggest a possible way to compare Sony's effective total/free values withstatfs. I have not verified their signatures, returned values, or whether Settings uses them. The existing helper/API does not expose these queries, and I did not load a diagnostic payload to call them.The 71.35 GB remains the earlier recorded Sony screenshot, not a new simultaneous reading. My new capture without controller input did not show the Storage screen, so I did not navigate the console. Filesystem readings remained around 163.41 GiB, with small changes between requests.
I have not demonstrated a fixed hidden reserve, the exact Sony adjustment, actual installable capacity, corruption, or data loss. I did not change console files/settings, the engine or helper, and I did not perform write tests, installations, deletions, patches, restarts or database rebuilds.
12.6.32: storage numbers, audit fixes (engine, network, AVA1), update…
phantomptr commentedon Nov 26, 2026
Fixed in 12.6.32, thank you for the careful report. Two separate things were wrong:
I did not invent a formula to match Sony's figure. If reading Sony's own number through the system turns out to be possible, that would be a separate change. If anything still looks off, reply here and I'll reopen this.