Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-08-2010, 10:26 AM   #1
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Block bitmap for group 416 not in group (block 0) + group descriptors corrupted?


Because the provider change the UPS, our server must be shutdown. But I got the problem when the server startup:
fsck.ext4: No such file or directory while trying to open /dev/sdc1
as you can see from the above, sdc1 doesn't exist in /dev.
/dev/sdc1 /data ext4 defaults 0 0
Try to use parted to get the partition info:
Model: Adaptec xx (scsi)
Disk /dev/sdc: 5991GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start   End     Size    File system  Flags
 1      0.00kB  5991GB  5991GB  ext3
(parted) check 1                                                          
Warning: File system has errors!  You should run e2fsck.                  
Ignore/Cancel? I
Error: File system has an incompatible feature enabled.
Follow this guide, I try to mount manually (also tried with ext4):
losetup /dev/loop0 /dev/sdc -o $((0*512))
mount /dev/loop0 /mnt/sdc1
but the system hangs at mount command and the /var/log/messages displays the below error:
Dec 8 18:07:12 xx kernel: EXT3-fs error (device loop0): ext3_check_descriptors: Block bitmap for group 416 not in group (block 0)!
Dec 8 18:07:12 xx kernel: EXT3-fs: group descriptors corrupted!
After that, the server seems to be hang and auto restart. It take me 15 to 20 minutes to ssh again.

Related info:
# tune2fs -l /dev/sdc
tune2fs 1.39 (29-May-2006)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          ac12e26a-6007-4070-9df8-d6c71af16ef5
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal resize_inode dir_index filetype sparse_super large_file
Default mount options:    (none)
Filesystem state:         clean with errors
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              731381760
Block count:              1462763520
Reserved block count:     73138176
Free blocks:              1173216062
Free inodes:              368151971
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      675
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16384
Inode blocks per group:   512
Filesystem created:       Mon Aug  2 11:26:40 2010
Last mount time:          Mon Aug  2 11:40:53 2010
Last write time:          Wed Dec  8 18:21:08 2010
Mount count:              1
Maximum mount count:      21
Last checked:             Mon Aug  2 11:26:40 2010
Check interval:           15552000 (6 months)
Next check after:         Sat Jan 29 11:26:40 2011
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:		  128
Journal inode:            8
Default directory hash:   tea
Directory Hash Seed:      a7202c00-1faa-46a1-a083-b8fa53be3c6f
Journal backup:           inode blocks
# sfdisk -sl /dev/sdc

Disk /dev/sdc: 728422 cylinders, 255 heads, 63 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
 /dev/sdc: unrecognized partition table type
No partitions found
# e2fsck -fDC0 /dev/sdc
e2fsck 1.39 (29-May-2006)
Group descriptors look bad... trying backup blocks...
Superblock has an invalid ext3 journal (inode 8).
Clear<y>? no

e2fsck: Illegal inode number while checking ext3 journal for /dev/sdc
Tomorrow morning, I will go to the data center to see what messages come out from the kernel (I guess the kernel was crash) when I try to mount manually. But I want to raise the matter here to know whether anyone has ever been in this situation.

The surprising thing from the other server which has same function is we have an entry in /etc/fstab, mount the whole disk instead of the partition:
# grep sdc /etc/mtab
/dev/sdc /data ext4 rw 0 0
I have never seen that before. Can someone give me some info about that?
# parted /dev/sdc
GNU Parted 1.8.1
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            

Model: Adaptec vcdata (scsi)
Disk /dev/sdc: 2999GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start   End     Size    File system  Flags
 1      0.00kB  2999GB  2999GB  ext3

Last edited by quanta; 12-08-2010 at 08:36 PM.
Old 12-08-2010, 10:40 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 334Reputation: 334Reputation: 334Reputation: 334
Do you have a backup of the data that was on that partition? If so then just recreate the partition, format it, and restore from backup.

If you don't have a backup then I would use dd to make an image of that entire disk before I messed with it. You can make an image into a file on another disk. Naturally the disk that holds the image file will have to have more free space than the entire source disk's capacity.
dd if=/dev/sdc of=/mnt/bigdisk/image.dd bs=4096 conv=notrunc,noerror
Again, naturally this example assumes that there is a big disk with lots of free space mounted at /mnt/bigdisk.

Let us know if my first suggestion is available to you. If it is then the problem may be solved, unless you have a hardware problem. Hopefully this was caused by a one time anomaly due to the installation of the new power supply.

Last edited by stress_junkie; 12-08-2010 at 10:44 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
auto-restarting application problems Ook Linux - Software 1 03-17-2010 01:31 PM
How to set a programm auto started when the machine is restarting thomas2004ch Linux - Newbie 4 01-06-2010 09:44 AM
unable to format a 6TB partition dustymugs Linux - Server 10 03-26-2007 09:14 PM
[SOLVED] unable to see 6TB RAID5 partition after reboot pisti Linux - Hardware 1 07-21-2006 12:43 PM
Unable to create 6TB partition OCS_MCT Linux - Enterprise 7 11-19-2005 05:48 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration