April 17, 201214 yr Hi, I'm using ver 4.7 Plus. I've got a reiserfs error message when trying to delete files from one of my disks. The same when I'm trying to write to this disk. it seems that the disk is mounted as read only. I've tried reiserfsck --check and then --rebuild-tree without any success. Should I replace the disk? Will the data be restored? Thanks
April 17, 201214 yr No, the file system will be corrupt on the rebuilt disk as well. Post the results from reiserfsck.
April 18, 201214 yr Author How can I log and find the result? I've tried "reiserfsck --check --logfile out.log /dev/md2" but couldn't find the output file at the end
April 18, 201214 yr If you use the telnet client Putty on your PC to connect to the server then you cand just copy and paste the info.
April 20, 201214 yr Author Hi, here is the last part of the reiserfsck --check result: bad_item: vpf-10570: block 125797308: The item header (0) has not c/ 75 (of 170\bad_item: vpf-10570: block 125797309: The item header (0) has not c/ 76 (of 170|bad_item: vpf-10570: block 125797310: The item header (0) has not c/ 77 (of 170/bad_item: vpf-10570: block 125797311: The item header (0) has not c/ 78 (of 170-bad_item: vpf-10570: block 125797312: The item header (0) has not c/ 79 (of 170\bad_item: vpf-10570: block 125797313: The item header (0) has not c/ 80 (of 170|bad_item: vpf-10570: block 125797314: The item header (0) has not c/ 81 (of 170/bad_item: vpf-10570: block 125797315: The item header (0) has not c/ 82 (of 170-bad_item: vpf-10570: block 125797316: The item header (0) has not c/ 83 (of 170\bad_item: vpf-10570: block 125797317: The item header (0) has not c/ 84 (of 170|bad_item: vpf-10570: block 125797318: The item header (0) has not c/ 85 (of 170/bad_item: vpf-10570: block 125797319: The item header (0) has not c/ 86 (of 170-bad_item: vpf-10570: block 125797320: The item header (0) has not c/ 87 (of 170\bad_item: vpf-10570: block 125797321: The item header (0) has not c/ 88 (of 170|bad_item: vpf-10570: block 125797322: The item header (0) has not c/ 89 (of 170/bad_item: vpf-10570: block 125797323: The item header (0) has not c/ 90 (of 170-bad_item: vpf-10570: block 125797324: The item header (0) has not c/ 91 (of 170\bad_item: vpf-10570: block 125797325: The item header (0) has not c/ 92 (of 170|bad_item: vpf-10570: block 125797326: The item header (0) has not c/ 93 (of 170/bad_item: vpf-10570: block 125797327: The item header (0) has not c/ 94 (of 170-bad_item: vpf-10570: block 125797328: The item header (0) has not c/ 95 (of 170\bad_item: vpf-10570: block 125797329: The item header (0) has not c/ 96 (of 170|bad_item: vpf-10570: block 125797330: The item header (0) has not c/ 97 (of 170/bad_item: vpf-10570: block 125797331: The item header (0) has not c/ 98 (of 170-bad_item: vpf-10570: block 125797332: The item header (0) has not c/ 99 (of 170\bad_item: vpf-10570: block 125797333: The item header (0) has not c/100 (of 170|bad_item: vpf-10570: block 125797334: The item header (0) has not c/101 (of 170/bad_item: vpf-10570: block 125797335: The item header (0) has not c/102 (of 170-bad_item: vpf-10570: block 125797336: The item header (0) has not c/103 (of 170\bad_item: vpf-10570: block 125797337: The item header (0) has not c/104 (of 170|bad_item: vpf-10570: block 125797338: The item header (0) has not c/105 (of 170/bad_item: vpf-10570: block 125797339: The item header (0) has not c/106 (of 170-bad_item: vpf-10570: block 125797340: The item header (0) has not c/107 (of 170\bad_item: vpf-10570: block 125797341: The item header (0) has not c/108 (of 170|bad_item: vpf-10570: block 125797342: The item header (0) has not c/109 (of 170/bad_item: vpf-10570: block 125797343: The item header (0) has not c/110 (of 170-bad_item: vpf-10570: block 125797344: The item header (0) has not c/111 (of 170\bad_item: vpf-10570: block 125797345: The item header (0) has not c/112 (of 170|bad_item: vpf-10570: block 125797346: The item header (0) has not c/113 (of 170/bad_item: vpf-10570: block 125797347: The item header (0) has not c/114 (of 170-bad_item: vpf-10570: block 125797348: The item header (0) has not c/115 (of 170\bad_item: vpf-10570: block 125797349: The item header (0) has not c/116 (of 170|bad_item: vpf-10570: block 125797350: The item header (0) has not c/117 (of 170/bad_item: vpf-10570: block 125797351: The item header (0) has not c/118 (of 170-bad_item: vpf-10570: block 125797352: The item header (0) has not c/119 (of 170\bad_item: vpf-10570: block 125797353: The item header (0) has not c/120 (of 170|bad_item: vpf-10570: block 125797354: The item header (0) has not c/121 (of 170/bad_item: vpf-10570: block 125797355: The item header (0) has not c/122 (of 170-bad_item: vpf-10570: block 125797356: The item header (0) has not c/123 (of 170\bad_item: vpf-10570: block 125797357: The item header (0) has not c/124 (of 170|bad_item: vpf-10570: block 125797358: The item header (0) has not c/125 (of 170/bad_item: vpf-10570: block 125797359: The item header (0) has not c/126 (of 170-bad_item: vpf-10570: block 125797360: The item header (0) has not c/127 (of 170\bad_item: vpf-10570: block 125797361: The item header (0) has not c/128 (of 170|bad_item: vpf-10570: block 125797362: The item header (0) has not c/129 (of 170/bad_item: vpf-10570: block 125797363: The item header (0) has not c/130 (of 170-bad_item: vpf-10570: block 125797364: The item header (0) has not c/131 (of 170\bad_item: vpf-10570: block 125797365: The item header (0) has not c/132 (of 170|bad_item: vpf-10570: block 125797366: The item header (0) has not c/133 (of 170/bad_item: vpf-10570: block 125797367: The item header (0) has not c/134 (of 170-bad_item: vpf-10570: block 125797368: The item header (0) has not c/135 (of 170\bad_item: vpf-10570: block 125797369: The item header (0) has not c/136 (of 170|bad_item: vpf-10570: block 125797370: The item header (0) has not c/137 (of 170/bad_item: vpf-10570: block 125797371: The item header (0) has not c/138 (of 170-bad_item: vpf-10570: block 125797372: The item header (0) has not c/139 (of 170\bad_item: vpf-10570: block 125797373: The item header (0) has not c/140 (of 170|bad_item: vpf-10570: block 125797374: The item header (0) has not c/141 (of 170/bad_item: vpf-10570: block 125797375: The item header (0) has not c/142 (of 170-bad_item: vpf-10570: block 125797376: The item header (0) has not c/143 (of 170\bad_item: vpf-10570: block 125797377: The item header (0) has not c/144 (of 170|bad_item: vpf-10570: block 125797378: The item header (0) has not c/145 (of 170/bad_item: vpf-10570: block 125797379: The item header (0) has not c/146 (of 170-bad_item: vpf-10570: block 125797380: The item header (0) has not c/147 (of 170\bad_item: vpf-10570: block 125797381: The item header (0) has not c/148 (of 170|bad_item: vpf-10570: block 125797382: The item header (0) has not c/149 (of 170/bad_item: vpf-10570: block 125797383: The item header (0) has not c/150 (of 170-bad_item: vpf-10570: block 125797384: The item header (0) has not c/151 (of 170\bad_item: vpf-10570: block 125797385: The item header (0) has not c/152 (of 170|bad_item: vpf-10570: block 125797386: The item header (0) has not c/153 (of 170/bad_item: vpf-10570: block 125797387: The item header (0) has not c/154 (of 170-bad_item: vpf-10570: block 125797388: The item header (0) has not c/155 (of 170\bad_item: vpf-10570: block 125797389: The item header (0) has not c/156 (of 170|bad_item: vpf-10570: block 125797390: The item header (0) has not c/157 (of 170/bad_item: vpf-10570: block 125797391: The item header (0) has not c/158 (of 170-bad_item: vpf-10570: block 125797392: The item header (0) has not c/159 (of 170\bad_item: vpf-10570: block 125797393: The item header (0) has not c/160 (of 170|bad_item: vpf-10570: block 125797394: The item header (0) has not c/161 (of 170/bad_item: vpf-10570: block 125797395: The item header (0) has not c/162 (of 170-bad_item: vpf-10570: block 125797396: The item header (0) has not c/163 (of 170\bad_item: vpf-10570: block 125797397: The item header (0) has not c/164 (of 170|bad_item: vpf-10570: block 125797398: The item header (0) has not c/165 (of 170/bad_item: vpf-10570: block 125797399: The item header (0) has not c/166 (of 170-bad_item: vpf-10570: block 125797400: The item header (0) has not c/167 (of 170\bad_item: vpf-10570: block 125797401: The item header (0) has not c/168 (of 170|bad_item: vpf-10570: block 125797402: The item header (0) has not c/169 (of 170/bad_item: vpf-10570: block 125797403: The item header (0) has not c/170 (of 170-bad_item: vpf-10570: block 125797404: The item header /156 (of 170\/ 1 (of 86|bad_item: vpf-10570: block 125797405: The item header (0) has not c/ 2 (of 86/bad_item: vpf-10570: block 125797407: The item header (0) has not c/ 3 (of 86-bad_item: vpf-10570: block 125797408: The item header (0) has not c/ 4 (of 86\bad_item: vpf-10570: block 125797409: The item header (0) has not c/ 5 (of 86|bad_item: vpf-10570: block 125797410: The item header (0) has not c/ 6 (of 86/bad_item: vpf-10570: block 125797411: The item header (0) has not c/ 7 (of 86-bad_item: vpf-10570: block 125797412: The item header (0) has not c/ 8 (of 86\bad_item: vpf-10570: block 125797413: The item header (0) has not c/ 9 (of 86|bad_item: vpf-10570: block 125797414: The item header (0) has not c/ 10 (of 86/bad_item: vpf-10570: block 125797415: The item header (0) has not c/ 11 (of 86-bad_item: vpf-10570: block 125797416: The item header (0) has not c/ 12 (of 86\bad_item: vpf-10570: block 125797417: The item header (0) has not c/ 13 (of 86|bad_item: vpf-10570: block 125797418: The item header (0) has not c/ 14 (of 86/bad_item: vpf-10570: block 125797419: The item header (0) has not c/ 15 (of 86-bad_item: vpf-10570: block 125797420: The item header (0) has not c/ 16 (of 86\bad_item: vpf-10570: block 125797421: The item header (0) has not c/ 17 (of 86|bad_item: vpf-10570: block 125797422: The item header (0) has not c/ 18 (of 86/bad_item: vpf-10570: block 125797423: The item header (0) has not c/ 19 (of 86-bad_item: vpf-10570: block 125797424: The item header (0) has not c/ 20 (of 86\bad_item: vpf-10570: block 125797425: The item header (0) has not c/ 21 (of 86|bad_item: vpf-10570: block 125797426: The item header (0) has not c/ 22 (of 86/bad_item: vpf-10570: block 125797427: The item header (0) has not c/ 23 (of 86-bad_item: vpf-10570: block 125797428: The item header (0) has not c/ 24 (of 86\bad_item: vpf-10570: block 125797429: The item header (0) has not c/ 25 (of 86|bad_item: vpf-10570: block 125797430: The item header (0) has not c/ 26 (of 86/bad_item: vpf-10570: block 125797431: The item header (0) has not c/ 27 (of 86-bad_item: vpf-10570: block 125797432: The item header (0) has not c/ 28 (of 86\bad_item: vpf-10570: block 125797433: The item header (0) has not c/ 29 (of 86|bad_item: vpf-10570: block 125797434: The item header (0) has not c/ 30 (of 86/bad_item: vpf-10570: block 125797435: The item header (0) has not c/ 31 (of 86-bad_item: vpf-10570: block 125797436: The item header (0) has not c/ 32 (of 86\bad_item: vpf-10570: block 125797437: The item header (0) has not c/ 33 (of 86|bad_item: vpf-10570: block 125797438: The item header (0) has not c/ 34 (of 86/bad_item: vpf-10570: block 125797439: The item header (0) has not c/ 35 (of 86-bad_item: vpf-10570: block 125797440: The item header (0) has not c/ 36 (of 86\bad_item: vpf-10570: block 125797441: The item header (0) has not c/ 37 (of 86|bad_item: vpf-10570: block 125797442: The item header (0) has not c/ 38 (of 86/bad_item: vpf-10570: block 125797443: The item header (0) has not c/ 39 (of 86-bad_item: vpf-10570: block 125797444: The item header (0) has not c/ 40 (of 86\bad_item: vpf-10570: block 125797445: The item header (0) has not c/ 41 (of 86|bad_item: vpf-10570: block 125797446: The item header (0) has not c/ 42 (of 86/bad_item: vpf-10570: block 125797447: The item header (0) has not c/ 43 (of 86-bad_item: vpf-10570: block 125797448: The item header (0) has not c/ 44 (of 86\bad_item: vpf-10570: block 125797449: The item header (0) has not c/ 45 (of 86|bad_item: vpf-10570: block 125797450: The item header (0) has not c/ 46 (of 86/bad_item: vpf-10570: block 125797451: The item header (0) has not c/ 47 (of 86-bad_item: vpf-10570: block 125797452: The item header (0) has not c/ 48 (of 86\bad_item: vpf-10570: block 125797453: The item header (0) has not c/ 49 (of 86|bad_item: vpf-10570: block 125797454: The item header (0) has not c/ 50 (of 86/bad_item: vpf-10570: block 125797455: The item header (0) has not c/ 51 (of 86-bad_item: vpf-10570: block 125797456: The item header (0) has not c/ 52 (of 86\bad_item: vpf-10570: block 125797457: The item header (0) has not c/ 53 (of 86|bad_item: vpf-10570: block 125797458: The item header (0) has not c/ 54 (of 86/bad_item: vpf-10570: block 125797459: The item header (0) has not c/ 55 (of 86-bad_item: vpf-10570: block 125797460: The item header (0) has not c/ 56 (of 86\bad_item: vpf-10570: block 125797461: The item header (0) has not c/ 57 (of 86|bad_item: vpf-10570: block 125797462: The item header (0) has not c/ 58 (of 86/bad_item: vpf-10570: block 125797463: The item header (0) has not c/ 59 (of 86-bad_item: vpf-10570: block 125797464: The item header (0) has not c/ 60 (of 86\bad_item: vpf-10570: block 125797465: The item header (0) has not c/ 61 (of 86|bad_item: vpf-10570: block 125797466: The item header (0) has not c/ 62 (of 86/bad_item: vpf-10570: block 125797467: The item header (0) has not c/ 63 (of 86-bad_item: vpf-10570: block 125797468: The item header (0) has not c/ 64 (of 86\bad_item: vpf-10570: block 125797469: The item header (0) has not c/ 65 (of 86|bad_item: vpf-10570: block 125797470: The item header (0) has not c/ 66 (of 86/bad_item: vpf-10570: block 125797471: The item header (0) has not c/ 67 (of 86-bad_item: vpf-10570: block 125797472: The item header (0) has not c/ 68 (of 86\bad_item: vpf-10570: block 125797473: The item header (0) has not c/ 69 (of 86|bad_item: vpf-10570: block 125797474: The item header (0) has not c/ 70 (of 86/bad_item: vpf-10570: block 125797475: The item header (0) has not c/ 71 (of 86-bad_item: vpf-10570: block 125797476: The item header (0) has not c/ 72 (of 86\bad_item: vpf-10570: block 125797477: The item header (0) has not c/ 73 (of 86|bad_item: vpf-10570: block 125797478: The item header (0) has not c/ 74 (of 86/bad_item: vpf-10570: block 125797479: The item header (0) has not c/ 75 (of 86-bad_item: vpf-10570: block 125797480: The item header (0) has not c/ 76 (of 86\bad_item: vpf-10570: block 125797481: The item header (0) has not c/ 77 (of 86|bad_item: vpf-10570: block 125797482: The item header (0) has not c/ 78 (of 86/bad_item: vpf-10570: block 125797483: The item header (0) has not c/ 79 (of 86-bad_item: vpf-10570: block 125797484: The item header (0) has not c/ 80 (of 86\bad_item: vpf-10570: block 125797485: The item header (0) has not c/ 81 (of 86|bad_item: vpf-10570: block 125797486: The item header (0) has not c/ 82 (of 86/bad_item: vpf-10570: block 125797487: The item header (0) has not c/ 83 (of 86-bad_item: vpf-10570: block 125797488: The item header (0) has not c/ 84 (of 86\bad_item: vpf-10570: block 125797489: The item header (0) has not c/ 85 (of 86|bad_item: vpf-10570: block 125797490: The item header (0) has not c/ 86 (of 86/bad_item: vpf-10570: block 125797491: The item header /157 (of 170-/ 1 (of 85\bad_item: vpf-10570: block 148800047: The item header (0) has not cleaned flags. bad_item: vpf-10570: block 148800047: The item header (1) has not cleaned flags. bad_item: vpf-10570: block 148800047: The/ 4 (of 10\/ 41 (of 142|/ 77 (of 99/bad_path: block 128526969, pointer 76: The used space (1656) of the child block (39854630) is not equal to the (blocksize (4096) - free space (2456) - header size (24)) / 78 (of 99-bad_stat_data: The objectid (22442) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_indirect_item: block 39865002: The item (22388 22442 0x1 IND (1), len 8, location 4044 entry count 0, fsck need 0, format new) has the bad pointer (0) to the block (129153759), which is in tree already bad_indirect_item: block 39865002: The item (22388 22442 0x1 IND (1), len 8, location 4044 entry count 0, fsck need 0, format new) has the bad pointer (1) to the block (129153758), which is in tree already bad_stat_data: The objectid (22443) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_stat_data: The objectid (22448) is shared by at least two files. Can be fixed with --rebuild-tree only. bad_path: The left delimiting key [22403 22404 0x0 SD (0)] of the node (39865002) must be equal to the first element's key [22388 22442 0x0 SD (0)] within the node. / 80 (of 99|bad_path: The right delimiting key [22443 22444 0x249001 IND (1)] of the node (117912003) must be greater than the last (6) element's key [22448 22450 0x0 SD (0)] within the node. / 81 (of 99/block 6158262: The level of the node (62436) is not correct, (1) expected the problem in the internal node occured (6158262), w/ 42 (of 142-/ 1 (of 105\block 6938631: The level of the node (64309) is not correct, (1) expected the problem in the internal node occured (6938631), w/ 43 (of 142|block 6938737: The level of the node (18833) is not correct, (2) expected the problem in the internal node occured (6938737), w/ 5 (of 10// 76 (of 129/block 230636711: The level of the node (19280) is not correct, (2) expected the problem in the internal node occured (230636711),/ 6 (of 10-block 2664159: The level of the node (2) is not correct, (3) expected the problem in the internal node occured (2664159), whole subtreefinished Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs. Bad nodes were found, Semantic pass skipped 55 found corruptions can be fixed only when running with --rebuild-tree ########### reiserfsck finished at Fri Apr 20 11:29:52 2012 As I mentioned, --rebuild-tree doesn't help solve this. Hope this can help. Thanks
April 20, 201214 yr What does --rebuild-tree show? reiserfsck is the only option to restore the file system. If it fails the drive will have to be removed.
April 20, 201214 yr Author Hi, This is the result from rebiuld-tree: Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes Filesystem seems mounted read-only. Skipping journal replay. ########### reiserfsck --rebuild-tree started at Fri Apr 20 18:30:08 2012 ########### Pass 0: ####### Pass 0 ####### Loading on-disk bitmap .. ok, 220326296 blocks marked used Skipping 15663 blocks (super block, journal, bitmaps) 220310633 blocks will be r ead 0%.... left 0, 19393 /sec 24454 directory entries were hashed with "r5" hash. "r5" hash is selected Flushing..finished Read blocks (but not data blocks) 220310633 Leaves among those 227767 - leaves all contents of which could not be saved and deleted 2 Objectids found 24534 Pass 1 (will try to insert 227765 leaves): ####### Pass 1 ####### Looking for allocable blocks .. finished 0%....20%....40%....60%....80%....100% left 0, 859 /sec Flushing..finished 227765 leaves read 227748 inserted 17 not inserted ####### Pass 2 ####### Pass 2: 0%....20%....40%....60%....80%....100% left 0, 17 /sec Flushing..finished Leaves inserted item by item 17 Pass 3 (semantic): ####### Pass 3 ######### /lost+foundvpf-10680: The directory [2 12521] has the wrong block count in the StatData (5) - corrected to (1) vpf-10650: The directory [2 12521] has the wrong size in the StatData (2416) - corrected to (48) Flushing..finished Files found: 22637 Directories found: 1806 Pass 3a (looking for lost dir/files): ####### Pass 3a (lost+found pass) ######### Looking for lost directories: Looking for lost files:3 /sec Flushing..finished17, 34 /sec Objects without names 74 Dirs linked to /lost+found: 12 Files linked to /lost+found 62 Pass 4 - finisheddone 227748, 200 /sec Flushing..finished The partition is mounted ro. It is better to umount and mount it again. Syncing..finished ########### reiserfsck finished at Fri Apr 20 22:07:58 2012 ########### root@Tower:~# Thanks
April 20, 201214 yr The partition is mounted ro. It is better to umount and mount it again. See here: http://lime-technology.com/wiki/index.php/Check_Disk_Filesystems
Archived
This topic is now archived and is closed to further replies.