- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Deleting Redundant Time Machine Backup
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting Redundant Time Machine Backup
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting Redundant Time Machine Backup
This doesn't actually work on my terminal....says command not found...?
btrfs subvolume list /data
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting Redundant Time Machine Backup
@cwsyeh wrote:
Yeah, I ran ssh admin@192.168.1.XX to log on first and then tried the command, it says command not found...?
@StephenB wrote:
@cwsyeh wrote:
This doesn't actually work on my terminal....says command not found...?
btrfs subvolume list /dataYou run this from ssh on the NAS - is that what you did?
Log in as root using the NAS admin password.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting Redundant Time Machine Backup
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?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting Redundant Time Machine Backup
Thanks, @StephenB ! I think it's working - initially I thought only the folder was gone and none of the space was reclaimed, but I think it's now slowly releasing space...I think...
Will come back in a day or so to confirm and accept the solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting Redundant Time Machine Backup
@cwsyeh wrote:Thanks, @StephenB ! I think it's working - initially I thought only the folder was gone and none of the space was reclaimed, but I think it's now slowly releasing space...I think...
Will come back in a day or so to confirm and accept the solution!
So I checked the drive just then, and it has reclaimed all the space that was wasted! Now I have another 1.3TB available! Thanks!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting Redundant Time Machine Backup
@cwsyeh wrote:
So I checked the drive just then, and it has reclaimed all the space that was wasted! Now I have another 1.3TB available!
Great!. If you've never run a balance, then you might want to do that (it's run from the volume settings wheel).
You can set up a volume maintenance schedule there - personally I run each of the maintenance tasks (balance, scrub, defrag, disk test) once every three months. Balance in particular can take a long time if you've never run it, but that will speed up if you run it regularly.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Deleting Redundant Time Machine Backup
Cool, I will set it to run tonight!
@StephenB wrote:
@cwsyeh wrote:So I checked the drive just then, and it has reclaimed all the space that was wasted! Now I have another 1.3TB available!
Great!. If you've never run a balance, then you might want to do that (it's run from the volume settings wheel).
You can set up a volume maintenance schedule there - personally I run each of the maintenance tasks (balance, scrub, defrag, disk test) once every three months. Balance in particular can take a long time if you've never run it, but that will speed up if you run it regularly.