Package: e2fsprogs
Version: 1.41.12-4stable1
Severity: normal
A file systems got corrupted on shrinking from 9400320 1k blocks to 3500000
blocks. When attempting to mount it, got this as result:
mount: wrong fs type, bad option, bad superblock on /dev/mapper/vm--debian-
test,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
In the logs I found this:
Feb 18 15:56:23 vm-debian kernel: [ 2041.623111] EXT4-fs (dm-3):
ext4_check_descriptors: Block bitmap for group 427 not in group (block
3501893)!
Feb 18 15:56:23 vm-debian kernel: [ 2041.623888] EXT4-fs (dm-3): group
descriptors corrupted!
The history of the file system is that it got resized before - to be bigger. I
don't have the old size anymore and am not sure if it got reiszed only once or
several times. Attached is the start of the output of dumpe2fs.
If named a place to upload it to, I can upload an image of the file system for
further investigation.
-- System Information:
Debian Release: 6.0.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages e2fsprogs depends on:
ii e2fslibs 1.41.12-4stable1 ext2/ext3/ext4 file system librari
ii libblkid1 2.17.2-9 block device id library
ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib
ii libcomerr2 1.41.12-4stable1 common error description library
ii libss2 1.41.12-4stable1 command-line interface parsing lib
ii libuuid1 2.17.2-9 Universally Unique ID library
ii util-linux 2.17.2-9 Miscellaneous system utilities
e2fsprogs recommends no packages.
Versions of packages e2fsprogs suggests:
pn e2fsck-static <none> (no description available)
pn gpart <none> (no description available)
pn parted <none> (no description available)
-- no debconf information
Filesystem volume name: root
Last mounted on: /
Filesystem UUID: d198a567-212b-4f2f-a372-68dd78395304
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype
extent flex_bg sparse_super huge_file uninit_bg dir_nlink extra_isize
Filesystem flags: signed_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 2332736
Block count: 9400320
Reserved block count: 468506
Free blocks: 6226772
Free inodes: 2121030
First block: 1
Block size: 1024
Fragment size: 1024
Reserved GDT blocks: 222
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 2032
Inode blocks per group: 254
Flex block group size: 16
Filesystem created: Fri May 6 23:29:11 2011
Last mount time: Mon Feb 13 21:06:49 2012
Last write time: Sat Feb 18 14:29:13 2012
Mount count: 0
Maximum mount count: 30
Last checked: Sat Feb 18 14:29:13 2012
Check interval: 15552000 (6 months)
Next check after: Thu Aug 16 15:29:13 2012
Lifetime writes: 21 GB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: 73ba25e4-56ec-45fe-b389-8085f2471d10
Journal backup: inode blocks
Journal features: journal_incompat_revoke
Journal size: 8M
Journal length: 8192
Journal sequence: 0x00003c66
Journal start: 0