Thread (10 messages) 10 messages, 3 authors, 2012-10-26

Re: EXT4-fs error w/ external USB drive

From: Toralf Förster <hidden>
Date: 2012-10-22 18:39:41
Also in: lkml

On 10/19/2012 11:07 PM, Theodore Ts'o wrote:
On Mon, Oct 15, 2012 at 07:46:02PM +0200, Toralf Förster wrote:
quoted
Even with current stable kernel 3.6.2 I sometimes get those syslog messages :


2012-10-15T19:37:58.401+02:00 n22 kernel: EXT4-fs error (device sdb3): ext4_mb_generate_buddy:741: group 436, 22902 clusters in bitmap, 22901 in gd
Have you run e2fsck to clean up the file system corruption?  If you
have, do you continually get these errors afterwards?
Well, I got it yesterday too :

n22 ~ # zgrep  ext4_mb_generate_buddy /var/log/messages-201210*                                                                                                                       
/var/log/messages-20121021.gz:2012-10-15T19:05:39.189+02:00 n22 kernel: EXT4-fs error (device sdb3): ext4_mb_generate_buddy:741: group 774, 27157 clusters in bitmap, 27052 in gd       
/var/log/messages-20121021.gz:2012-10-15T19:37:58.401+02:00 n22 kernel: EXT4-fs error (device sdb3): ext4_mb_generate_buddy:741: group 436, 22902 clusters in bitmap, 22901 in gd       
/var/log/messages-20121021.gz:2012-10-15T19:56:05.301+02:00 n22 kernel: EXT4-fs error (device sdb3): ext4_mb_generate_buddy:741: group 1233, 11981 clusters in bitmap, 11974 in gd      
/var/log/messages-20121021.gz:2012-10-15T19:56:18.601+02:00 n22 kernel: EXT4-fs error (device sdb3): ext4_mb_generate_buddy:741: group 484, 28817 clusters in bitmap, 28101 in gd      

I rebooted the system and forced a run of fsck after these lines too.
I'll check periodically whether it happens again.
 
You say this is an external USB disk; is there any possibility of the
disk getting unmounted uncleanly due to the cable getting pulled out
while the disk is still mounted, and then the disk getting remounted
w/o having e2fsck run on the disk?
For the first occurrence probably yes (better : I dunno), but yesterday definitely not.



-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help