predicted hard drive failure

Asked by steve taylor

Dual boot set up XP on 40gig master
Ubuntu on 80gig slave

Everything is fine except that the old 40gig drive is showing up as having defects which may result in failure.
Since grub is on that disk, I think I may be in trouble.

Is there a good way out of this while everything is still working?

Thanks for reading

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
steve taylor
Solved:
Last query:
Last reply:
Revision history for this message
marcus aurelius (adbiz) said :
#1

most definitely. BACK UP EVERYTHING!
run chdsk /r to find and fix errors.
if the head is the part that's malfunctioning, chdsk won't help.

Revision history for this message
steve taylor (stevemail) said :
#2

Thanks for that Marcus, we are all pretty much saved off to external.
I think it is the head but will check again.
I was hoping there might be a trick here, something like moving grub or getting the master drive cloned off to a new drive maybe.

Anyway have a good Xmas I think I know what I will be doing.

Revision history for this message
steve taylor (stevemail) said :
#3

Synopsis from Ubuntu Disc Utility

Reallocated sector Count

Count of remapped sectors. When the hard drive finds a read/write/verification error, it marks the sector as "reallocated" and transfers data to a special reserved area (spare area)

Warning 4bad sectors

Type failure is a sign of imminent disk failure (pre-fail)
updates every time data is collected online.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Buy a new drive, switch it out, install grub to the drive then restore your backup to the device

Revision history for this message
marcus aurelius (adbiz) said :
#5

if it's just bad sectors , you can mark them as unusable and data will be written to good sectors on your drive, depending on whether it's system related data or not.

find out the make of your drive then go to the manufacturer's site and download a utility program that will mark the sectors as bad.

here's a link to the more popular drive makers. you'll need to install it in windoze. i tried the ubuntu utility. it only flagged the bad sectors and wasn't able to mark them as unusable.

http://www.eggheadcafe.com/software/aspnet/30498061/hard-drive-utility-to-aggressively-mark-bad-sectors.aspx

Revision history for this message
steve taylor (stevemail) said :
#6

Great stuff actionparsnip and marcus aurelius

I ran chkdsk on xp which reported a clean drive, Hmmm

Switching out sounds the business though I will have to figure how to install grub.

Maybe just for now I will try marking bad sectors if I can find the utility you mention.

Either which way, I thank you both for the feedback and I will mark this thread as answered.

good Xmas both

Revision history for this message
steve taylor (stevemail) said :
#7

Update

So, I found the Seagate hard drive test utility and ran every test available.
SMART
Short
Long
Short Generic
Long Generic
All passes

Now I don't know what to think,
Is it possible Ubuntu Disc Utility is in error?

Revision history for this message
delance (olivier-delance) said :
#8

Keep quiet Steeve.
If you can boot your PC from a CD or a USB stick, you will be able to reinstall Grub following this link:
    https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD
So you have really no issue...but to lose data on your first disk.

Revision history for this message
steve taylor (stevemail) said :
#9

Brilliant delance I shall stash the link for later.

It seems out of the box drives can have a few bad spots so I am just going to monitor the situation for now.

I have read of drives with '250' or so bad spots still running, well maybe with '4' I am over reacting.

However, at some stage I am looking to dump xp and that link may well be the way to do it.

many thanks