Page 1 of 1

No Partitions Shown - Only the Volume

Posted: Mon Dec 07, 2009 1:52 pm
by gdoris
I had a hard drive crash that completely corrupted my disk. Fortunately I have a backup including the mbr.

However, no matter what I've done partimage only shows the volume (eg. sda) and none of the partitions.

I've created the partitions both manually using fdisk and from the mbr backup file. I've created file systems and checked them with fsck. I've also run partprobe and parted. No problems are found - no errors are recorded.

I have a second harddrive that I prepared and it is seen properly. What could be wrong with the first drive? Any idea how to repair it?

Posted: Thu Dec 10, 2009 8:10 pm
by feffer
Sorry, didn't see this post earlier. I'm not totally clear about your issue.
I had a hard drive crash that completely corrupted my disk. Fortunately I have a backup including the mbr.
OK, so are you trying to restore your backup to a new hdd? Is that where you are having problems? I'm assuming the backup was created with partimage? When you run partimage to "restore" from the backup image, what does it say?
What could be wrong with the first drive? Any idea how to repair it?
Hard to know. That is not a partimage issue, so you might have better luck in a forum for your OS under the hardware topic. You'll need to provide more details, of course.

Posted: Fri Dec 11, 2009 12:58 am
by gdoris
I wasn't clear. I had a hard drive failure that wiped out my entire linux installation. I'm not sure what happened but the result was a completely messed up drive.

I deleted and recreated the partitions on the same harddrive. I then tried to restore using my partimage backups using a recovery disk. Partimage doesn't see the new partitions. It only sees the volume (eg. /dev/hda not /dev/hda1, /dev/hda2, etc).

I added a new harddrive and created the partitions as before and partimage does see them correctly.

However, I would like to try and use the original drive if possible.

Posted: Fri Dec 11, 2009 5:51 am
by feffer
OK, I understand now. If it were me, I wouldn't trust the old drive and just use the new one. A drive that won't accept partitioning is damaged at some level. Since you were able to create partitions on the new drive and restore your backup images with partimage, I would call it good and dump the old drive. It is possible to repair damaged drives with software like SpinRight (which is DOS centric) but the cost is about the same as a new hdd, so unless you have valuable data which is unrecoverable otherwise, it is probably cheaper to just go with the new drive.

Regards,
feffer

Posted: Fri Dec 11, 2009 12:59 pm
by gdoris
Thanks, I was afraid of that.

It's strange that the drive passed a variety of tests...hdparm, partprobe, testdisk, fsck, etc) without problems. However, it won't work with smartd. smartd complains there are problem sectors and stops monitoring the drive. I guess it really is garbage.