Bug 12433
Summary: | Oops while resizing an ext4 LVM2 volume | ||
---|---|---|---|
Product: | File System | Reporter: | Peter Kerwien (peter) |
Component: | ext4 | Assignee: | fs_ext4 (fs_ext4) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | dries.kimpe |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.29-rc1 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Peter Kerwien
2009-01-11 12:20:11 UTC
Have you enabled flex_bg recently? Have you kept the log? Any message indicating an error like this one? Jan 23 14:20:42 vespa kernel: [ 463.027499] EXT4-fs error (device dm-11): ext4_get_group_desc: block_group >= groups_count - block_group = 11, groups_count = 11 I've hit this bug and fixed it. The patch was sent to linux-ext4 and is available at http://holoscopio.com/patches/0001-ext4-fix-oops-when-online-resizing-a-filesystem-wit.patch. Could you, please, test it? Regards, Cascardo. flex_bg is default on when creating ext4 on my Gentoo system. Yeap, I found this in my log: ... Jan 11 20:54:58 kerwien kernel: EXT4-fs: mounted filesystem dm-0 with ordered data mode Jan 11 20:56:41 kerwien kernel: EXT4-fs error (device dm-0): ext4_get_group_desc: block_group >= groups_count - block_group = 401, groups_count = 401 Jan 11 20:56:41 kerwien kernel: BUG: unable to handle kernel NULL pointer dereference at (null) Jan 11 20:56:41 kerwien kernel: IP: [<ffffffffa01c6b59>] ext4_block_bitmap+0x9/0x30 [ext4] Jan 11 20:56:41 kerwien kernel: PGD 1a873067 PUD 3eded067 PMD 0 ... I can try the patch and see if I can reproduce the problem again or not. I applied the patch to 2.6.29-rc1 and have resized an ext4 volume, both as logical with lvm2 and a normal disk partition. I have experimented with both online and offline resize to a larger size and offline resize to a smaller size. I have done this approx. 15-20 times and so far no more oops. This patch has been merged into the Linux mainline and should be in 2.6.29-rc4 (and newer) releases. |