LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-11-2008, 10:14 AM   #1
Nonc
Member
 
Registered: Mar 2006
Location: Nottingham, England
Distribution: Ubuntu
Posts: 59

Rep: Reputation: 15
cant mount "group descriptors corrupted!"


i tried my best to solve this without starting a thread but it seems that i cant.

i was trying to resize a partition, and accidentally canceled it whilst it was resizing my home partition, and now it cant mount it.

am running ubuntu live cd at the moment to try and fix this, was running ubuntu 8.04 before

Code:
sudo mount /dev/sda4 /media
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

ubuntu@ubuntu:~$
Code:
dmesg | tail
[  169.203090] Bluetooth: RFCOMM socket layer initialized
[  169.203099] Bluetooth: RFCOMM TTY layer initialized
[  169.203101] Bluetooth: RFCOMM ver 1.8
[  171.404953] NET: Registered protocol family 17
[  184.116393] NET: Registered protocol family 10
[  184.116574] lo: Disabled Privacy Extensions
[  194.751442] eth0: no IPv6 routers present
[  208.620547] eth0: no IPv6 routers present
[ 1434.929417] EXT3-fs error (device sda4): ext3_check_descriptors: Block bitmap for group 1 not in group (block 0)!
[ 1434.929579] EXT3-fs: group descriptors corrupted!
ubuntu@ubuntu:~$
Code:
ubuntu@ubuntu:~$ sudo e2fsck -f -b 32768 /dev/sda4
e2fsck 1.40.8 (13-Mar-2008)
e2fsck: Device or resource busy while trying to open /dev/sda4
Filesystem mounted or opened exclusively by another program?
ubuntu@ubuntu:~$
gives same error using 98304, 163840 etc instead of 32768

Code:
ubuntu@ubuntu:~$ sudo mke2fs -n /dev/sda4
mke2fs 1.40.8 (13-Mar-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
5128192 inodes, 20510988 blocks
1025549 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
626 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624, 11239424, 20480000

ubuntu@ubuntu:~$
if there is any other outputs you need then i can provide

Cheers

nonc
 
Old 08-12-2008, 01:20 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,944

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
The filesystem on sda4 is corrupted. You have to run the e2fsck command on sda4 with the partition unmounted; it will not run on a mounted partition. For some reason, the system thinks sda4 is mounted despite the error message originally given for sda4. To see if this is the case run:

$ mount

Which will print out all mounted filesystems recognized by your system and their mountpoints. If sda4 is shown mounted, you can attempt to read the data on the partition through the designated mountpoint. If you can read data, you probably want to do a backup to some other location or removable media.

Regardless of what results, you get from the above, try running:

$ sudo umount /dev/sda4

And see what output you get. Then try rerunning your e2fsck command. If you get a device busy message when attempting to umount sda4, Try running:

$ sudo fuser -km /dev/sda4

which should kill any processes running on sda4 and then retry running umount and and the e2fsck command.

Last edited by kilgoretrout; 08-12-2008 at 01:23 PM.
 
Old 08-12-2008, 01:33 PM   #3
Nonc
Member
 
Registered: Mar 2006
Location: Nottingham, England
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
Code:
ubuntu@ubuntu:~$ sudo umount /dev/sda4
umount: /dev/sda4: not mounted
ubuntu@ubuntu:~$ sudo fuser -km /dev/sda4
ubuntu@ubuntu:~$ sudo umount /dev/sda4
umount: /dev/sda4: not mounted
ubuntu@ubuntu:~$ sudo e2fsck -f -b 32768 /dev/sda4
e2fsck 1.40.8 (13-Mar-2008)
e2fsck: Device or resource busy while trying to open /dev/sda4
Filesystem mounted or opened exclusively by another program?
ubuntu@ubuntu:~$
im afraid that hasnt worked.

ive been looking at a few more threads and im getting the impression that i have properly messed it up, to the point of no repair. Which is making me thing it might be easier to salvage as much data as i can and format it.

but im not sure how to go about salvaging data when i cant read it. ive seen stuff on duplicating the drive, but i dont see how that would fix it as it would also duplicate the errors as well and not actually get the data off, or am i wrong?

nonc
 
Old 08-12-2008, 03:32 PM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,944

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
That may very well be the case but it's probably worth trying another livecd not based on ubuntu to repair the filesystem. Try SystemRescueCD which is based on gentoo:

http://www.sysresccd.org/Main_Page

There maybe something in the ubuntu livecd that keeps trying to mount or otherwise access sda4 that results in the error messages you are getting. Also, have you checked the partition structure to see if there are any reported problems? You can check the output of:

$ sudo fdisk -l
 
Old 08-12-2008, 08:18 PM   #5
Nonc
Member
 
Registered: Mar 2006
Location: Nottingham, England
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
that system recovery disk is cool, although it did not get me any further. it still produced the same results

and this is the output regarding sdb for sudo fdisk -l

Code:
Disk /dev/sdb: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0baf0ba

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        2573    20667591    5  Extended
/dev/sdb2            2574        2834     2096482+  83  Linux
/dev/sdb3           14278       14596     2562367+  82  Linux swap / Solaris
/dev/sdb4            2835       13048    82043955   83  Linux
/dev/sdb5              17         538     4192933+  83  Linux
/dev/sdb6             539        1659     9004401   83  Linux
/dev/sdb7            1660        2181     4192933+  83  Linux
/dev/sdb8            2182        2573     3148708+  83  Linux
/dev/sdb9               1          16      128425+  83  Linux
what shall i try next? (and thanks for the help you have offered so far)

Caspar
 
Old 08-14-2008, 11:39 AM   #6
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,944

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Can't really think of much else. If you can boot into your ubuntu installation into single user mode(runlevel 1), you may be able to run e2fsck on the bad partition from there but I doubt it. Single user mode is a maintenance mode for linux/unix where very few services are allowed to run. You get there by passing the boot parameter "single" or "1" at boot time. Here's a more detailed explanation:

http://www.debuntu.org/recover-root-...-mode-and-grub

You will then boot to a command prompt with no login required. Try running e2fsck from there. If that doesn't work, I think your data is lost.
 
Old 08-18-2008, 05:37 AM   #7
Nonc
Member
 
Registered: Mar 2006
Location: Nottingham, England
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
nah, it didnt work, gonna send it off to a shop to see if they can recover the data

cheers for the help though
 
  


Reply


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
file descriptors in Perl-----I need to use gpg's "--passphrase-fd n" option Rain Duck Programming 5 02-25-2011 10:52 AM
EXT3-fs:group descriptors corrupted! (GNU/RH9) jjlune Linux - General 13 04-16-2006 05:38 PM
Common problems explained: "kernel panic - not syncing", "unable to mount..." sundialsvcs Linux - Newbie 2 03-01-2006 01:17 PM
EXT3-fs: group descriptors corrupted dadriver Linux - Hardware 2 02-04-2006 04:16 AM
EXt3-fs:group descriptors corrupted. anjanesh Fedora 0 11-15-2004 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:03 AM.

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