I am looking for a way to check an entire IDE/SATA drive in SCO Openserver 5.0.6 for potential bad sectors. The requirements for this check are:
(1) Must be able to be run remotely -- do not have access to the console on this machine.
(2) Must be able to run at run-level 2 or higher, non-destructively.
(3) Must provide good/bad output to a pollable file.
I have tried badtrk several times with several different options and cannot get it to write an output file with the bad information. I have run badtrk on drives that are known to be bad, and when run interactively, I get the error messages. When I run it remotely via script, it returns nothing on the same machines. If anyone can help with the proper command structure to get output, I would greatly appreciate it, or if anyone knows of another way to check these sectors, that would be great, too. I have tried using a dd seek on each block of the drive, but I run into problems with MAXINT which keeps me from testing anything larger than a 2G drive with this method.
(1) Must be able to be run remotely -- do not have access to the console on this machine.
(2) Must be able to run at run-level 2 or higher, non-destructively.
(3) Must provide good/bad output to a pollable file.
I have tried badtrk several times with several different options and cannot get it to write an output file with the bad information. I have run badtrk on drives that are known to be bad, and when run interactively, I get the error messages. When I run it remotely via script, it returns nothing on the same machines. If anyone can help with the proper command structure to get output, I would greatly appreciate it, or if anyone knows of another way to check these sectors, that would be great, too. I have tried using a dd seek on each block of the drive, but I run into problems with MAXINT which keeps me from testing anything larger than a 2G drive with this method.