LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-29-2010, 11:33 AM   #1
davidb2002
LQ Newbie
 
Registered: Oct 2007
Location: UK
Distribution: Centos 5
Posts: 18

Rep: Reputation: 0
Question Power cut, now harddrive has no filesystem HELP


I have a series of USB harddrives connected to a Centos5 box. Had a power cut today and now one of the drives won't remount (all others do). They are all the same make and model.

When I try to mount it says 'mount: special device /dev/sda1 does not exist'

I have checked dmesg and get this:

SCSI device sda: 1953525168 512-byte hdwr sectors (1000205 MB)
sda: Write Protect is off
sda: Mode Sense: 34 00 00 00
sda: assuming drive cache: write through
sda: unknown partition table
sd 5:0:0:0: Attached scsi disk sda
sd 5:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
EXT3-fs error (device sda): ext3_check_descriptors: Block bitmap for group 880 not in group (block 0)!
EXT3-fs: group descriptors corrupted!


Help, it's an ext3 filesystem. Really need it.
 
Old 03-29-2010, 11:45 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by davidb2002 View Post
I have a series of USB harddrives connected to a Centos5 box. Had a power cut today and now one of the drives won't remount (all others do). They are all the same make and model.

When I try to mount it says 'mount: special device /dev/sda1 does not exist'

I have checked dmesg and get this:

SCSI device sda: 1953525168 512-byte hdwr sectors (1000205 MB)
sda: Write Protect is off
sda: Mode Sense: 34 00 00 00
sda: assuming drive cache: write through
sda: unknown partition table
sd 5:0:0:0: Attached scsi disk sda
sd 5:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
EXT3-fs error (device sda): ext3_check_descriptors: Block bitmap for group 880 not in group (block 0)!
EXT3-fs: group descriptors corrupted!
The drive is having a problem, and can't mount. Either it's gone bad, or you need to fsck it. Did you get any messages about needing to run an fsck manually on the drive?

Try:
Code:
fsck -b 8192 /dev/sda1
Replace the /dev/sda1 with whatever the mount statement is in your fstab file. And you can try 163840, if 8192 doesn't work, for a replacement superblock. The -b option should only be used if the primary superblock is corrupted. If you can't fsck it, the drive is dead. Get a new one, and reload from backup.
Quote:
Help, it's an ext3 filesystem. Really need it.
Then you should make sure you have backups, especially with USB drives.
 
  


Reply



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
Problems connecting after Power cut ludo33 Linux - Newbie 7 02-15-2009 04:53 AM
power company idiots cut power while system was on, now hangs at boot with # prompt shroomy_bee Linux - Newbie 10 07-04-2008 12:12 AM
date resets when power is cut Josephus Ross Programming 2 05-09-2007 05:55 AM
KDE Setting LOST on power cut, help :D duryodhan Slackware 3 01-17-2007 10:27 PM
Power cut and internet robingazi Debian 2 08-25-2006 09:54 AM

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

All times are GMT -5. The time now is 06:47 PM.

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