Re: Bad sector in raw OnLine chunk?
Posted in 1996
Joe Lumbley (jlumbley@netcom.com) wrote: } Colin McGrath (cmm@trac3000.ueci.com) wrote: } : What is the best way to find and mark a sector of a disk bad that is in } : a raw Informix file? } } try: } } dd if=raw_device_name_or_linkname of=/dev/null bs=1024k } } } If there's a problem with the disk, you'll get a disk error. Marking } the sector is another problem entirely. I'm not sure whether or not } it can be done on a raw device. } } If you can't get a full explanation of what the output log data means, } try calling Informix support. A cursory glance seems to indicate that you } may have some corrupted data pages. Are you sure that you don't have any } overlaps in your raw device boundaries? Thanks, Joe. You were right, it wasn't a bad sector, it was a corrupted data page. The dd came back clean (though I used a bs=4k). Informix support pinpointed which table. While deleting all from the table didn't fix it, dropping and recreating the table the table did. -- _____________________________________________________________________ | Colin McGrath cmm@trac3000.ueci.com | | Raytheon Engineers & Constructors, Inc. (215) 422-4144 | | Phila, PA, USA Standard Disclaimers Apply | |___________________________________________________________________|