LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 10-22-2004, 11:06 PM   #1
latuzim
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat Linux 9
Posts: 5

Rep: Reputation: 0
unable to mount device


I'm having difficulty mounting a hard drive partition.

I know that sounds like a personal problem ...

The IDE hard drive is installed as a slave, and it's info & partitions can be viewed using fdisk.

This is it:

Disk /dev/hdb: 163.9 GB, 163927522816 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 26 208813+ 83 Linux
/dev/hdb2 27 19863 159340702+ 83 Linux
/dev/hdb3 19864 19928 522112+ 82 Linux swap

Device /dev/hdb1 mounts using the following command:

mount -t ext3 /dev/hdb1 /temp1

But device /dev/hdb2 won't mount using the same command:

mount -t ext3 /dev/hdb2 /temp2

This produces the following error:

mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
or too many mounted file systems

I apparently am using the correct file system type - Id 83 denotes type ext3. And since I can mount other devices, I don't think the problem is "too many mounted file systems".

When running:

fsck -f /dev/hdb2

I get the following results:

fsck 1.32 (09-Nov-2002)
e2fsck 1.32 (09-Nov-2002)
/: Attempt to read block from filesystem resulted in short read while reading block 530

/: Attempt to read block from filesystem resulted in short read reading journal superblock

fsck.ext2: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /

And when running:

badblocks -v /dev/hdb2

A dozen or so bad blocks are found.

I'm running RedHat Linux 9.

Any ideas or suggestions will be greatly appreciated.

thanks,

lance turner
latu.net
 
Old 10-22-2004, 11:23 PM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 34
This may sound silly, but you did put a file system on that partition correct? Just because it is an available partition does not mean there is actually a file system on there.

You did run something like mkfs, mkext3fs, mkfs.ext3 or one of those cloned apps?
 
Old 10-22-2004, 11:48 PM   #3
latuzim
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat Linux 9
Posts: 5

Original Poster
Rep: Reputation: 0
The drive was previously in use on another server, which suffered an early death. The other server was running Fedora, and the file system being used was ext3.
 
Old 10-23-2004, 10:45 AM   #4
latuzim
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat Linux 9
Posts: 5

Original Poster
Rep: Reputation: 0
If a file system has been corrupted will installing a new file system wipe out the data on a device? Is there a way of installing a new file system on a device and preserving the existing data?
 
Old 10-23-2004, 01:54 PM   #5
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 34
Installing a new file system will definately overwrite any data you have.

You can possibly do a google search on e2fsprogs and snag up the e2salvage app. It can be used to try to "salvage" a file system off a drive that is going bad.
 
Old 10-23-2004, 01:55 PM   #6
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 34
Have you tried running fsck on that device?

You might be able to fix it with that
 
Old 10-23-2004, 04:29 PM   #7
latuzim
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat Linux 9
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, I did run fsck.

fsck -f /dev/hdb2

Resulted in the following error:

/: Attempt to read block from filesystem resulted in short read while reading block 530

/: Attempt to read block from filesystem resulted in short read reading journal superblock

fsck.ext2: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /
 
Old 10-23-2004, 04:33 PM   #8
latuzim
LQ Newbie
 
Registered: Oct 2004
Distribution: Redhat Linux 9
Posts: 5

Original Poster
Rep: Reputation: 0
I'm now considering using R-Linux.

http://www.data-recovery-software.ne...Recovery.shtml

It runs on a PC, but I couldn't find a comparable tool for Linux.

Does anyone have experience using R-Linux?
 
Old 10-23-2004, 08:03 PM   #9
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 34
Hmm Never hrd of that. The one I was thinking of was

http://e2salvage.sourceforge.net/
 
  


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
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 06:02 PM
New Kernel unable to mount root device xprometeus Linux - General 6 11-27-2005 11:17 AM
Unable to mount dvd device on Fedora corpus_delicti Linux - Hardware 8 02-03-2004 10:40 AM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 07:15 PM
Volume control is unable to run correctly. Unable to open audio device '/dev/mixer'. sevenreams Slackware 1 05-16-2003 08:29 PM


All times are GMT -5. The time now is 06: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration