June 23, 201412 yr 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 ( Exec format error
June 23, 201412 yr 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
June 24, 201412 yr 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...
June 24, 201412 yr Since he updated to 5.x have you run the new permissions script? It could take several hours if he has lots of files.
June 24, 201412 yr 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.
June 24, 201412 yr 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.