Problem
1. When adding the 5th (or greater) logical hard drive on my SCO OpenServer 5 system, the mkdev hd script returns the error:
scsibadblk: set_bounds failedThe script continues and the hard drive is able to be mounted and accessed properly.
2. Running the badtrk utility on the 5th (or greater) logical hard drive returns the same error.
Cause
The badtrk utility fails on hard drives with a major device number that is greater than 127.
Solution
To confirm that this is the problem on your system, run:
# grep Sdsk /etc/conf/cf.d/mdeviceThe 5th and 6th fields of these entries show their major device numbers.
If one of these entries shows a number greater than 127, badtrk will return the above error. For example, this listing shows a major device number of 133:
Sdsk Iocrwi BiHobCcZpkRM Sdsk 133 133 1 2 -1
The badtrk failure should not affect the system's functionality.
This problem is fixed in SCO OpenServer Release 5.0.6.
See also
Manual pages: badtrk(ADM), hd(HW), mdevice(F)