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.

Help! How can I delete this file.

Featured Replies

Today I stumbled upon problem. I tried to delete a directory from my server with an attached Windows 7 laptop. I got a message that it could not be deleted because it was open in another program. I then tried to delete the file in a telnet session with MC. I still can't delete the directory because it is not empty. There is indeed a file like shown in the attachment. Where does this file come from and how to delete it? It's over 38 GByte.

hiddenfile.jpg.e844cbcf076ee39acc93aaaa167754f1.jpg

Found the below online.  It sounds like the file was attempted to delete, but it is in use somehow.  I would maybe reboot the unraid server and see if you can delete it then?  Just a guess though. 

 

 

Hidden files are created by the fuse high-level user-space library. Unix supports references and access to deleted files, but that's not something most fuse applications handle. So the fuse user-space library acts the same way as NFS, in that deletions are 'soft' as long as references remain. Instead of actually deleting the file, it is renamed to '.fuse_hidden...' until the last reference is released.

 

This is part of the FUSE user-space library, and is correct behavior. There is a hard_remove mount option for FUSE that you can use if your program allows passing in additional fuse flags (or modify the program to do so). The downside is that the filesystem would no longer have access to files that were open while deleted, so it may behave poorly.

 

Some filesystems will track references themselves and may disable soft deletes by default. Also, programs that use the FUSE low-level API won't do this.

 

Disable Network Services, i.e., SMB, AFP, NFS, in the Settings tab. Then try. A reboot may be required.

The following command can remove directories whether in use or not. Use with great caution. If used incorrectly (especially with wildcards) you can delete everything on your system.

 

rm -rf ExactDirectoryName

 

Linux interprets wildcards ( * or ? ) differently than Windows in some cases. If you are unable to remove the directory with any of the above suggestions, this will work.

  • 2 weeks later...

The following command can remove directories whether in use or not. Use with great caution. If used incorrectly (especially with wildcards) you can delete everything on your system.

 

rm -rf ExactDirectoryName

 

Linux interprets wildcards ( * or ? ) differently than Windows in some cases. If you are unable to remove the directory with any of the above suggestions, this will work.

 

You'd think it would... I sure as hell did... but it doesn't. It returns:

rm: cannot remove `FOO': Directory not empty

 

You can rm the .fuse_hidden file, but it just adds another after incrementing the number after .fuse_hidden.

 

Turn off shares or start in maintenance mode then rm.

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.