LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-18-2005, 07:02 AM   #1
bendahmon
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Problems fixing partition with fsck


My root partition has been messed up, it seems. I boot with a Gentoo LIVE CD to be able to run fsck. (I'm running Debian Sarge btw)

Below I've ran fsck -n /dev/hda5
The same happens for fsck -y /dev/hda5 (except for the obvious)
fsck -p /dev/hda5 doesn't work, but it recommends me to do a fsck -b 32768, which also results in the same as below.

Can anyone help me as I need to be able to extract a lot of files from this partition - as a minimum.

Here's the output:

Block bitmap for group 0 is not in group. (block 2553887680)
Relocate? no

Inode bitmap for group 0 is not in group. (block 16777216)
Relocate? no

Inode table for group 0 is not in group. (block 4167245312)
WARNING: SEVERE DATA LOSS POSSIBLE.
Relocate? no

-----> This is repeated from 0 to 74;

Block bitmap for group 74 is not in group. (block 0)
Relocate? no

Inode bitmap for group 74 is not in group. (block 0)
Relocate? no

Inode table for group 74 is not in group. (block 0)
WARNING: SEVERE DATA LOSS POSSIBLE.
Relocate? no

/ was not cleanly unmounted, check forced.
Error reading block 4167245312 (Invalid argument). Ignore error? no

This doesn't bode well, but we'll try to go on...
Pass 1: Checking inodes, blocks, and sizes
Error reading block 4167245312 (Invalid argument) while doing inode scan. Ignore error? no

Error reading block 4167245312 (Invalid argument) while doing inode scan. Ignore error? no

Error while scanning inodes (0): Can't read next inode
 
Old 05-18-2005, 07:16 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Try the force option ...
e2fsck -f /dev/hda5
 
Old 05-18-2005, 12:45 PM   #3
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Red hat 9, Ubuntu 5.04, Free BSD 5.3, Knoppix 5.04, Ubuntu 8.04, [Slackware 12~13.1]
Posts: 141

Rep: Reputation: 16
this will force fsck and restart your linux box hope this helps! 3

shutdown -rF now
 
Old 05-18-2005, 01:19 PM   #4
bendahmon
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
e2fsck -f /dev/hda5 doesn't work. I get the same error.

fsck seems helpless. Are there any other ways to do some magical?
 
Old 05-19-2005, 01:41 PM   #5
bendahmon
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I did a dumpe2fs on the drive and got this, dunno if it can help me anyhow:

Filesystem volume name: /
Last mounted on: <not available>
Filesystem UUID: c9963bb4-75b2-4596-bf0a-6b1255a39878
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal filetype sparse_super large_file
Default mount options: (none)
Filesystem state: not clean with errors
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 1221600
Block count: 2442056
Reserved block count: 122102
Free blocks: 1184900
Free inodes: 1025635
First block: 0
Block size: 4096
Fragment size: 4096
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 16288
Inode blocks per group: 509
Last mount time: Mon May 16 21:50:11 2005
Last write time: Thu May 19 20:18:09 2005
Mount count: 11
Maximum mount count: 30
Last checked: Wed May 4 13:06:19 2005
Check interval: 0 (<none>)
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 128
Journal inode: 8
First orphan inode: 447697
Journal backup: inode blocks

Group 0: (Blocks 0-32767)
Primary superblock at 0, Group descriptors at 1-1
Block bitmap at 2553887680, Inode bitmap at 16777216 (+16777216)
Inode table at 4167245312-4167245820
4352 free blocks, 2048 free inodes, 0 directories
Group 1: (Blocks 32768-65535)
Backup superblock at 32768, Group descriptors at 32769-32769
Block bitmap at 0, Inode bitmap at 159389696 (+159356928)
Inode table at 33554432-33554940 (+33521664)
6144 free blocks, 4992 free inodes, 0 directories
Group 2: (Blocks 65536-98303)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 3: (Blocks 98304-131071)
Backup superblock at 98304, Group descriptors at 98305-98305
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 4: (Blocks 131072-163839)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 5: (Blocks 163840-196607)
Backup superblock at 163840, Group descriptors at 163841-163841
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 6: (Blocks 196608-229375)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 7: (Blocks 229376-262143)
Backup superblock at 229376, Group descriptors at 229377-229377
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 8: (Blocks 262144-294911)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 9: (Blocks 294912-327679)
Backup superblock at 294912, Group descriptors at 294913-294913
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 10: (Blocks 327680-360447)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 11: (Blocks 360448-393215)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 12: (Blocks 393216-425983)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 13: (Blocks 425984-458751)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 14: (Blocks 458752-491519)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 15: (Blocks 491520-524287)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 16: (Blocks 524288-557055)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 17: (Blocks 557056-589823)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 18: (Blocks 589824-622591)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 19: (Blocks 622592-655359)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 20: (Blocks 655360-688127)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 21: (Blocks 688128-720895)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 22: (Blocks 720896-753663)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 23: (Blocks 753664-786431)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 24: (Blocks 786432-819199)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 25: (Blocks 819200-851967)
Backup superblock at 819200, Group descriptors at 819201-819201
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 26: (Blocks 851968-884735)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 27: (Blocks 884736-917503)
Backup superblock at 884736, Group descriptors at 884737-884737
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 28: (Blocks 917504-950271)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 29: (Blocks 950272-983039)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 30: (Blocks 983040-1015807)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 31: (Blocks 1015808-1048575)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 32: (Blocks 1048576-1081343)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 33: (Blocks 1081344-1114111)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 34: (Blocks 1114112-1146879)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 35: (Blocks 1146880-1179647)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 36: (Blocks 1179648-1212415)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 37: (Blocks 1212416-1245183)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 38: (Blocks 1245184-1277951)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 39: (Blocks 1277952-1310719)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 40: (Blocks 1310720-1343487)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 41: (Blocks 1343488-1376255)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 42: (Blocks 1376256-1409023)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 43: (Blocks 1409024-1441791)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 44: (Blocks 1441792-1474559)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 45: (Blocks 1474560-1507327)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 46: (Blocks 1507328-1540095)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 47: (Blocks 1540096-1572863)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 48: (Blocks 1572864-1605631)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 49: (Blocks 1605632-1638399)
Backup superblock at 1605632, Group descriptors at 1605633-1605633
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 50: (Blocks 1638400-1671167)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 51: (Blocks 1671168-1703935)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 52: (Blocks 1703936-1736703)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 53: (Blocks 1736704-1769471)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 54: (Blocks 1769472-1802239)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 55: (Blocks 1802240-1835007)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 56: (Blocks 1835008-1867775)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 57: (Blocks 1867776-1900543)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 58: (Blocks 1900544-1933311)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 59: (Blocks 1933312-1966079)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 60: (Blocks 1966080-1998847)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 61: (Blocks 1998848-2031615)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 62: (Blocks 2031616-2064383)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 63: (Blocks 2064384-2097151)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 64: (Blocks 2097152-2129919)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 65: (Blocks 2129920-2162687)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 66: (Blocks 2162688-2195455)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 67: (Blocks 2195456-2228223)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 68: (Blocks 2228224-2260991)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 69: (Blocks 2260992-2293759)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 70: (Blocks 2293760-2326527)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 71: (Blocks 2326528-2359295)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 72: (Blocks 2359296-2392063)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 73: (Blocks 2392064-2424831)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories
Group 74: (Blocks 2424832-2442055)
Block bitmap at 0, Inode bitmap at 0
Inode table at 0-508
0 free blocks, 0 free inodes, 0 directories

dumpe2fs: /dev/hdc5: error reading bitmaps: Can't read an block bitmap
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fixing a partition table on new hard drive demerson3 Linux - Newbie 12 12-27-2007 09:18 AM
Need help fixing the partition table odiseo77 Linux - Newbie 2 02-08-2005 01:52 PM
Fixing a bad partition table pen^2 Linux - General 2 07-21-2004 06:25 AM
fsck crashes fixing ext2 fs echapin Linux - General 2 05-28-2004 11:56 AM
Fixing An Incorrect Partition Table? Leben Linux - Hardware 6 01-25-2003 01:43 PM


All times are GMT -5. The time now is 10:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration