|
|
#1 |
|
the lemonizer
![]() ![]() ![]() ![]() ![]() |
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:
Craps! fdisk shows: Code:
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 ![]() |
|
|
|
|
|
#2 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() 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!" |
|
|
|
|
|
#3 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() |
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 |
|
|
|
|
|
#4 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() 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.
|
|
|
|
|
|
#5 | |
|
the lemonizer
![]() ![]() ![]() ![]() ![]() |
Quote:
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:
and when I try to mount, I still get the following: Code:
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. |
|
|
|
|
|
|
#6 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() 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 |
|
|
|
|
|
#7 |
|
the lemonizer
![]() ![]() ![]() ![]() ![]() |
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. ![]() |
|
|
|
|
|
#8 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#9 |
|
Lieutenant Commander
![]() ![]() ![]() ![]() |
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 |
|
|
|