Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cannot delete time machine backup files

Featured Replies

I updated to 6.12.3 and my time machine backup stopped working. After doing some research it seems this is pretty common and the easiest solution is to switch to the Timemachine docker. I want to delete my old timemachine share but inside the .sparsebundle there is a "mapped" folder that is causing some issues. 

When I try to delete the sparsebundle I get the directory not empty error. Fine, go into sparsebundle and find the mapped folder still there, use rm -r mapped  and it returns the same directory not empty error. I try using the rmdir, and rm -rf commands but still the same issue. If i list the files inside the mapped folder I get this error "/bin/ls: reading directory '.': Structure needs cleaning." Start the array in maintenance mode and run xfs_repair and start up the array. Same issue. How do I delete this so I can delete this share?

diagnostics attached. 


root@Tower:~# cd /mnt/user/delete/
root@Tower:/mnt/user/delete# ls
Robert’s\ MacBook\ Pro.sparsebundle/
root@Tower:/mnt/user/delete# cd /mnt/user/delete/Robert’s\ MacBook\ Pro.sparsebundle
root@Tower:/mnt/user/delete/Robert’s MacBook Pro.sparsebundle# rmdir mapped
rmdir: failed to remove 'mapped': Directory not empty
root@Tower:/mnt/user/delete/Robert’s MacBook Pro.sparsebundle# rm -rf mapped
rm: cannot remove 'mapped': Directory not empty
root@Tower:/mnt/user/delete/Robert’s MacBook Pro.sparsebundle# cd /mnt/user/delete/Robert’s\ MacBook\ Pro.sparsebundle/mapped
root@Tower:/mnt/user/delete/Robert’s MacBook Pro.sparsebundle/mapped# ls
/bin/ls: reading directory '.': Structure needs cleaning
root@Tower:/mnt/user/delete/Robert’s MacBook Pro.sparsebundle/mapped# 

 



 

Screenshot 2023-08-17 at 11.52.14 PM.png

tower-diagnostics-20230817-2356.zip

Edited by mccarthyrobert8

Solved by mccarthyrobert8

  • Author

I realized I didn't remove the -n modifier when I ran xfs_repair. Currently, I have my macbook backing up to the timemachine docker which is going to take some hours. I will try to run xfs_repair without the modifier when this finishes and report back. 

  • Author
  • Solution

Running xfs_repair without the modifier allowed me to delete the directory. I feel real dumb.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.