jgs2n Posted April 8, 2012 Share Posted April 8, 2012 I am using Unraid Beta 14 I made a user share called Time Machine Backup that I now want to delete. I cannot seem to delete it. I expect that because of some permission issue. I can telnet into my server as root but do not know the command to delete the share. Any help is appreciated. Thanks. Quote Link to comment
dgaschk Posted April 8, 2012 Share Posted April 8, 2012 The share must be empty before it can be deleted. AFP also adds some hidden files that must be removed. 1. Disable SMB, AFP and NFS for the share. 2. Connect with Telnet or use an attached keyboard and monitor. Login as root. 3. Enter rm /mnt/user/share name/* rm /mnt/disk1/share name/.* The second command may need to be repeated for disk2, disk3, etc. 4. Delete the share using the web GUI. Quote Link to comment
jgs2n Posted April 8, 2012 Author Share Posted April 8, 2012 Thank you for the response. My share is called Time Machine Backup. When I try the command rm /mnt/disk1/Time Machine Backup/* I get... rm: cannot remove `/mnt/disk1/Time': No such file or directory rm: cannot remove `Machine': No such file or directory rm: cannot remove `Backup/*': No such file or directory There must be some kind of syntax that I am unaware of. I am a linux idiot and don't know console commands for ffiles and folders The share I want to delete is only on disk one. Any advice? Quote Link to comment
dgaschk Posted April 9, 2012 Share Posted April 9, 2012 Use quotes. Enter: "rm /mnt/disk1/'Time Machine Backup'/*" Quote Link to comment
jgs2n Posted April 10, 2012 Author Share Posted April 10, 2012 I changed the name of the share to a single word (Time) for simplicity. Still no luck. The output is below. root@Tower:~# rm /mnt/disk1/Time/.* rm: cannot remove `/mnt/disk1/Time/.': Is a directory rm: cannot remove `/mnt/disk1/Time/..': Is a directory rm: cannot remove `/mnt/disk1/Time/.AppleDB': Is a directory root@Tower:~# root@Tower:~# rm /mnt/disk1/Time/.* rm: cannot remove `/mnt/disk1/Time/.AppleDB': Is a directory root@Tower:~# Quote Link to comment
prostuff1 Posted April 10, 2012 Share Posted April 10, 2012 Try: rm -rf /mnt/disk1/Time/ Quote Link to comment
jgs2n Posted April 10, 2012 Author Share Posted April 10, 2012 That did it. Thanks Quote Link to comment
jimmyhelu Posted September 30, 2012 Share Posted September 30, 2012 Here is how I added user to share, dataset permissions and acl .... option: delete old be netatatalk 3.0 Unable to destroy netatalk-3.0. Quote Link to comment
Recommended Posts
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.