- Topic ID: id_18718224
- Version: 1.0
- Date: Sep 20, 2018 2:02:52 PM
gre-raid Disk Array Tests - TIO
1 Overview
The -c (create) command wipes out all Scan (Patient) Data and reconfigures the Scan Disk. The -c and -a tests must be run with Application Software down. The -q (query) test may be run with Application Software up or down.
Additional commands have been provided to see if the RAID is mounted and the disks are present, in Verify Disk Present and Mounted.
CDIP/CDIP2 card and scan data disks are mounted in Host computer.
2 Procedure
The Disk Array is configured with 2 disks. As required, perform the create, assemble or query commands. Visually verify the entire output is successful from the command script performed. The final output line ‘gre-raid success’ does not mean the 2 Disk Array RAID is good. Shutdown Application Software if it is up. Open a Unix Shell and type the following:
{ctuser@ hostname } cleanMon
2.1 Create (-c) Script
![]() |
|
With Application Software down, open a Unix Shell and type the following:
[ctuser@host ~]$ sudo gre-raid -c
************************** Warning ******************************
* If a new disk array is created, all scan data on the current *
* disk array will be lost. *
*****************************************************************
Are you sure you want to create a new disk array (yes/no)? yes
Verify the create partitions diagnostic passes and all output looks good.
Perform the assemble and query commands if the create has been successful.
2.2 Assemble (-a) Script
With Application Software down, open a Unix Shell and type the following:
{ctuser@host} sudo gre-raid -a
Verify assemble diagnostic passes and all output looks good.
Perform the query command if the assemble has been successful.
2.3 Query (-q) Script
With Application Software up or down, open a Unix Shell and type the following:
A query can be performed at any time with Application software up or down. The preferred method is to test with Application software down. The Operator Console can not be scanning or manipulating Scan Data during the testing.
{ctuser@host} sudo gre-raid -q
Verify query diagnostic passes and all output looks good.
{ctuser@host} exit
{ctuser@ hostname }
3 Verify Disk Present and Mounted
Open a Unix Shell and type the following commands to verify two 36 GByte disks (alternate disk manufacturers may be shown) are present. Additionally, /dev/md0 can be checked to see if /raw_data is mounted using the df or df /raw_data command.
{ctuser@host} df /raw_data
{ctuser@host} df
{ctuser@host} cat /proc/scsi/scsi
