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

Forum Discussion

cwsyeh's avatar
cwsyeh
Aspirant
Sep 09, 2019
Solved

Deleting Redundant Time Machine Backup

I noticed that my NAS was low on space, but the numbers didn't add up, so I checked the file structure and notice there is approximately 1TB of timemachine backup that was for a machine that is no longer with me.

 

I tried to delete the folder through finder by connecting through smb using admin as well as the admin user account, neither worked and through SSH it says that the operation is not permitted, even when I'm logged in as the admin...

 

Any ideas how I can delete the redundant backup and reclaim some storage space?

 

Thanks!


  • cwsyeh wrote:


    Log in as root using the NAS admin password.


    This worked for me, now I can see the list, but how delete the folder? I assume rm will not work?


    # btrfs subvolume delete -c /path

    using the fully qualified folder name (/data/... )

     

    The -c tells btrfs to wait for the deletion to complete.  You can omit that if you want.

11 Replies

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

    Normally you log into ssh using root, not admin.

     

    I don't use time machine, but I suspect the folder is actually a btrfs subvolume - if so, rm won't delete it.  Try running 

    # btrfs subvolume list /data

    from ssh, and see if it is in the subvolume list.  data is the default OS-6 volume name, if you are using flexraid you'll need to substitute your actual volume name.

    • cwsyeh's avatar
      cwsyeh
      Aspirant

      This doesn't actually work on my terminal....says command not found...?

      btrfs subvolume list /data
      • StephenB's avatar
        StephenB
        Guru - Experienced User

        cwsyeh wrote:

        This doesn't actually work on my terminal....says command not found...?

        btrfs subvolume list /data

        You run this from ssh on the NAS - is that what you did?

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