I've got ext4_mb_generate_buddy errors on my ext4 partition
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2011
    Posts
    7

    I've got ext4_mb_generate_buddy errors on my ext4 partition

    I use a old x86 to install fedora with transmission to do downloads.Maybe a crash or unintentional shutdown cause these troubles:
    Code:
    mynas@fedora:~# dmesg
    dy:736: group 7749, 0 blocks in bitmap, 534 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7751, 0 blocks in bitmap, 354 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7752, 0 blocks in bitmap, 22 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7754, 0 blocks in bitmap, 13 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7755, 0 blocks in bitmap, 586 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7756, 0 blocks in bitmap, 661 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7757, 0 blocks in bitmap, 13 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7758, 0 blocks in bitmap, 8 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7760, 0 blocks in bitmap, 117 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7766, 0 blocks in bitmap, 512 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7768, 0 blocks in bitmap, 52 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7772, 0 blocks in bitmap, 43 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7774, 0 blocks in bitmap, 30 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7776, 0 blocks in bitmap, 19 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7786, 0 blocks in bitmap, 93 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7788, 0 blocks in bitmap, 423 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7793, 0 blocks in bitmap, 278 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7797, 0 blocks in bitmap, 276 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7802, 0 blocks in bitmap, 512 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7806, 0 blocks in bitmap, 820 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7807, 0 blocks in bitmap, 360 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7937, 0 blocks in bitmap, 8 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7939, 0 blocks in bitmap, 303 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7941, 0 blocks in bitmap, 125 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7945, 0 blocks in bitmap, 348 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7956, 0 blocks in bitmap, 330 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7959, 0 blocks in bitmap, 1 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7961, 0 blocks in bitmap, 47 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7967, 0 blocks in bitmap, 27 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7971, 0 blocks in bitmap, 60 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7977, 0 blocks in bitmap, 76 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7979, 0 blocks in bitmap, 483 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7985, 0 blocks in bitmap, 51 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7987, 0 blocks in bitmap, 629 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7991, 0 blocks in bitmap, 212 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 7999, 0 blocks in bitmap, 26 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8005, 0 blocks in bitmap, 220 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8007, 0 blocks in bitmap, 245 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8009, 0 blocks in bitmap, 219 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8012, 0 blocks in bitmap, 3 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8016, 0 blocks in bitmap, 517 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8020, 0 blocks in bitmap, 139 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8022, 0 blocks in bitmap, 452 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8026, 0 blocks in bitmap, 146 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8038, 0 blocks in bitmap, 5 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8040, 0 blocks in bitmap, 155 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8042, 0 blocks in bitmap, 144 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8045, 0 blocks in bitmap, 13 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8052, 0 blocks in bitmap, 66 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8058, 0 blocks in bitmap, 61 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8071, 0 blocks in bitmap, 290 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8079, 0 blocks in bitmap, 244 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8082, 0 blocks in bitmap, 434 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8085, 0 blocks in bitmap, 446 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8087, 0 blocks in bitmap, 38 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8091, 0 blocks in bitmap, 43 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8093, 0 blocks in bitmap, 448 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8095, 0 blocks in bitmap, 449 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8097, 0 blocks in bitmap, 5 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8099, 0 blocks in bitmap, 322 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8101, 0 blocks in bitmap, 559 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8118, 0 blocks in bitmap, 71 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8122, 0 blocks in bitmap, 128 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8124, 0 blocks in bitmap, 128 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8134, 0 blocks in bitmap, 12 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8146, 0 blocks in bitmap, 448 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8152, 0 blocks in bitmap, 416 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8158, 0 blocks in bitmap, 1 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8162, 0 blocks in bitmap, 92 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8166, 0 blocks in bitmap, 201 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8168, 0 blocks in bitmap, 13 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8170, 0 blocks in bitmap, 2 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8184, 0 blocks in bitmap, 4 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8193, 0 blocks in bitmap, 6 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8200, 0 blocks in bitmap, 300 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8204, 0 blocks in bitmap, 63 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8210, 0 blocks in bitmap, 254 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8214, 0 blocks in bitmap, 462 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8216, 0 blocks in bitmap, 1 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8222, 0 blocks in bitmap, 291 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8224, 0 blocks in bitmap, 1 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8226, 0 blocks in bitmap, 459 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8228, 0 blocks in bitmap, 184 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8232, 0 blocks in bitmap, 63 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8244, 0 blocks in bitmap, 13 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8246, 0 blocks in bitmap, 110 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8255, 0 blocks in bitmap, 429 in gd
    EXT4-fs error (device sda2): ext4_mb_generate_buddy:736: group 8265, 0 blocks in bitmap, 32 in gd
    I'd like to fix it without data loss.Because it's a 2TB drive full of data.I've googled a lot and got little useful information.Maybe in here someone can help.Thanks in advance.

    ---------- Post added at 07:28 AM ---------- Previous post was at 07:27 AM ----------

    Updated. I've run e2fsck -y.
    dmesg still says:
    EXT4-fs (sda2): error count: 1266
    EXT4-fs (sda2): initial error at 1311783443: ext4_mb_generate_buddy:731
    EXT4-fs (sda2): last error at 1319473021: ext4_mb_generate_buddy:736
    Help in need!

  2. #2
    Join Date
    Jan 2012
    Location
    Lancaster
    Posts
    3

    Re: I've got ext4_mb_generate_buddy errors on my ext4 partition

    I'll copy the explanation directly since I can't translate to plain english yet:
    What this means is that when the ext4 block allocator loaded block group #586 block allocation bitmap, it found that there were 19,635 free blocks in the block group, but the block group descriptors had on record that there were 19,636 free blocks.
    You have probably lost data, in other words, and best want to correct it before you lose more, maybe recover some of it in the process.

    In my case it was bitmap = 90% of gd, so fortunately just allocation errors and I shouldn't lose any data. I didn't lose any data when I fscked the dd-clone of the same filesystem, and it had just as many errors.
    (The buddy errors are fixed automatically by a normal fsck, indicating they are not data-loss-likely, I have 300GB data on mine currently, about 50 buddy errors prior to fsck.)

    Link to where I learned it: http://www.gossamer-threads.com/list...kernel/1127434

Similar Threads

  1. Mount ext4 partition at boot
    By Prince Valiant in forum Using Fedora
    Replies: 2
    Last Post: 17th June 2011, 09:15 AM
  2. partition ext3 or ext4 for new install
    By vbdanl in forum Installation, Upgrades and Live Media
    Replies: 7
    Last Post: 15th June 2010, 02:32 AM
  3. Fedora 12 alpha and ext4 partition
    By cola in forum Fedora 12 Alpha, Beta & Release Candidates
    Replies: 1
    Last Post: 19th September 2009, 05:14 PM
  4. WARNING: Kernel Errors Present: EXT4-fs error
    By FM1 in forum Using Fedora
    Replies: 1
    Last Post: 27th August 2009, 03:04 PM
  5. Installing ext4 with no ext3 boot partition
    By sweleys in forum Using Fedora
    Replies: 4
    Last Post: 24th February 2009, 11:36 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •