Go Back   Cyber Tech Help Support Forums > Operating Systems > Linux

Notices

Reply
 
Topic Tools
  #1  
Old June 7th, 2004, 07:37 PM
R4NG3R's Avatar
R4NG3R R4NG3R is offline
Senior Member
 
Join Date: Feb 2003
Location: TEXAS
Age: 19
Posts: 717
harddisk issues... noooooooo!!!

when i try to mount my second harddisk i get this error, and i just randomly got this error when i woke up this morning:

shell> SCSI disk error: host 0 channel 0 id 4 lun 0 return code = 28000002
Info f ld=0x28b, Current sd08:11: sense key Hardware Error
Additional sense indicates Mechanical positioning error
I/O error: dev 08:11, sector 588
_


what the hell happend!!! what do i need to do???
Reply With Quote
  #2  
Old June 8th, 2004, 07:25 PM
kjbunete kjbunete is offline
Senior Member
 
Join Date: Sep 2003
O/S: Windows XP Pro
Location: Columbus Ohio
Age: 23
Posts: 536
Umm... I'm not expert in linux, but just by what it is saying is that the HD has failed. Can you access the drive else were?
__________________
EE Major and M$ Beta tester.
Reply With Quote
  #3  
Old June 8th, 2004, 07:36 PM
R4NG3R's Avatar
R4NG3R R4NG3R is offline
Senior Member
 
Join Date: Feb 2003
Location: TEXAS
Age: 19
Posts: 717
nope, i can mount it, but when i try to go to

/mnt/hda2

i get an I/O Error.

Reply With Quote
  #4  
Old June 8th, 2004, 11:35 PM
Trillian Trillian is offline
Member
 
Join Date: May 2004
Posts: 67
tried not mounting it and running an e2fsck on it?
__________________
<Sukato> Once again
<Sukato> my firewall successfully blocked hack attempt from 192.168.0.1
<Sukato> Then some programs get kicked offline
<Jed> I know that IP address
<Jed> He's a mean *******.


Howto make a Good Topic!
Reply With Quote
  #5  
Old June 8th, 2004, 11:38 PM
R4NG3R's Avatar
R4NG3R R4NG3R is offline
Senior Member
 
Join Date: Feb 2003
Location: TEXAS
Age: 19
Posts: 717
nope, how do i run that?
Reply With Quote
  #6  
Old June 8th, 2004, 11:47 PM
Trillian Trillian is offline
Member
 
Join Date: May 2004
Posts: 67
man e2fsck

well, it only works of you've got a ext3 or ext2 fs on it, I think.
Code:
e2fsck [drive]
where the drive is something like /dev/hdb1
the /dev/hdb stands for the second hard drive,
and the /dev/hdb1 stands for the 1st partition of your 2nd harddrive.

So if you've got 3 partitions on your 2nd hard drive, being something like..
1st: linux native ext3
2nd: windows FAT32
3rd: linux swap

then you want to run a e2fsck on the first partition, so type (as root) "e2fsck /dev/hdb1"
You have to do this as root, and **only** on a umounted device.
__________________
<Sukato> Once again
<Sukato> my firewall successfully blocked hack attempt from 192.168.0.1
<Sukato> Then some programs get kicked offline
<Jed> I know that IP address
<Jed> He's a mean *******.


Howto make a Good Topic!
Reply With Quote
  #7  
Old June 9th, 2004, 12:38 AM
R4NG3R's Avatar
R4NG3R R4NG3R is offline
Senior Member
 
Join Date: Feb 2003
Location: TEXAS
Age: 19
Posts: 717
my 2nd hard disk is /dev/hda2 i typed
input:
shell> e2fsck /dev/hda2

output:
e2fsck 1.32 (09-Nov-2002)
e2fsck: No such device while trying to open /dev/hda2

The superblock could not be read or does not describe a rorect ext2 filesystem. If the divice is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
shell>

when i input:
shell> e2fsck -b 8193 /dev/hda2

i got the same output.
Reply With Quote
  #8  
Old June 9th, 2004, 01:10 AM
MishY's Avatar
MishY MishY is offline
Cyber Tech Help Administrator
 
Join Date: Sep 2000
O/S: Windows Vista 64-bit
Location: England
Age: 31
Posts: 8,578
Blog Entries: 1
My scsi drives show as hdc* where * is a number
__________________
Searching the forums can help you to find your answers more quickly
Posting Tips & Support Forum Rules | Vivid Development | Get Firefox! | CTH News | Are you hungry ? | Registered Linux User #317145
Reply With Quote
  #9  
Old June 9th, 2004, 12:13 PM
Trillian Trillian is offline
Member
 
Join Date: May 2004
Posts: 67
Quote:
Originally Posted by R4NG3R
my 2nd hard disk is /dev/hda2 i typed
input:
shell> e2fsck /dev/hda2

output:
e2fsck 1.32 (09-Nov-2002)
e2fsck: No such device while trying to open /dev/hda2

