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

Notices


Reply
  Search this Thread
Old 12-15-2010, 12:58 AM   #1
LINUXQueAns
Member
 
Registered: Oct 2010
Posts: 36

Rep: Reputation: 0
wrong fs type, bad option, bad superblock on /dev/hdc2


Hi All,

I am having one HDD in which RHEL 5 is installed, but its not booting up it showing boot error. i am having my data in that HDD.

To take the backup i have connect HHD of faulty machine to another machine having RHEL 5 as slave disk ( secondery disk).

but when i m going to mount it its showing below error,

[root@localhost test1]# mount -t ext3 /dev/hdc2 /mnt/2hdc/
mount: wrong fs type, bad option, bad superblock on /dev/hdc2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Plz suggest.
 
Old 12-15-2010, 01:22 AM   #2
LINUXQueAns
Member
 
Registered: Oct 2010
Posts: 36

Original Poster
Rep: Reputation: 0
I tried with tune2fs command but no luck
its showing below error .

[root@localhost test1]# tune2fs -l /dev/hdc2
tune2fs 1.39 (29-May-2006)
tune2fs: Bad magic number in super-block while trying to open /dev/hdc2
Couldn't find valid filesystem superblock.
 
Old 12-15-2010, 02:45 AM   #3
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Rep: Reputation: 21
can you post the "fdisk -l /dev/hdc2" output
 
1 members found this post helpful.
Old 12-15-2010, 03:35 AM   #4
LINUXQueAns
Member
 
Registered: Oct 2010
Posts: 36

Original Poster
Rep: Reputation: 0
Thanks for Reply.

[root@localhost test1]# fdisk -l /dev/hdc2

Disk /dev/hdc2: 39.8 GB, 39892608000 bytes
16 heads, 63 sectors/track, 77296 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Disk /dev/hdc2 doesn't contain a valid partition table
 
Old 12-15-2010, 05:59 AM   #5
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
You are trying to access a partition as a block device...

tune2fs and fdisk should operate on the device /dev/hdc not the partition /dev/hdc2

What does dmesg say when you try to mount the device?
 
1 members found this post helpful.
Old 12-15-2010, 06:31 AM   #6
LINUXQueAns
Member
 
Registered: Oct 2010
Posts: 36

Original Poster
Rep: Reputation: 0
#dmesg
hfs: unable to find HFS+ superblock
VFS: Can't find ext3 filesystem on dev hdb.
hfs: unable to find HFS+ superblock
 
Old 12-15-2010, 07:13 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Post the output of the command
fdisk -l /dev/hdc

Is this drive part of a RAID or contain LVM partitions?
 
Old 12-15-2010, 10:10 PM   #8
LINUXQueAns
Member
 
Registered: Oct 2010
Posts: 36

Original Poster
Rep: Reputation: 0
[root@myhost ~]# fdisk -l /dev/hdc

Disk /dev/hdc: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/hdc doesn't contain a valid partition table
You have new mail in /var/spool/mail/root
 
Old 12-16-2010, 06:02 AM   #9
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Rep: Reputation: 21
from your output it clearly says that it does not contain any partition. After connecting the hard disk, how do you know that the newly attached hard disk device driver is /dev/hdc2. Also please post the output of "fdisk -l" command.
 
  


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
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 08:55 AM
mount: wrong fs type, bad option, bad superblock on /dev/sda1 yekim Linux - Hardware 10 07-05-2007 11:28 AM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 05:50 PM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 10:31 AM
wrong fs type, bad option, bad superblock on /dev/hdb1, ldare Linux - Hardware 1 02-12-2004 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:46 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