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
itself.
Must investigate later...
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!