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 remove hidden folders in /mnt/disk1

Featured Replies

I have my plugins installed in /mnt/disk1.  Examples would be plex, mysql, mylar, etc.  I have them hidden during installation.  So it will be something like /mnt/disk1/.plex_server.  Using windows explorer, I can see them, as I set my explorer to show hidden folders.  I can't delete the whole folder though.  Anyone know how?  I have removed the plugin from /boot/config/plugins so it don't bootup.  Still I cannot delete.

I have my plugins installed in /mnt/disk1.  Examples would be plex, mysql, mylar, etc.  I have them hidden during installation.  So it will be something like /mnt/disk1/.plex_server.  Using windows explorer, I can see them, as I set my explorer to show hidden folders.  I can't delete the whole folder though.  Anyone know how?  I have removed the plugin from /boot/config/plugins so it don't bootup.  Still I cannot delete.

you will not be able to delete the folder if it contains any files. (or has any open files, even if those files were removed, or if it has any programs launched from it still running, even if the files had been deleted)

 

Perhaps there is a hidden file in the .plex_server directory?

 

from the linux command line, type:

ls -lR /mnt/disk1/.plex_server

 

You will be able to see if there are any hidden files or directories remaining.

 

Joe L.

  • Author

Hello Joe L.  The folder is not a shared folder. It's a folder I chose where to install plugins,  e. G. Plex. I placed a . in front to make it hidden. Now,  I can see it,  I can't delete it even of plex doesn't load anymore.

Hello Joe L.  The folder is not a shared folder. It's a folder I chose where to install plugins,  e. G. Plex. I placed a . in front to make it hidden. Now,  I can see it,  I can't delete it even of plex doesn't load anymore.

 

Have you tired to telnet into the server and use mc (midnight commander) to delete the folder?

 

  • Author

I've telnet into the server and issued rm -rf .plexmedia* since I have a folder named .plexmedia_config, .plexmediaserver, and another 1. 

 

It says read only, cannot be done. 

 

I wonder if booting in safe mode, without running any plugins, will allow me to delete the folders? 

 

In Windows explorer, they seem to delete, going through the motions of deleting each and every file, giving me a long wait.  After the activity, it will still appear in windows explorer.  So no action was taken. 

  • Author

Hello Joe L.  The folder is not a shared folder. It's a folder I chose where to install plugins,  e. G. Plex. I placed a . in front to make it hidden. Now,  I can see it,  I can't delete it even of plex doesn't load anymore.

 

Have you tired to telnet into the server and use mc (midnight commander) to delete the folder?

 

I tried mc, I was able to delete one of the .plexmediaserver*** folders.  I was able to delete a portion of the other two remaining .plexmediaserver*** folders.  But it didn't finish, and tells me there are contents inside.  When selecting the file 1 by 1, it says read only filesystem.

 

BTW, I've already run my unraid on safe mode, no plugins started.  This is still the case. 

 

I don't know if there's any significance that this is disk1 of my unraid I'm talking about.  Apps are installed on my disk1.  On 2 occassions this month, the drive was offline.  I stopped the array, and restarted rebuilding parity.  On both occassions, it completed, and I was able to use it as it is.  Now, I encountered problems with mysql, and Plex.  That's why I wanted to delete them. 

It is possible that there has been file system corruption.  Since you say this is disk 1 you might want to start the array in Safe Mode (so no plugins are loaded) and put the array into maintenance mode and run the command

reiserfsck --check /dev/md1

from a telnet/console session and see what that reports.

  • Author

Can you still get the array running when all apps are installed in disk1?

You should be able to get it running.  The reason people prefer to put apps on the cache drive is because any writes will cause the cache drive to spin up.  If installed to an array disks, writes will cause the array disk to spin up as well as the parity disk. Some apps don't let the disk spin down due to how frequently they write.

  • Author

sureguy, I was able to start the array in maintenance mode.  Thank you.  I followed itimpi's suggestion and run reiserfsck.  It finished, and adviced me to run reiserfsck --rebuild-tree.  Waiting for it to finish. 

  • Author

The reiserfsck - - rebuild-tree took a while,  but it worked.  I was able to delete my folders successfully after that. Though I had to reinstall Some apps as well since they are not running. After reinstall,  everything's good.

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.