Cartierusm Posted July 27, 2015 Share Posted July 27, 2015 I'm running V60 RC5 and there is a folder I can't delete. I've tried everything that I can think of. I just ran reiserfsck and it found 2 errors and suggested I run reiserfsck --fix-fixable /dev/md9 and it cleared up the errors. I restarted the array and tried to delete the folder and I still can't. Any suggestions? TIA Quote Link to comment
limetech Posted July 27, 2015 Share Posted July 27, 2015 I'm running V60 RC5 and there is a folder I can't delete. I've tried everything that I can think of. I just ran reiserfsck and it found 2 errors and suggested I run reiserfsck --fix-fixable /dev/md9 and it cleared up the errors. I restarted the array and tried to delete the folder and I still can't. Any suggestions? TIA First of all 6.0-rc5 is no longer supported. Please upgrade to latest stable release. Quote Link to comment
Cartierusm Posted July 27, 2015 Author Share Posted July 27, 2015 Ok. Did that copied the files bzimage, bzroot, and syslinux folder to the flash drive. Rebooted and it now says V6.01. I still can't delete the folder. I don't know much about these systems. Should I re-run reiserfsck? or should I do something else? Thanks. Quote Link to comment
limetech Posted July 27, 2015 Share Posted July 27, 2015 Now please go to Tools menu and click on Diagonstics and then attach that file to your next reply. Quote Link to comment
Cartierusm Posted July 27, 2015 Author Share Posted July 27, 2015 Cool. Thanks. Here ya go. tower-diagnostics-20150727-1403.zip Quote Link to comment
limetech Posted July 28, 2015 Share Posted July 28, 2015 Cool. Thanks. Here ya go. Everything looks good in there. Probably you have some left over 'hidden' files in that share. The easy way to deal with that is to wait until 6.1 'stable' is released, where we display those so-called 'dot' files in network directory listing. That makes it possible to delete those files via Windows. The other way to delete those involves using the console/telnet command line to type the command to delete them. In this case, after logging in, first examine what's in the share - not sure which share you are tying to delete but let's say it's "data": ls -la /mnt/user/data If that command shows any files that start with '.' (dot) that's the problem. To remove all those files: rm -r /mnt/user/data/* You should then be able to delete the share via Share Edit page. Sorry for the inconvenience. Quote Link to comment
Cartierusm Posted July 28, 2015 Author Share Posted July 28, 2015 Ah ok. Thanks. It's not a share, it's just a folder a movie was in that I moved. While I was moving it via Putty it said it couldn't be deleted. That was a while ago and I forgot about it. I'm not very versed in command line things. Should I use the same command line that you mentioned for just a regular folder? Quote Link to comment
limetech Posted July 28, 2015 Share Posted July 28, 2015 Ah ok. Thanks. It's not a share, it's just a folder a movie was in that I moved. While I was moving it via Putty it said it couldn't be deleted. That was a while ago and I forgot about it. I'm not very versed in command line things. Should I use the same command line that you mentioned for just a regular folder? Huh, not sure how that might have happened. If you are wanting to totally empty that share, then yes that command will delete everything under that directory (share) name. Quote Link to comment
Cartierusm Posted July 28, 2015 Author Share Posted July 28, 2015 No, the disk is full of files. I just want to remove the one empty folder. Quote Link to comment
trurl Posted July 28, 2015 Share Posted July 28, 2015 No, the disk is full of files. I just want to remove the one empty folder. I think you may be having a misunderstanding about the word share. Anyway, you indicated you had used putty. When you log in to the server as root, you should have permission to delete anything. If the file was open then maybe it wouldn't let you delete it. Where exactly is the folder? Quote Link to comment
Cartierusm Posted July 28, 2015 Author Share Posted July 28, 2015 I'm sure I am! LOL. Anyway, it's the folder Captain Amer. \\TOWER\disk9\Movies\Captain Amer. I shortened it thinking maybe it was not deleting because of the name or something. So I can change the name but not delete it. I tried once in Putty, but not since I went to a newer version of unraid. I'll try that next. Quote Link to comment
trurl Posted July 28, 2015 Share Posted July 28, 2015 I'm sure I am! LOL. Anyway, it's the folder Captain Amer. \\TOWER\disk9\Movies\Captain Amer. I shortened it thinking maybe it was not deleting because of the name or something. So I can change the name but not delete it. I tried once in Putty, but not since I went to a newer version of unraid. I'll try that next. At the unRAID command line, that path is "/mnt/disk9/Movies/Captain Amer". The easiest way to get there and delete it is to use Midnight Commander. At the command line, just type mc Quote Link to comment
Cartierusm Posted July 28, 2015 Author Share Posted July 28, 2015 Thanks. I use MC all the time to transfers files from one drive to the next. I tried it before in MC, but that didn't work. I'll try again and if it doesn't work I'll post what is says. Thanks for all the help. Quote Link to comment
Cartierusm Posted July 28, 2015 Author Share Posted July 28, 2015 Ok it didn't delete in MC. I navigated to the directory and clicked on delete and it said, "Directory not empty, Delete it Recursively?". I clicked yes and then it said, "Cannot Remove Directory, Directory Not Empty". Quote Link to comment
trurl Posted July 29, 2015 Share Posted July 29, 2015 What do you see if you browse that folder in MC? Quote Link to comment
Cartierusm Posted July 29, 2015 Author Share Posted July 29, 2015 For some reason I have another folder that was called Captain America, but I knew that as I tried to delete that too. At the same time and separately. But inside of that in MC, no there's nothing in there. Quote Link to comment
trurl Posted July 29, 2015 Share Posted July 29, 2015 Post a syslog that includes these recent activities. Quote Link to comment
Cartierusm Posted July 29, 2015 Author Share Posted July 29, 2015 I'm not sure how to do that specifically, but here's my syslog, if that helps. tower-syslog-20150729-0842.zip Quote Link to comment
Cartierusm Posted August 13, 2015 Author Share Posted August 13, 2015 Still can't delete it. Any suggestions? Should I copy everything off the drive and then replace the drive? Quote Link to comment
Russ Uno Posted August 13, 2015 Share Posted August 13, 2015 Have you tried in telnet? The back slash in the code is because there is a space in the name. One other thing, I ran into the same thing a while ago... I thought the file was a file but in fact it was a bundle/folder which looks like a single file with an extension and contains other files. To delete it I had to add the extension as in .sparsebundle I could only delete it in telnet like below. LOG IN CHANGE DIRECTORY cd /mnt/disk9/Movies/Captain\ Amer LIST FILES (make sure your in the right place) ls -la DELETE DIRECTORY rm -r Captain\ Amer Quote Link to comment
Cartierusm Posted August 13, 2015 Author Share Posted August 13, 2015 Thanks for the suggestion. I tried what you instructed above, but it won't delete. It says "cannot delete directory not empty" I tried deleting the folder inside that and it wouldn't delete that either. Weird thing is I can rename the folders, but not delete it. Not sure what you mean by "I thought the file was a file but in fact it was a bundle/folder which looks like a single file with an extension and contains other files. To delete it I had to add the extension as in .sparsebundle I could only delete it in telnet like below." Could you explain further? Thanks. Quote Link to comment
Russ Uno Posted August 13, 2015 Share Posted August 13, 2015 Movies and Apps are usually packages (folders/directories that look like a flat file in OSX) that have a number of files within them. They usually have a dot extension that may not show in OSX unless you have the finder prefs set to show them. Sorry for the confusion it was late and I was tired when I posted. Have you tried running new permissions on unRaid? Then try to delete again, maybe even reboot before delete. Quote Link to comment
pinion Posted August 13, 2015 Share Posted August 13, 2015 If you want to delete everything under /mnt/disk9/Movies/Captain\ Amer you need to rm -rf /mnt/disk9/Movies/Captain\ Amer The f flag will force it. Be careful because /mnt/disk9/Movies/Captain\ Amer and everything under it will be blown away. Although, and someone correct me if I'm wrong, but shouldn't they be deleting from /mnt/user/Movies/Captain\ Amer instead? Quote Link to comment
Russ Uno Posted August 13, 2015 Share Posted August 13, 2015 Create a new folder called "test" make a new folder inside that called "test1" or what ever you like to call them as long as they don't exist. You can do it right from OSX finder... Then run those commands in telnet to see if you can delete that. cd /mnt/disk9/Movies/ ls -la rm -r test Quote Link to comment
Cartierusm Posted August 13, 2015 Author Share Posted August 13, 2015 I'm not sure why people are referring to OSX, I'm using a PC Windows 7. So all that makes no sense to me. I tried the remove all in the directory, same result. I'll try setting new permissions, not sure how, but I'll look it up. 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.