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

Re: Debian 1.1: fsck failure.



Oz Dror <dror@netcom.com> writes:
> After a power failure. I cannot fsck one of my IDE partition
> when I type:
> fsck /dev/hda8
> 
> I get:
> -- Parallelizing fsck version 1.02 (16-Jan-96)
> e2fsck 1.02, 16-Jan-96 for EXT2 FS 0.5b, 95/08/09
> fsck.ext2: Attempt to read block from filesystem resulted in short read
>  while trying to open /dev/hda8
> Could this be a zero-length partition?
> 
> Is there any way to salvage this partition?
> 
> Do I need to reformat this partition?

This *sounds* like a problem I used to have (I don't remember the error
messages exactly, so I can't be sure).  My problem was that the end of my
partition table was being periodically corrupted, so that whenever I
rebooted, partitions 7 and 8 had screwed-up parameters.  Using fdisk to put
them back exactly the way they were fixed the problem.  What does fdisk say
about the partition?  If it has nonsense values, then you may be able to
salvage it the same way I did.  If the problem then repeats itself, then
there is a bug somewhere, and it wasn't just that I'd somehow managed to
screw up the partitioning of my disk (I *suspected* that writing data to one
of my partitions was somehow clobbering the partition table.  Ever since I
repartitioned, I have had no more problems, but that could just be because I
no longer have 4 logical partitions).

				Warwick

----------------------------------------------------------------------------
Warwick Harvey                                    email: warwick@cs.mu.OZ.AU
Department of Computer Science                        phone: +61-3-9287-9171
University of Melbourne                                 fax: +61-3-9348-1184
Parkville, Victoria, AUSTRALIA 3052     web: http://www.cs.mu.OZ.AU/~warwick



Reply to: