[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] aargh, disk crash





> Now remarkably, linux kept on running, though at one point in switching
> from a console to X-windows the screen turned red which made me think:
> panic, virus and switched off.  So then I thought, well, where do I go
> from here, things can't get much worse.  So booted up again and I'm able
> to carry on as before but without my mozilla inbox and stuff.  Ain't
> linux great?  I can't imagine windoze carrying on like this after a disk
> crash. 
> 

Depends which bit of the disk is damaged :) My /home partition on my old 
6GB Maxtor was screwed beyond belief, so whilst the machine could boot as 
the boot partitions were okay, any attempt to write a file in /home failed.

> Assuming I've managed to back everything I need up, how do I find out
> just how much of the disk is damaged, and is there any prospect of
> recovering the damaged data?

I just kicked off a cp -R to copy the dud partitions over ... it took 
bloody ages as the machine kept having to retry dodgy sectors before giving 
up though...Alex suggested using dd, which should also work.

> Finally, any suggestions about repair/replacement?  It is a 45Gig IBM
> Maxtor disk so I'm reluctant to scrap it, but once bitten etc.
> 

Well Maxtor run a trade-in ... if the disk dies within its gurantee period 
(5 years I think with Maxtor -- check web page) you can get a no quibble 
replacement drive. Other drive manufactureres do similar things as well, so 
you might want to look into that.

> >From /var/log/messages:
> 
> Oct  1 09:49:14 linux kernel: hde: lost interrupt
> Oct  1 09:49:14 linux kernel: hde: dma_intr: status=0x51 { DriveReady
> SeekComplete Error }
> Oct  1 09:49:14 linux kernel: hde: dma_intr: error=0x40 {
> UncorrectableError }, LBAsect=21625877, sector=82648
> Oct  1 09:49:14 linux kernel: end_request: I/O error, dev 21:08 (hde),
> sector 82648
> Oct  1 09:49:14 linux kernel: vs-13070: reiserfs_read_inode2: i/o
> failure occurred trying to find stat data of [4038 3771 0x0 SD]
> 

Similar to what I had when my ext2 partitions went wobbly.

Everything else in your mail I can't answer ... not easily anyway :) Network backups could be done with something as simple as:

	tar cvf - * | rsh <remote host> tar xvBpf - 

but that would imply trusted network :) Other possibilities involve other incantations of tar/cpio and automated ftp/rcp/scp.

Chris...

-- 
\ Chris Johnson           \  "If not for me then, do it for yourself. If not
 \ cej [at] nccnet.co.uk        \  for then do it for the world." -- Stevie Nicks
  \ www.nccnet.co.uk/~cej/  ~-----------------------------------------+
   \ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____


___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.