Re: Restoring file systems
From: Dances With Crows (danSPANceswitTRAPhcrows_at_gmail.com)
Date: 11/16/05
- Next message: G: "Re: Corrupt a File with "cat" ?"
- Previous message: Robert Heller: "Re: Corrupt a File with "cat" ?"
- In reply to: Simen Martinussen: "Re: Restoring file systems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 15 Nov 2005 17:35:26 -0600
On Tue, 15 Nov 2005 23:44:45 +0100, Simen Martinussen staggered into the
Black Sun and said:
> On Tue, 15 Nov 2005 15:55:49 -0600, Dances With Crows wrote:
[ failure on a FAT partition ]
>> All Hardware Sucks. You may with to run ide-smart or smartctl -a on
>> the disk (assuming it's IDE) and see what those say. If one of the
>> numbers is in a "prefailure" state, you're going to need a new disk.
> Blasted. It seems I truly need a new disk, I got a lot of prefailures
> and advisories.
Make sure you're interpreting the output correctly. Like so:
samantha:~# ide-smart /dev/hda
Id= 3 Status=39 {Prefailure Online } Value=209 Threshold= 63 Passed
Id= 4 Status=50 {Advisory Online } Value=253 Threshold= 0 Passed
Id= 5 Status=51 {Prefailure Online } Value=253 Threshold= 63 Passed
[snip]
...this is OK; the first 3 tests passed.
samantha:~# smartctl -a /dev/hda
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED
3 Spin_Up_Time 0x0027 209 206 063 Pre-fail Always
[massive snip]
...so this is 209, when it gets to 63 it's pre-failure, worst it's ever
been was 206. This test passed. Repeat for all other lines from
ide-smart or smartctl -a.
> Any idea how long it might take?
How long what might take? dd_rescue and dosfsck will vary depending on
how big the partition is. Take a look at "dmesg | tail -n20" while
dd_rescue is running; if you see a bunch of "uncorrectable error:
/dev/hdaN sector 131072 additional sense code 0F00:1234" messages there,
you've got bad sectors and it's definitely time for a new disk NOW.
> These situations always make me frustrated nobody hires students.
If you're at a university (larger is better, but small may work) then
there's a definite demand for part-time student labor. They'll even
work around your classes. Yes, the pay is lousy, but you might learn
something. Also, a new 40G IDE disk is about $50 according to
pricewatch.com . $50 is well within the range of most students; just
drink cheap beer for a week or 2. If you need a 300G drive, that'll be
about $140, which is a little trickier. HTH,
-- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / "He is a rhythmic movement of the -----------------------------/ penguins, is Tux." --MegaHAL
- Next message: G: "Re: Corrupt a File with "cat" ?"
- Previous message: Robert Heller: "Re: Corrupt a File with "cat" ?"
- In reply to: Simen Martinussen: "Re: Restoring file systems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|