RE [ILUG] Last block on disk bad
kenn at linux.ie
Thu Sep 28 12:13:29 IST 2000
On Thu, Sep 28, 2000 at 10:19:41AM +0100, gerodonoghue at sigma-sl.ie wrote:
> > Is this hypothesis correct, or do I really have a failing disk
> > (and it's just pure chance that the bad blocks are exactly at the
> > ends of partitions)?
> The plus at the end indicates that the there is 249007.5 blocks in the
> partition hda2 i.e. 31*255*63/2.
> What did you use to check your disk as it may read blocks in groups of 4
> rather then 1 ??
> I have the same senario on a 12 GB Drive with + at end of some
> partitions. And could try and verify this as well.
First I do fdisk -s /dev/hdaX to get the size of the parition. Then I do
# badblocks /dev/hdaX <size>
Maybe there is a way to use tune2fs or e2fsck to get the size of the
_filesystem_ in the partition, rather than the size of the partition
Must investigate later...
More information about the ILUG