Testing a hard drive or raid from Irix 6.5.28 -
bjames - 10-03-2018
I’m familiar with Irix’s confidence test for perriferals, I was wondering what tools Irix has to test a drives integrity or a JBOD raid device.
I have purchased a few Medéa raids and was able to initialize and mount the raid devices with no issue, but I have no idea if there are any bad sectors.
RE: Testing a hard drive or raid from Irix 6.5.28 -
jan-jaap - 10-03-2018
If this is a hardware RAID then it presents itself to the IRIX system as a single block device. You can exercise it with 'fx'. Assuming your volume is SCSI ID2 on controller 1:
Code:
4# fx -x
fx version 6.5, Jul 20, 2006
fx: "device-name" = (dksc)
fx: ctlr# = (0) 1
fx: drive# = (1) 2
fx: lun# = (0)
...opening dksc(1,2,0)
...drive selftest...OK
Scsi drive type == COMPAQ BD30088279 HPB4
----- please choose one (? for help, .. to quit this menu)-----
[exi]t [d]ebug/ [l]abel/ [a]uto
[b]adblock/ [exe]rcise/ [r]epartition/
fx> /exe
----- please choose one (? for help, .. to quit this menu)-----
[b]utterfly [seq]uential [set]testpat
[e]rrlog [st]op_on_error [sh]owtestpat
[r]andom [m]iscompares [c]omplete
fx/exercise> seq
fx/exercise/sequential: modifier = (rd-only)
fx/exercise/sequential: starting block# = (0)
fx/exercise/sequential: nblocks = (585937500)
fx/exercise/sequential: nscans = (1)
sequential pass 1: scanning [0, 585937500] (585937500 blocks)
0%
... and then you wait a long time until it reached 100 %
The rd-only test is sufficient as a basic confidence test. The wr-only test will erase the device. I often do that with 'new' (to me) disks. Any other option will cause significant head movement and make everything much much slower.