Re[2]: Urgent SCSI I/O Error

Manohar Pradhan (mpml@isp.primuseurope.com)
Mon, 25 Feb 2002 20:44:19 +0000


Hi All,

If the Hard Drive is died, means I will need to replace. I have backup
for the Data in that /www partition.

Means when I replace new HDD, I will have to partition/format using
fdisk /sda ?

/dev/sdb6 917072 732972 137516 84% /
/dev/sda1 18820 5811 12037 33% /boot
/dev/sda6 2218336 462492 1643156 22% /www
/dev/sda5 5297560 418936 4609520 8% /home
/dev/sda7 1210440 711516 437436 62% /software
/dev/sdb1 5550188 50896 5217356 1% /usr
/dev/sdb5 2016016 28572 1885032 1% /var

My problematic HDD is /sda so if I replace this HDD, how can I boot as
boot images are in /sda1 /boot partition. How can I copy this boot
images to somewhere and make it work and what will be the process?

I know if I reboot and replace the HDD, it will give problem while
booting, any Idea to struggle with this?

Thanks a lot for all your help.

Regards
Manohar

Monday, February 25, 2002, 8:02:39 PM, you wrote:

JŲ> On Mon, Feb 25, 2002 at 07:09:53PM +0000, Manohar Pradhan wrote:
>> Hi,
>>
>> This question might have been raised before but I am stucked in
>> between wierd/helpless situation and wondering if someone can help me
>> out.
>>
>> I have Red Hat Linux 6.2 (2.2.14-5.0smp) running in my HP Netserver
>> box. I have 2 9.1 GB HDD. The server has been up for few months and
>> have not had seen any problem. But today all of sudden it gave
>> panicking message saying following:
>>
JŲ> ...
>> Feb 25 18:48:12 nsdb1 kernel: [valid=0] Info fld=0x0, Current sd08:06: sense key Not Ready
>> Feb 25 18:48:12 nsdb1 kernel: scsidisk I/O error: dev 08:06, sector 0
>> Feb 25 18:48:12 nsdb1 kernel: SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 28000002
>> Feb 25 18:48:12 nsdb1 kernel: [valid=0] Info fld=0x0, Current sd08:07: sense key Not Ready
>> Feb 25 18:48:12 nsdb1 kernel: scsidisk I/O error: dev 08:07, sector 0

JŲ> Your disk died. Physically.

JŲ> ...
>> I can access files in all the other partitions but cannot access
>> files/directories in partition /www. I can see files in the
>> directories listing using 'ls' however accessing any file gives
>> Input/Output error saying:
>>
>> cat check1.htm: Input/output error
>>

JŲ> Yep - can't read from bad blocks.

>> Can anyone help/suggest me what should I do to make it work? I am
>> wondering if I reboot the system, I may fall into problem on booting
>> itself. Is there any thing I need to do to make this partition work?

JŲ> Replace the harddrive, restore from backup.

JŲ> You will only have a problem booting, if the boot sector / kernel
JŲ> resides on that drive - and if that part of the drive is damaged
JŲ> too. It seems like that's not the case, but it would be wise
JŲ> to run an "mkbootdisk" now, just in case.

-- 
Best regards,
 Manohar                            mailto:mpml@isp.primuseurope.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/