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.

Diagnosing issue (shfs_readdir exec format error)

Featured Replies

So I setup an unraid at my brother's place and he is complaining he has issues some problems that he can't view all the files he knows are there.  He is not techy at all and said he tried to fix it on his own so god knows what he has done.  I originally had him on 4.7 and know he is on 5.0.5 so he obviously upgraded it on his own.

 

Looking at internal file viewer some directories look like they have sub directories but they can not be clicked on.  I also notice this line in the syslog

 

Jun 21 10:24:24 Tower shfs/user: shfs_readdir: opendir: /mnt/disk1/archive/warez (8) Exec format error

 

 

  • Author

I decided that the files in that directory are not important but I can't even delete it?

 

Any ideas?

 

root@Tower:/mnt/disk1/archive# rm -rf warez

rm: cannot remove `warez': Exec format error

 

 

  • Author

root@Tower:~# reiserfsck --check /dev/md1

reiserfsck 3.6.24

 

Will read-only check consistency of the filesystem on /dev/md1

Will put log info to 'stdout'

 

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes

###########

reiserfsck --check started at Mon Jun 23 17:14:22 2014

###########

Replaying journal: Done.

Reiserfs journal '/dev/md1' in blocks [18..8211]: 0 transactions replayed

Checking internal tree.. finished

Comparing bitmaps..finished

Checking Semantic tree:

finished

No corruptions found

There are on the filesystem:

        Leaves 477090

        Internal nodes 2852

        Directories 228

        Other files 448

        Data block pointers 482725448 (0 of them are zero)

        Safe links 0

###########

reiserfsck finished at Mon Jun 23 18:31:42 2014

###########

 

no errors according to that.  Now what?  I'm tempted to manually move the good directories to a disk that has the free space and just format the disk...

Since he updated to 5.x have you run the new permissions script? It could take several hours if he has lots of files.

  • Author

He says he did.

 

I could run it again and it wouldn't hurt anything right?

You can run it whenever. All it does is walk through all the files and set the permissions back to the correct setting for normal unraid sharing.

  • Author

Ran it again

 

same issue

 

root@Tower:/mnt/disk1/archive# cd warez

-bash: cd: warez: Exec format error

root@Tower:/mnt/disk1/archive# rm -rf warez

rm: cannot remove `warez': Exec format error

 

So I'm thinking mv the other directories to an empty disk and then format this disk?  Unless there is a better solution.

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.