View previous topic :: View next topic |
Author |
Message |
nielchiano Veteran

Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Wed Jun 09, 2004 6:57 pm Post subject: bad blocks, what to do? |
|
|
Hi,
I have a not so old harddrive (60GB), but it's been used A LOT and has some bad blocks.
Is it possible to use that drive? Can I tell mkswap and/or mkreiserfs which blocks are bad (and so tell them not to use them)? |
|
Back to top |
|
 |
wippie n00b


Joined: 27 Apr 2004 Posts: 62
|
Posted: Wed Jun 09, 2004 7:08 pm Post subject: |
|
|
or you make a backup and then if the disk is not too old, goes back to where you bought the disk and require a new one.
some bad blocks usually becomes more bad blocks.. |
|
Back to top |
|
 |
b0fh_ Tux's lil' helper


Joined: 01 Jun 2004 Posts: 142 Location: Brazil
|
Posted: Wed Jun 09, 2004 7:11 pm Post subject: |
|
|
Ikes! don't use reiserfs with know bad disks... it will wreck up, since it does not have a way to mark bad blocks (I may be wrong, please correct me if...)
You can risk using ext2/ext3 using the badblocks program (man badblocks) to search for bad sectors and mark them, and to tell ext2 to not use that sectors.
I would not risk putting swap in such a bad disk either... swap corruption is an ugly thing.
cheers. _________________ "Contrary to popular belief, UNIX is user-friendly. It only happens to be picky on its friends." |
|
Back to top |
|
 |
nielchiano Veteran

Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Wed Jun 09, 2004 7:27 pm Post subject: |
|
|
b0fh_ wrote: | Ikes! don't use reiserfs with know bad disks... it will wreck up, since it does not have a way to mark bad blocks (I may be wrong, please correct me if...)
You can risk using ext2/ext3 using the badblocks program (man badblocks) to search for bad sectors and mark them, and to tell ext2 to not use that sectors.
I would not risk putting swap in such a bad disk either... swap corruption is an ugly thing. |
exactly what I was thinking... glad someone confirms that tought. |
|
Back to top |
|
 |
|