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

Forum Discussion

abruz's avatar
abruz
Aspirant
Feb 04, 2018
Solved

Snapshots using 500GB but never turned on.....why? (And how to recover the space)

GUI showing 500GB of space being used by Snapshots (and it grows every day).  I do not have snapshots turned on, have never had them turned on (to my knowledge), and cannot find any snapshots in the admin-gui or even after logging into the device using putty/ssh.

 

Besides the snapshot issue, I only have 835GB of data on 2x4TB hard drives but am only showing 115GB of usable space left.

 

I have balanced, defragged, and am now scrubbing.  No gaining of space after the balance or defrags.

 

Any suggestions??

 


  • wrote:

    I tried the "btrfs subvolume delete /data/BayBlueprint/.snapshots" but it gave me an error:

    ERROR:  cannot delete .......Directory not empty

     

    I'll need to figure out if I can force a delete or recursively delete.


    Each folder in /data/BayBlueprint/.snapshots is a subvolume, so I guess you do need to delete those.  Try deleting one of them - for instance btrfs subvolume delete /data/BayBlueprint/.snapshots/5/snapshot

     

    There is no recursive delete option, though I guess you could try to build a script.  If you don't have too many, it's probably easiest to just change the /5/ to another snapshot index and redoing the command.

11 Replies

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

    A brute-force approach is to back up the data, do a factory reset, rebuild the NAS configuration and then restore the data from backup.

    • abruz's avatar
      abruz
      Aspirant

      Thanks.  That was my "Plan B" if this round of balance/defrag/scrub doesn't produce any results. 

      • mdgm-ntgr's avatar
        mdgm-ntgr
        NETGEAR Employee Retired

        What do you see for snapshots in btrfs.log?

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