The superblock could not be read or does not describe a rorect ext2 filesystem. If the divice is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
shell>

when i input:
shell> e2fsck -b 8193 /dev/hda2

i got the same output.
Your 2nd is not /dev/hda2, if you don't have any scsi drives.
Otherwise, copy your /etc/fstab here, so that i can have a look at your partitions.
But you were prolly referring to your 2nd partition, instead of the hard drive? :?

Because the error message is telling you your /dev/hda2 does not have a ext2 (or a ext3) filesystem, or that it does not exist.

Okay, here's what you can do:
Code:
cfdisk
You might get something like this:
Code:
								  cfdisk 2.11z
 
 							  Disk Drive: /dev/hda
 					    Size: 80000000000 bytes, 80.0 GB
 			 Heads: 16   Sectors per Track: 63   Cylinders: 155009
 
 	Name	    Flags	  Part Type  FS Type		  [Label]		Size (MB)
  ------------------------------------------------------------------------------
 	hda1	    Boot		Primary   Win95 FAT32 (LBA)			    25928.15 
 	hda5	    Boot		Logical   Linux ext3					   53230.15
     hda6				    Logical   Linux swap						 841.24
 
 
 
 
 
 
 
 
 
 	 [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]
 	 [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]
If so, copy this. Then, do the following:
Code:
cfdisk /dev/hdb
If that results in
Code:
 FATAL ERROR: Cannot open disk drive
 						  Press any key to exit cfdisk
, then you dun have a 2nd non-scsi drive.


'coz I'm wondering whether you do or dun have a 2nd hard drive here. And whether you know the difference between a partition and a harddive.

no offence
__________________
<Sukato> Once again
<Sukato> my firewall successfully blocked hack attempt from 192.168.0.1
<Sukato> Then some programs get kicked offline
<Jed> I know that IP address
<Jed> He's a mean *******.


Howto make a Good Topic!
Reply With Quote
  #10  
Old June 9th, 2004, 11:55 PM
R4NG3R's Avatar
R4NG3R R4NG3R is offline
Senior Member
 
Join Date: Feb 2003
Location: TEXAS
Age: 19
Posts: 717
yes i do know the difference and yes i do have 2 different physical hard disks. and

cfdisk

does not work.

Bash: Command Not Found
Reply With Quote
  #11  
Old June 10th, 2004, 11:26 PM
Trillian Trillian is offline
Member
 
Join Date: May 2004
Posts: 67
Quote:
Originally Posted by R4NG3R
yes i do know the difference and yes i do have 2 different physical hard disks. and

cfdisk

does not work.

Bash: Command Not Found
ok. erm, maybe your system doesnt have cfdisk, you could try fdisk. That's a more console type of thing.

Then,. are you sure your 2nd hard drive is located on /dev/hda2?
__________________
<Sukato> Once again
<Sukato> my firewall successfully blocked hack attempt from 192.168.0.1
<Sukato> Then some programs get kicked offline
<Jed> I know that IP address
<Jed> He's a mean *******.


Howto make a Good Topic!
Reply With Quote
  #12  
Old June 11th, 2004, 12:49 AM
R4NG3R's Avatar
R4NG3R R4NG3R is offline
Senior Member
 
Join Date: Feb 2003
Location: TEXAS
Age: 19
Posts: 717
well.. i always mount it to:

mount /dev/sdb1.. wait... o. it's:

/dev/sdb1

::feels like dumbass::

yeah i have fdisk
Reply With Quote
  #13  
Old June 11th, 2004, 01:46 AM
Trillian Trillian is offline
Member
 
Join Date: May 2004
Posts: 67
Quote:
Originally Posted by R4NG3R
well.. i always mount it to:

mount /dev/sdb1.. wait... o. it's:

/dev/sdb1

::feels like dumbass::

yeah i have fdisk
you've got a scsi hd then! ah.
Now you can do:
e2fsck /dev/sdb1
Goodluck!
__________________
<Sukato> Once again
<Sukato> my firewall successfully blocked hack attempt from 192.168.0.1
<Sukato> Then some programs get kicked offline
<Jed> I know that IP address
<Jed> He's a mean *******.


Howto make a Good Topic!
Reply With Quote
  #14  
Old June 11th, 2004, 02:10 PM
R4NG3R's Avatar
R4NG3R R4NG3R is offline
Senior Member
 
Join Date: Feb 2003
Location: TEXAS
Age: 19
Posts: 717
could i use fdisk to reformat the second disk if it's unmounted? it's clear of all files right now... so could i reformat and partition it?
__________________
Comp. Specs:
Soyo Dragon Motherboard
2.8GHz Prescott overclocked 3.01GHz
1GB PC3200 DDR400 overclocked DDR430
ATI 9600 PRO 128MB
Seagate Barracuda 200GB 8MB Cache 7,200RPM
Windows XP Pro
Reply With Quote
Reply

Bookmarks

Topic Tools

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
Forum Jump


All times are GMT +1. The time now is 09:52 PM.

[ RSS ]