[Log In ] [New Posts] []
Go Back   GotApex? Forums Forums > General Topics > Software, OS, and the Internet
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-03-2005, 09:45 PM   #1
sho.gun
the lemonizer
 
sho.gun's Avatar
 
Join Date: Apr 2001
Location: Calabasas, CA
Posts: 5,373
Send a message via AIM to sho.gun
Disk not mounting anymore

I've had a linux machine running as a fileserver, it's actually a clarkconnect gateway/firewall machine and I've installed samba on it. It's been working fine for over a year until I found out tonight that I wasn't able to access any of my shares on it. It was actually a specific folder shared from a disk that wasn't working. I thought "hmm i'll just reboot and see what happens". Now the entire disk was unable to be mounted with the following error:

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

Craps!

fdisk shows:

Code:
[root@servicore data]# fdisk -l /dev/hdc1 Disk /dev/hdc1: 163.9 GB, 163921572864 bytes 255 heads, 63 sectors/track, 19928 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/hdc1 doesn't contain a valid partition table [root@servicore data]#

Arg no partition table?! The disk was formatted with the ext3 filesystem. Is there a simple fix? I admit I'm not a proficient linux user and I'm just hoping that my data isn't lost...

Help
sho.gun is offline   Reply With Quote
Old 04-03-2005, 10:05 PM   #2
doolittle
Lieutenant Commander
 
doolittle's Avatar
 
Join Date: Mar 2005
Location: San Diego CA
Posts: 910
thats a pretty standard disk failure error, looks gone to me dude. you could replace the cable. or pray thats its the mobo.
__________________
Bill Gates
"We'll never be as cool as them. Every conference you go to, there they are dressed in black, and no one is cooler!"
doolittle is offline   Reply With Quote
Old 04-03-2005, 10:06 PM   #3
shocky123
Lieutenant Commander
 
shocky123's Avatar
 
Join Date: Aug 2004
Location: Ames, Iowa
Posts: 828
Send a message via AIM to shocky123
I have had a similar issue with mounting a floppy disk, granted I dont know the fix because I havent looked into it yet... but I will be fixing the issue tomorrow morning on a machine at work.
So when I figure it out, I'll post back the solution.

~Kyle
__________________
"me awaits onslaught of estrogen fury." -CornMonkey

"5. When your friend dates a woman that is absolutely terrible for him, and she's wrecking his life, it's your duty to openly hate her, and point out how evil she is." -ialsohaveadream
shocky123 is offline   Reply With Quote
Old 04-04-2005, 09:40 PM   #4
doolittle
Lieutenant Commander
 
doolittle's Avatar
 
Join Date: Mar 2005
Location: San Diego CA
Posts: 910
do you have knoppix? this is where this os realy comes in handy, troubleshooting critical hardware and software issues.
doolittle is offline   Reply With Quote
Old 04-06-2005, 12:35 AM   #5
sho.gun
the lemonizer
 
sho.gun's Avatar
 
Join Date: Apr 2001
Location: Calabasas, CA
Posts: 5,373
Send a message via AIM to sho.gun
Quote:
Originally Posted by doolittle
do you have knoppix? this is where this os realy comes in handy, troubleshooting critical hardware and software issues.

I can get knoppix...

I guess the problem is that for some reason I've lost the partition table to my disk. Now I've stumbled upon this tool here http://www.stud.uni-hannover.de/user/76201/gpart/ but I haven't figured out how to use it yet.

Does knoppix have a partition guesser tool in it?

edit:

Okay, now this is just weird. Out of curiosity I was checking on my other drive (hda) and for hda1, hda2, etc it says it doesn't have a partition table. I guess this makes sense, they're partitions...

So I'm back at square one, fdisk -l /dev/hdc shows:
Code:
[root@servicore root]# fdisk -l /dev/hdc Disk /dev/hdc: 163.9 GB, 163928604672 bytes 255 heads, 63 sectors/track, 19929 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdc1 1 19929 160079661 83 Linux [root@servicore root]#

and when I try to mount, I still get the following:
Code:
[root@servicore root]# mount -t ext3 /dev/hdc1 /data mount: wrong fs type, bad option, bad superblock on /dev/hdc1, or too many mounted file systems [root@servicore root]#

any suggestions anyone? This drive has all the pictures that I've taken over the years and I'd hate to find out they're gone.

Last edited by sho.gun : 04-06-2005 at 12:40 AM.
sho.gun is offline   Reply With Quote
Old 04-06-2005, 02:09 AM   #6
doolittle
Lieutenant Commander
 
doolittle's Avatar
 
Join Date: Mar 2005
Location: San Diego CA
Posts: 910
Now both drives arent reading? wierd and its getting harder to troubleshoot. if both drives arent reading, the odds of both of them going are very slim. so i would start with replacing the power supply, then ram, then cpu. did you check the hd ribbons? could be that, i doubt it but worth a try. you could plug the drive into another machine boot to knoppix and take a look and see if it responds.

http://csociety-ftp.ecn.purdue.edu/pub/knoppix/ look at the packages.txt thats everything thats included with knoppix. besides the OS

btw. im sure you dont want to hear this, but huhhum this is the reason for back ups
doolittle is offline   Reply With Quote
Old 04-08-2005, 08:03 PM   #7
sho.gun
the lemonizer
 
sho.gun's Avatar
 
Join Date: Apr 2001
Location: Calabasas, CA
Posts: 5,373
Send a message via AIM to sho.gun
I figure I'd post what happened:

I took the drive to work and hooked it up to a Fedora Core 3 machine we have there. I was able to mount it but 1 folder containing all my documents, pictures, etc was giving Input/Output errors whenever it was accessed. I was able to share it over samba and grab my music and tv eps off of it, but that one folder seems to be gone.

Ran e2fsck with the -c option and left it overnight, today I came to the office and say that it had a bunch of bad blocks. Anyway, after all that I don't even see the folder anymore so I guess all my crap is gone.
sho.gun is offline   Reply With Quote
Old 04-08-2005, 08:10 PM   #8
doolittle
Lieutenant Commander
 
doolittle's Avatar
 
Join Date: Mar 2005
Location: San Diego CA
Posts: 910
ouch, well at least yo got some of the stuff off of it. sorry to hear about your loss. been there.
doolittle is offline   Reply With Quote
Old 04-11-2005, 11:02 AM   #9
shocky123
Lieutenant Commander
 
shocky123's Avatar
 
Join Date: Aug 2004
Location: Ames, Iowa
Posts: 828
Send a message via AIM to shocky123
sounds like you may need to flush the disk and start over... if you have bad blocks and everything, the last hting you want is to keep them there. do a hardcore format and repartition the drive. hopefully this should take care of those blocks. sorry bout the drive.

anyways.. to repost how i fixed my problem... i had to remount it specifying some weird options that told the system what type of filesystem the drive was to be mounted as. was weird, but it worked for me...

good luck,

~Kyle
shocky123 is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 02:14 PM.