Hi all, My hdd fell from the chair and an RO run of badblocks tells me that there is a scratch. My cure is to try and locate the cylinder where the scratch is, and repartition the disk to exclude that scratch. So to correctly implement this, I need the following.. 1. Is there same amount of storage per cylinder? I need to determine which cylinder of my machine has the problem, and then to exclude it? 2. Does badblocks operate below the filesystem level for RO test? All references that I got with respect to badblocks, with another FS, were related to ext2fs - while I have reiserfs on that partition. 3. Any other suggestions? Can not afford a new disk, but surely can make it a point not to store critical data on this disk. Rohit ********************************************************* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com
On 06/20/2003 01:25 PM, Rohit wrote:
3. Any other suggestions? Can not afford a new disk, but surely can make it a point not to store critical data on this disk.
Would it be possible to resize the partition, and basically leave that spot unpartitioned, creating a partition after the new 'free' space.? I don't use reiserfs, so I'm not sure. I've read that reiserfs supports resizing. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
The 03.06.20 at 10:59, Rohit wrote:
My hdd fell from the chair and an RO run of badblocks tells me that there is a scratch. My cure is to try and locate the cylinder where the scratch is, and repartition the disk to exclude that scratch.
Ough! Very difficult, I'm affraid... The gometry that the disk reports to the computer may not be real. Indeed, it is not real. I know my HD has two plates, and 1,2,3 or 4 heads depending on the model (size). But, linux (and windows) thinks it has 255 heads. There is a reason for it (historical), but it doesn't matter now, and there are many good documents that explain it. In LBA mode, the system only needs to refer to a block number, and the HD will retrieve or write to it. It doesn't realy matter where it is physically. Even more, the HD can move defective sectors to a new location, without system intervention, at least to a point. If you want to check your HD for errors, use the HD manufacturer software for testing. Seagate has one, every bodu has one: so get it, an use it. It usually is a file that serves to create a dos boot floppy with an executable that does the tests, offline.
1. Is there same amount of storage per cylinder? I need to determine which cylinder of my machine has the problem, and then to exclude it?
Mind, the head could be damaged as well. -- Cheers, Carlos Robinson
participants (3)
-
Carlos E. R.
-
Joe Morris (NTM)
-
Rohit