[H-GEN] degrees of filesystem sickness?

Robert Brockway robert at zen.humbug.org.au
Tue Jun 9 00:59:10 EDT 1998


On Tue, 9 Jun 1998, Martin Pool wrote:

> OK: If you have a hardcopy of how the partition table was configured on the
> disk, then you can just run fdisk, enter the _exact_ same start and 
> end cylinders, and your partition table will be rewritten and all
> the partitions should be readable.  You can go from there to using
> debugfs or fsck on your partitions.

That works in pribcipal.  And it works in practice too unless something
has written across a parttiion boundary or the like.  I tend to keep
hardcopies of the partition table around for just such an emergency.
Which reminds me, I don't have one for blake :)

> If you don't have a record -- and I admit I don't do it for home machines 
> -- but you think you can remember the order and size in megabytes of 
> your partitions, then try creating new partitions of that size.

You have to get it exactly right, as you mention above.

> Otherwise, do something else, and record the partitions next time: the
> partition table is a SPoF and deserves to be backed up.

debugfs can still help to do raw reads off the disk I think.
Cheers,
	-Robert

--Robert Brockway B.Sc.  Email: robert at zen.humbug.org.au, robert at icc.net.au
				r.brockway at uq.edu.au
                         WWW:   http://www.humbug.org.au/~robert
Immediate Past President of HUMBUG (http://www.humbug.org.au)


----------------------- HUMBUG General List --------------------------------
echo "unsubscribe general" | mail majordomo at humbug.org.au # To Unsubscribe



More information about the General mailing list