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.

Can't delete certain files

Featured Replies

I'm trying to remove a disk that's starting to go bad from the array.  Before I do that, I'm trying to copy everything from the disk to the rest of the array with Unbalance.  That worked, sorta.

 

I've got one specific directory in which there are 20 or so files that don't move.  In the end I started midnight commander via a terminal window and tried like that, but it says : "Cannot stat "filename" - No such file or directory".  All the files are now in red with a question mark as the first character in their filename. 

 

Is there a way to get rid of these files, or is this the result of what Unraid started to report - disk errors and the disk going bad?

 

It's not a huge problem, I still have those files stored elsewhere, but I'm just wondering.

 

Thanks!

I've found that the most reliable way to get rid of obstinate files is via the command line.

 

SSH into your unRaid system as root and navigate to the directory in question.

 

To see all files, including invisible, with extended info, issue;

 

ls -a -l

 

Then, from within the directory;

 

rm -r -f *

 

(be super careful with that one, it's force remove all files in the current directory, including all files and folders within folders - issuing that in the wrong place can wipe drives)

 

If that doesn't work, you may need more expert guidance that I can give.

  • Author

Thanks for the info!  But alas, it doesn't work.  The files are still there.  When I do "ls" on that specific directory, it also seems as it the files have no attributes?  (see Putty screenshot).  Very strange!

 

 

puttyoutput.jpg

  • Author

No.  They don't even show up in explorer. Nor in Unraid, when I click though the folder view directly on the disk (on the "main" tab).  Strangely enough, Unraid does not say "no files", but rather "No listing: Too many files" (but doesn't show any).

 

Edit : nevermind, I was going to remove this disk anyway, and now I did.  Guess I'll never know what happened, but it doesn't matter also.

Edited by BartDG

A quick web search suggests corrupt disk. Glad it's not critical.

 

  • Author

No, I removed the disk, had the system rebuild parity and everything is peachy again.  Except for the fact that I now only have 89 GB free space left. 😳  But that's fixed easily enough. 😇

 

Thanks for trying to help!

Archived

This topic is now archived and is closed to further replies.

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.