Skip to content
Volume usage shows ~572 MB but disk has 1.3 MB used
1ksn1ks
OP

20 days ago

My service 1mhbar_website's volume (1mhbar_website-volume, mounted at /app/data) shows ~572 MB in Volume Usage metrics, but inside the container:

df -h → /dev/zd20272 4.6G 1.3M 4.5G 1% /app/data

du -sh /app/data → 132K

There are no backups. Old files were deleted around Oct 30 and I've redeployed since, but the metric hasn't dropped. Can you check the metering or reclaim the space? If it affects billing, please correct that too.

Solved

1 Reply

Railway
BOT

20 days ago

The volume currently reports about 573 MB used. That figure counts storage blocks still allocated on the host, not the live files df and du see inside the container. When files are deleted, the freed space goes back to the host gradually. Volumes allocate in 16 KB blocks while the filesystem frees space in 4 KB blocks, so some allocation always stays above what df shows. Nothing is wrong with your data, and since df and du agree, there's nothing left for you to clean up inside the container.

We don't reclaim volume space manually, and the metric won't drop to match df on request. Billing does use this metric, at $0.15 per GB-month, so the ~573 MB works out to roughly $0.09 per month.


Status changed to Awaiting User Response Railway • 20 days ago


Railway
BOT

13 days ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway • 13 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...