Hi all, Apologies but this is going to be a long post. I get a corruption sometime when I do a $sudo shutdown -r now This is on an ubuntu 8.10 machine. The only way to resolve the same I know is to do a sudo fsck -y /dev/sdb7 This is the output I got when I ran fsck through the Live CD $ sudo fsck -y /dev/sdb7 fsck 1.41.3 (12-Oct-2008) e2fsck 1.41.3 (12-Oct-2008) /dev/sdb7 contains a file system with errors, check forced. Pass 1: Checking inodes, blocks, and sizes Inode 991290 has illegal block(s). Clear? yes Illegal block #12 (1770618119) in inode 991290. CLEARED. Illegal block #13 (3240613319) in inode 991290. CLEARED. Illegal block #14 (2657962509) in inode 991290. CLEARED. Illegal block #15 (1989131717) in inode 991290. CLEARED. Illegal block #16 (3656511222) in inode 991290. CLEARED. Illegal block #17 (3779028861) in inode 991290. CLEARED. Illegal block #18 (2107801771) in inode 991290. CLEARED. Illegal block #19 (341962676) in inode 991290. CLEARED. Illegal block #20 (3524774831) in inode 991290. CLEARED. Illegal block #21 (2399313415) in inode 991290. CLEARED. Illegal block #22 (3961093683) in inode 991290. CLEARED. Too many illegal blocks in inode 991290. Clear inode? yes Inode 991327 has illegal block(s). Clear? yes Illegal block #12 (1936420449) in inode 991327. CLEARED. Illegal block #13 (1953849951) in inode 991327. CLEARED. Illegal block #14 (1601073012) in inode 991327. CLEARED. Illegal block #15 (858797110) in inode 991327. CLEARED. Illegal block #16 (574109749) in inode 991327. CLEARED. Illegal block #17 (1668181792) in inode 991327. CLEARED. Illegal block #18 (1801677164) in inode 991327. CLEARED. Illegal block #19 (1701978685) in inode 991327. CLEARED. Illegal block #20 (1852994932) in inode 991327. CLEARED. Illegal block #21 (1936683040) in inode 991327. CLEARED. Illegal block #22 (1752457076) in inode 991327. CLEARED. Too many illegal blocks in inode 991327. Clear inode? yes Inode 991248, i_blocks is 21744, should be 21760. Fix? yes Inode 991247, i_size is 4946696, should be 5099520. Fix? yes Inode 991247, i_blocks is 9688, should be 9984. Fix? yes Inode 991246, i_size is 3581284, should be 3719168. Fix? yes Inode 991246, i_blocks is 7008, should be 7272. Fix? yes Inode 991252 has illegal block(s). Clear? yes Illegal block #12 (73119260) in inode 991252. CLEARED. Illegal block #13 (244035658) in inode 991252. CLEARED. Illegal block #14 (4177530440) in inode 991252. CLEARED. Illegal block #15 (1086374436) in inode 991252. CLEARED. Illegal block #16 (3662801559) in inode 991252. CLEARED. Illegal block #17 (1612073856) in inode 991252. CLEARED. Illegal block #18 (1695981284) in inode 991252. CLEARED. Illegal block #19 (3159380756) in inode 991252. CLEARED. Illegal block #20 (2215936188) in inode 991252. CLEARED. Illegal block #21 (189450669) in inode 991252. CLEARED. Illegal block #22 (1425021953) in inode 991252. CLEARED. Too many illegal blocks in inode 991252. Clear inode? yes Inode 991238, i_blocks is 56, should be 128. Fix? yes Restarting e2fsck from the beginning... /dev/sdb7 contains a file system with errors, check forced. Pass 1: Checking inodes, blocks, and sizes Running additional passes to resolve blocks claimed by more than one inode... Pass 1B: Rescanning for multiply-claimed blocks Multiply-claimed block(s) in inode 90119: 4685733 4685734 4685735 4685736 4685737 4685738 4685739 4685740 4685741 4685742 4685743 4685744 4685745 4685750 4685751 4685752 4685753 4127735 4127736 4127737 4127738 4688088 4688089 4688090 4688091 4688092 4688093 4688094 4688095 4688096 4688097 4688066 4688067 4688068 4688069 4688070 4688071 4688072 4688073 4688074 4688075 4688076 4688077 4688078 4688079 4688080 4688081 4688415 4689614 4689615 4689668 4689669 4689670 4689671 4690241 4127766 4688072 4688073 4688074 4688075 4688076 4688077 4688078 4688079 4688080 4688081 4688082 4688083 4688084 4688085 4685746 4685747 4685748 4685749 4685750 4685751 4685752 4685753 4685754 4685755 4685756 4685757 4685758 4685759 4685760 4685761 4685762 4685763 4685764 4685765 4685766 4685767 4685768 4685769 4685770 4685771 4685772 4685773 4685774 4685775 4685776 4685777 4688098 4688099 4688100 4688101 4688102 4688103 4688104 4688105 4688106 4688107 4688108 4688109 4688110 4688115 4688116 4688117 4688118 4688119 4688120 4688121 4688122 4688123 4688124 4688125 4688126 4688127 4688128 4688129 4688130 4688131 4688132 4688133 4688134 4688135 4688136 4688137 4688138 4688139 4688140 4688141 4688082 4688083 4688084 4688085 4688086 4688087 4688088 4688089 4688090 4688091 4688092 4688093 4688094 4688095 4688096 4688097 4688098 4688099 4688100 4688101 4688102 4688103 4688104 4688105 4688106 4688107 4688108 4688109 4688110 4688111 4688112 4688113 4688114 4688115 4688116 4688117 4688122 4688123 4688124 4688125 4688126 4688127 4688128 4688129 4688130 4688131 4688132 4688133 4688134 4688135 4688136 4688137 4688138 4688139 4688140 4688141 4688118 4688119 4688120 4688121 4685754 4685755 4685756 4685757 4685758 4685759 4685760 4685761 4685762 4685763 4685764 4685765 4685766 4685767 4685768 4685769 4685770 4685771 4685772 4685773 4685774 4685775 4685776 4685777 3981579 3981580 3981581 3981582 4688415 4689614 4689615 4689668 4689669 4689670 4689671 4690241 4127727 4127728 4127729 4127730 4127731 4127732 4127733 4127734 4127739 4127727 4127728 4127729 4127730 4127731 4127732 4127733 4127734 4127735 4127736 4127737 4127738 4127739 4127766 4688066 4688067 4688068 4688069 4688070 4688071 4688086 4688087 4685730 4685731 4685732 4685733 4685734 4685735 4685736 4685737 4685738 4685739 4685740 4685741 4685742 4685743 4685744 4685745 4685746 4685747 4685748 4685749 4688111 4688112 4688113 4688114 Multiply-claimed block(s) in inode 114733: 666688 Multiply-claimed block(s) in inode 163844: 666688 Multiply-claimed block(s) in inode 172034: 3977510 3977511 3977515 Multiply-claimed block(s) in inode 172035: 3977870 3977871 3977872 3977512 3977513 3977514 Multiply-claimed block(s) in inode 286739: 2627522 Multiply-claimed block(s) in inode 655365: 2627522 Multiply-claimed block(s) in inode 671757: 2704118 Multiply-claimed block(s) in inode 671802: 2704118 Multiply-claimed block(s) in inode 991246: 4664249 4664250 4664251 4664252 4664253 4664254 4664255 4664256 4664257 Multiply-claimed block(s) in inode 991247: 4685730 4685731 4685732 Multiply-claimed block(s) in inode 991261: 4664249 4664250 4664251 4664252 4664253 4664254 4664255 4664256 4664257 Multiply-claimed block(s) in inode 991286: 3977870 3977871 3977872 Multiply-claimed block(s) in inode 991287: 3977510 3977511 3977512 3977513 3977514 3977515 Multiply-claimed block(s) in inode 991335: 3981579 Multiply-claimed block(s) in inode 991336: 3981580 3981581 3981582 Pass 1C: Scanning directories for inodes with multiply-claimed blocks Pass 1D: Reconciling multiply-claimed blocks (There are 16 inodes containing multiply-claimed blocks.) File /shirish/StudentSexParties.Ep.1.avi (inode #90119, mod time Sun Dec 21 10:34:39 2008) has 293 multiply-claimed block(s), shared with 3 file(s): /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/_CACHE_002_ (inode #991247, mod time Sat Dec 20 06:21:29 2008) /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/4A0B1529d01 (inode #991336, mod time Thu Dec 18 11:57:04 2008) /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/2A406716d01 (inode #991335, mod time Thu Dec 18 11:56:58 2008) Clone multiply-claimed blocks? yes File /shirish/Ma.Mere.(Mi.Madre).DVDRip.[www.nosolotorrents.com]/Ma.Mere.(Mi.Madre).DVDRip.[www.nosolotorrents.com].avi (inode #114733, mod time Sat Nov 29 23:41:02 2008) has 1 multiply-claimed block(s), shared with 1 file(s): /shirish/.mozilla/firefox/h7vfyd3o.default/bookmarkbackups/bookmarks-2008-12-20.json (inode #163844, mod time Sat Dec 20 15:42:42 2008) Clone multiply-claimed blocks? yes File /shirish/.mozilla/firefox/h7vfyd3o.default/bookmarkbackups/bookmarks-2008-12-20.json (inode #163844, mod time Sat Dec 20 15:42:42 2008) has 1 multiply-claimed block(s), shared with 1 file(s): /shirish/Ma.Mere.(Mi.Madre).DVDRip.[www.nosolotorrents.com]/Ma.Mere.(Mi.Madre).DVDRip.[www.nosolotorrents.com].avi (inode #114733, mod time Sat Nov 29 23:41:02 2008) Multiply-claimed blocks already reassigned or cloned. File /shirish/Om Dar B Dar/Om Dar B Dar 1.avi (inode #172034, mod time Sun Dec 21 02:01:31 2008) has 3 multiply-claimed block(s), shared with 1 file(s): /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/07433BFDd01 (inode #991287, mod time Sat Dec 20 06:40:51 2008) Clone multiply-claimed blocks? yes File /shirish/Om Dar B Dar/Om Dar B Dar 2.avi (inode #172035, mod time Sun Dec 21 02:00:21 2008) has 6 multiply-claimed block(s), shared with 2 file(s): /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/07433BFDd01 (inode #991287, mod time Sat Dec 20 06:40:51 2008) /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/BE7CF4BDd01 (inode #991286, mod time Sat Dec 20 06:28:08 2008) Clone multiply-claimed blocks? yes File /shirish/xxx/Love_Strange_Love_vasakula1.avi (inode #286739, mod time Sat Dec 6 16:56:17 2008) has 1 multiply-claimed block(s), shared with 1 file(s): /shirish/2007-07-26-OSCON-poisonous-people.pdf (inode #655365, mod time Tue Jul 31 03:30:43 2007) Clone multiply-claimed blocks? yes File /shirish/2007-07-26-OSCON-poisonous-people.pdf (inode #655365, mod time Tue Jul 31 03:30:43 2007) has 1 multiply-claimed block(s), shared with 1 file(s): /shirish/xxx/Love_Strange_Love_vasakula1.avi (inode #286739, mod time Sat Dec 6 16:56:17 2008) Multiply-claimed blocks already reassigned or cloned. File /shirish/Music/my favs/10 Track 10.wma (inode #671757, mod time Fri Oct 17 18:48:55 2008) has 1 multiply-claimed block(s), shared with 1 file(s): /shirish/.BOINC Manager (inode #671802, mod time Sun Dec 21 10:37:27 2008) Clone multiply-claimed blocks? yes File /shirish/.BOINC Manager (inode #671802, mod time Sun Dec 21 10:37:27 2008) has 1 multiply-claimed block(s), shared with 1 file(s): /shirish/Music/my favs/10 Track 10.wma (inode #671757, mod time Fri Oct 17 18:48:55 2008) Multiply-claimed blocks already reassigned or cloned. File /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/_CACHE_001_ (inode #991246, mod time Sat Dec 20 06:22:13 2008) has 9 multiply-claimed block(s), shared with 1 file(s): /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/146A0CB9d01 (inode #991261, mod time Sat Dec 20 04:08:51 2008) Clone multiply-claimed blocks? yes File /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/_CACHE_002_ (inode #991247, mod time Sat Dec 20 06:21:29 2008) has 3 multiply-claimed block(s), shared with 1 file(s): /shirish/StudentSexParties.Ep.1.avi (inode #90119, mod time Sun Dec 21 10:34:39 2008) Multiply-claimed blocks already reassigned or cloned. File /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/146A0CB9d01 (inode #991261, mod time Sat Dec 20 04:08:51 2008) has 9 multiply-claimed block(s), shared with 1 file(s): /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/_CACHE_001_ (inode #991246, mod time Sat Dec 20 06:22:13 2008) Multiply-claimed blocks already reassigned or cloned. File /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/BE7CF4BDd01 (inode #991286, mod time Sat Dec 20 06:28:08 2008) has 3 multiply-claimed block(s), shared with 1 file(s): /shirish/Om Dar B Dar/Om Dar B Dar 2.avi (inode #172035, mod time Sun Dec 21 02:00:21 2008) Multiply-claimed blocks already reassigned or cloned. File /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/07433BFDd01 (inode #991287, mod time Sat Dec 20 06:40:51 2008) has 6 multiply-claimed block(s), shared with 2 file(s): /shirish/Om Dar B Dar/Om Dar B Dar 1.avi (inode #172034, mod time Sun Dec 21 02:01:31 2008) /shirish/Om Dar B Dar/Om Dar B Dar 2.avi (inode #172035, mod time Sun Dec 21 02:00:21 2008) Multiply-claimed blocks already reassigned or cloned. File /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/2A406716d01 (inode #991335, mod time Thu Dec 18 11:56:58 2008) has 1 multiply-claimed block(s), shared with 1 file(s): /shirish/StudentSexParties.Ep.1.avi (inode #90119, mod time Sun Dec 21 10:34:39 2008) Multiply-claimed blocks already reassigned or cloned. File /shirish/.mozilla/firefox/h7vfyd3o.default/Cache/4A0B1529d01 (inode #991336, mod time Thu Dec 18 11:57:04 2008) has 3 multiply-claimed block(s), shared with 1 file(s): /shirish/StudentSexParties.Ep.1.avi (inode #90119, mod time Sun Dec 21 10:34:39 2008) Multiply-claimed blocks already reassigned or cloned. Pass 2: Checking directory structure Entry 'F3D5384Cd01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991327. Clear? yes Entry 'BF829995d01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991353. Clear? yes Entry '27D9935Cd01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991753. Clear? yes Entry '7D64935Cd01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991755. Clear? yes Entry 'BFBD2A59d01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991290. Clear? yes Entry '5790F21Ad01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991252. Clear? yes Entry '099D7318d01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991574. Clear? yes Entry '014A935Cd01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991754. Clear? yes Entry '215F935Cd01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991756. Clear? yes Entry '50D1FFB6d01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991503. Clear? yes Entry '636F935Cd01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991757. Clear? yes Entry '22FA8E85d01' in /shirish/.mozilla/firefox/h7vfyd3o.default/Cache (991244) has deleted/unused inode 991351. Clear? yes Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Block bitmap differences: +1267420 +2263778 +3191345 +3705866 -(3971506--3971508) -(3971532--3971533) -(3971535--3971540) -3972607 -(3980408--3980414) -(3980416--3980417) -(3980423--3980443) -(3981359--3981363) -3981451 -(3981477--3981493) -(3981595--3981604) -(3981606--3981621) -(3984736--3984741) -(3994321--3994325) -3995840 +4198136 +4198436 +4210867 +4472932 Fix? yes Free blocks count wrong for group #0 (26656, counted=26485). Fix? yes Free blocks count wrong for group #38 (1, counted=0). Fix? yes Free blocks count wrong for group #65 (5, counted=2). Fix? yes Free blocks count wrong for group #69 (1, counted=0). Fix? yes Free blocks count wrong for group #97 (1, counted=0). Fix? yes Free blocks count wrong for group #113 (1, counted=0). Fix? yes Free blocks count wrong for group #121 (0, counted=103). Fix? yes Free blocks count wrong for group #125 (29, counted=0). Fix? yes Free blocks count wrong for group #128 (3, counted=0). Fix? yes Free blocks count wrong for group #136 (1, counted=0). Fix? yes Free blocks count wrong for group #143 (331, counted=0). Fix? yes Free blocks count wrong (28889238, counted=28888799). Fix? yes Inode bitmap differences: -991252 -991290 -991327 -991351 -991353 -991503 -991574 -(991753--991757) Fix? yes Free inodes count wrong for group #121 (7623, counted=7635). Fix? yes Free inodes count wrong (8474530, counted=8474542). Fix? yes /dev/sdb7: ***** FILE SYSTEM WAS MODIFIED ***** /dev/sdb7: 4178/8478720 files (10.4% non-contiguous), 5014367/33903166 blocks Can anybody tell me what I should do so this can be prevented? Looking forward for any info. or any way the same can be averted. -- Regards, Shirish Agarwal This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17
Hi all, An addition, the output of dumpe2fs . The output is large hence put the same on rapidshare. http://rapidshare.com/files/175485276/dump2efs.txt.html If any info. is needed, please lemme know. -- Regards, Shirish Agarwal This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/ http://flossexperiences.wordpress.com 065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17
Eric Sandeen
2008-Dec-21 16:03 UTC
corruption happening sometimes when I do a shutdown -r now
shirish wrote:> Hi all, > Apologies but this is going to be a long post. > > I get a corruption sometime when I do a $sudo shutdown -r now > > This is on an ubuntu 8.10 machine. > > The only way to resolve the same I know is to do a sudo fsck -y /dev/sdb7 > > This is the output I got when I ran fsck through the Live CD > > $ sudo fsck -y /dev/sdb7 > fsck 1.41.3 (12-Oct-2008) > e2fsck 1.41.3 (12-Oct-2008) > /dev/sdb7 contains a file system with errors, check forced.If the fs was flagged with errors, the first thing to do is to find out what that error was; it should be in the system logs. <snip>> > Can anybody tell me what I should do so this can be prevented? > > Looking forward for any info. or any way the same can be averted.Figure out what the original error was if possible, then go from there. Is this repeatable? -Eric
Apparently Analagous Threads
- ANNOUNCE: cifs-utils release 5.1 available for download
- ANNOUNCE: cifs-utils release 5.2 available for download
- [rproxy-devel] rdiff deltas not very good compared to pysync, why?
- ANNOUNCE: cifs-utils release 5.0 available for download
- rsync between desktop & external hdd.