# Deleted volumes still shows in usage

**URL:** <https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338>\
**Category:** Questions / Help\
**Tags:** login-only\
**Created:** [September 11, 2023, 3:01pm UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338 "2023-09-11T15:01:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiagosydow](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@thiagosydow](https://community.fly.io/u/thiagosydow)\
**Post date:** [September 11, 2023, 3:01pm UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/1 "2023-09-11T15:01:20Z")

</div>

Hello!

About a month ago, I upgraded my Postgres cluster from v1 to v2. After I checked and everything was fine I deleted the old volumes. But the app, in usage and I “assume” the billing is counting as 4 volumes instead of only 2. Is there something I can do or can someone check? My main concern is if it’s counting the usage for billing $

Thank you

---

<div class="post-metadata">

**Author:** ![shortdiv](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/shortdiv/32/2518_2.png) [@shortdiv](https://community.fly.io/u/shortdiv)\
**Post date:** [September 12, 2023, 3:08am UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/2 "2023-09-12T03:08:26Z")

</div>

Hey @thiagosydow can you confirm which app you’re seeing this on? I checked on our end and it looks like `wandering-forest-5857` has 2 volumes associated with it while `nameless-wildflower-2755` has 4.

---

<div class="post-metadata">

**Author:** ![thiagosydow](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@thiagosydow](https://community.fly.io/u/thiagosydow)\
**Post date:** [September 12, 2023, 8:56am UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/3 "2023-09-12T08:56:23Z")

</div>

Hi @shortdiv , It’s the nameless-flower. It’s supposed to have 2 only as the initial post explains. The volumes tab already shows only 2 (pg\_data\_machine). The deleted ones were (pg\_data)

But in usage it says 4

 ![Screenshot 2023-09-12 at 10.54.37](https://global.discourse-cdn.com/fly1/original/3X/e/c/ec5f3ff51d645c6d256ae0c37bc5dd386aea5be7.jpeg)

---

<div class="post-metadata">

**Author:** ![shortdiv](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/shortdiv/32/2518_2.png) [@shortdiv](https://community.fly.io/u/shortdiv)\
**Post date:** [September 12, 2023, 9:18am UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/4 "2023-09-12T09:18:01Z")

</div>

Gotcha, I checked again and I see that the `pg_data` volumes are in a `pending_destroy` state. When a volume is destroyed, the volume is soft deleted in the backend so there is time to recover data in the event of an accidental deletion. So you might see these volumes in usage data. Follow up question: When did you run destroy on these volumes?

---

<div class="post-metadata">

**Author:** ![thiagosydow](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@thiagosydow](https://community.fly.io/u/thiagosydow)\
**Post date:** [September 12, 2023, 10:05am UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/5 "2023-09-12T10:05:23Z")

</div>

In the same day I migrated/the new volumes were created. I did see in the dashboard the pending\_destroy for 1 day I think before it shown only the current 2. Since neither the cli nor the dashboard shows the deleted ones, it makes it difficult to know what’s going on. I only stopped to pay more attention when I noticed that my billing was higher than expected/previous months

---

<div class="post-metadata">

**Author:** ![shortdiv](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/shortdiv/32/2518_2.png) [@shortdiv](https://community.fly.io/u/shortdiv)\
**Post date:** [September 13, 2023, 5:36am UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/6 "2023-09-13T05:36:19Z")

</div>

Sorry for the delay, and thanks for being patient with this. A PR was recently merged to fix discrepancies in volume state across our platform. I just checked and it looks like your volumes that were deleted have been successfully removed. Was the charge you’re seeing for the volume that wasn’t in use/was deleted? I can escalate this to get it fixed if so.

---

<div class="post-metadata">

**Author:** ![thiagosydow](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@thiagosydow](https://community.fly.io/u/thiagosydow)\
**Post date:** [September 13, 2023, 7:06am UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/7 "2023-09-13T07:06:59Z")

</div>

Hi @shortdiv , no worries. Yes in the invoice of the previous month I can see that the Volume line has approximately 2x the qty than other months, and it was what made the increase in price.

FYI in usage right now it shows the deletion happened couple of days ago, but in the side it still shows what I interpret as it will/would charge for 11 days for those

 ![Screenshot 2023-09-13 at 09.03.54](https://global.discourse-cdn.com/fly1/original/3X/d/f/df955286c57d8d5ca915702727519e990964a77f.png)

---

<div class="post-metadata">

**Author:** ![shortdiv](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/shortdiv/32/2518_2.png) [@shortdiv](https://community.fly.io/u/shortdiv)\
**Post date:** [September 13, 2023, 9:30am UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/8 "2023-09-13T09:30:07Z")

</div>

Cool, thanks for the info! I’ll give you an update once I hear back from billing

---

<div class="post-metadata">

**Author:** ![kyle](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/kyle/32/51406_2.png) [@kyle](https://community.fly.io/u/kyle)\
**Post date:** [September 13, 2023, 12:47pm UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/9 "2023-09-13T12:47:25Z")

</div>

Hi @thiagosydow—just a quick note to say I have tagged some credit onto your account to cover any billing discrepancies here (which should only amount to ~$1) but also to make up for the trouble!

I have confirmed that you should not be billed further for those two volumes, after 09/11/23. As mentioned, usage up until then totalled ~$1.00.

Cheers!

---

<div class="post-metadata">

**Author:** ![thiagosydow](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@thiagosydow](https://community.fly.io/u/thiagosydow)\
**Post date:** [September 13, 2023, 12:58pm UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/10 "2023-09-13T12:58:27Z")

</div>

OK, thank you @kyle and @shortdiv !

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [September 20, 2023, 12:58pm UTC](https://community.fly.io/t/deleted-volumes-still-shows-in-usage/15338/11 "2023-09-20T12:58:45Z")

</div>

Closed on September 20, 2023, 12:58pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
