NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

dbmann's avatar
dbmann
Aspirant
Jun 05, 2017

Storage went up 500GB randomly - Possibly due to Snapshots?

Here are the order of events.

 

1. Upgraded to 6.7.4. At this time, I had about 1TB free of 9TB.

2. Got an email that said "Less than 20% of volume joshnas's capacity is free. Performance on volume joshnas will degrade if additional capacity is consumed. NETGEAR recommends that you add capacity to avoid performance degradation." when it booted back up.

3. Defragged my volume and got an email that it started.

4. Got an email that said "Less than 10% of volume joshnas's capacity is free. Performance on volume joshnas is degraded. To improve performance, you must add capacity." So it lost 10% at some point when defragging?

5. Got an email that it finished defragging.

6. Got an email that says "Continuous protection snapshot count dropped to 60 in volume joshnas."

 

And now I only have 580GB left. I absolutely did not add that much data anytime today. I looked at my snapshots and I only have 2 per share. Usually it is much more than that, but I do manually prune it every now and then.

 

Let me know if I should attach my logs. (Not sure if it has private info on them)

5 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    The defrag can increase snapshot space.  For instance if you

    • create a file
    • make a snapshot
    • rewrite part of it

    the main file becomes fragmented, but the snapshot is the original unfragmented version.  The blocks on the main file that weren't rewritten are shared with the snapshot.

     

    When you defrag that main file, BTRFS can no longer share the blocks in common.  So space usage goes up.

     

    Your volume is very full.  I suggest that you plan on expanding it.   For now, try deleting the snapshots you have, and refrain from defrags until you have more free space.

     

     

    • dbmann's avatar
      dbmann
      Aspirant

      Thanks for the info.

       

      I went ahead and deleted all my snapshots:

       

      Untitled.png

      (each different share is the same, no snapshots)

       

      But I still have 500GB worth of snapshots:

       

      Untitled2.png

       

      Could they be hiding somewhere?

       

      I definitely want to expand my storage, of course, but not in the position right now.

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        dbmann wrote:

        Could they be hiding somewhere?

         


        First wait a bit, since it can take a little while for the free space to re-appear.

         

        But sometimes old snapshots do "hide".  Do you have ssh enabled?

         

        Another possibility is that the system needs to be balanced.  Though it might not be a good idea to try that right now (since you have so little free space).  Do you have any way to offload ~1 TB of data?  If so, you could do that, then balance, then put the data back.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More