Help on how to check a new disk.
![](https://seccdn.libravatar.org/avatar/4c79df53ecee35d02ab051081263507f.jpg?s=120&d=mm&r=g)
Hi, I just got in the mail an IBM 18 GB scsi disk from Ebay. As usual in this kind of transaction, there is no 100% warranty. In any, case the disk looks in good condition. To assure myself that the disk is in good order I did: cp /dev/sdb /dev/null This will copy the raw partition into the null device, that is, it will just read the whole disk. This ended with an scsi medium error. May 3 20:52:34 inca kernel: scsi0: MEDIUM ERROR on channel 0, id 1, lun 0, CDB: Read (10) 00 00 6a fc 85 00 00 60 00 May 3 20:52:34 inca kernel: Info fld=0x6afc86, Current sd08:13: sense key Medium Error May 3 20:52:34 inca kernel: scsidisk I/O error: dev 08:13, sector 6288536 Next, I run the 'badblocks' utility on one of the partitions and got 5 bad blocks. Now, my question is how do I deal with this? If I create a ext2 partition I can pass those values to mk2efs, or even use the '-c' option. However, I want to use reiserfs. But mkreiserfs does not appear to have a bad block check. In short, is there something I can do about it? I know that I can: low level format the drive, get a replacement from IBM, use ext2. I don't want the last two options. Any suggestion will be appreciated. -- Rafael
participants (1)
-
Rafael Herrera