August 18, 20232 yr 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# tower-diagnostics-20230817-2356.zip Edited August 19, 20232 yr by mccarthyrobert8
August 18, 20232 yr 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.
August 19, 20232 yr 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.