- Topic ID: id_18718038
- Version: 1.0
- Date: Sep 20, 2018 2:04:19 PM
reconfigScanDisk & SDDA Utilities - GOC3/GOC4
1 Overview
The DARC/DARC2 Node mounts the Disk Array. The reconfigScanDisk test wipes out all Scan (Patient) Data and reconfigures the Scan Disk. Additional commands are present. These tests shall be run with Applications down.
2 Determine Software
Confirm the Host Application Software is less than 06MW03.4. If the software is 06MW03.4 or greater, do NOT perform this procedure.
-
Open a Unix Shell and type the following to verify Applications software version information. Examples are provided. The examples are not actual output.
{ctuser@ hostname } swhwinfo
(year)MW(fiscal week).(fiscal day).hardware revision info here
Output must NOT be: 06MWxx.xhardware revision info (or greater)
-
If the software version is less than 06MWxx.x continue. If it is equal to 06MWxx.x or greater, do not continue.
3 Procedure
![]() |
|
Open a Unix Shell and type the following:
-
{ctuser@ hostname } su -
-
Password: #bigguy
-
[root@ hostname ]# rsh darc
Last login: Tue Oct 7 14:42:40 from oc
You have new mail.
-
[root@darc ~]# cd /usr/g/scripts
-
[root@darc scripts]# ls reconfigScanD*
reconfigScanDisk
-
[root@darc scripts]# ./reconfigScanDisk - or - reconfigScanDisk
An example output is shown below:
Appears that /raw_data is mounted.Trying to unmount..OK
Checking if SCSI driver [ aic79xx ] is loaded..
SCSI driver is already loaded. Good.
Checking if primary disk is IDE..
Detected IDE disk as primary.Good.
Detecting other SCSI disks on the system..
Detected 2 SCSI disk(s) : /dev/sda /dev/sdb
Creating primary partition on /dev/sda
Creating primary partition on /dev/sdb
Creating entries in /etc/raidtab.gre..OK
Initializing RAID device..OK
Examining if I created /dev/md0 correctly..OK
Creating XFS filesystem..OK
Creating mount point directory : /raw_data ..OK
Verifying what I did..
Mounting RAID disks at /raw_data..MountDevice
/dev/md0 on /raw_data type xfs (rw,nodev)
Verifying mount , Status = 1
[ should be 1 ]
[Logged by SDDAUtils] Mounted /dev/md0 at /raw_data. [OK]
OK
Creating a file /raw_data/test and writing to it..OK
Deleting file /raw_data/test..OK
Verification completed successfully
Changing ownership of /raw_data to ctuser [owner] and ctuser [group]..OK
Applying permissions [777] to /raw_data..OK
All done. Transcript saved in reconfigScanDisk.log
-
[root@darc scripts]# df -h /raw_data
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/md0 71673044 2605820 69067224 4% /raw_data
note:If /raw_data is not present then perform the ./startSDDA and df command again:
-
[root@darc scripts]# ./startSDDA
-
[root@darc scripts]# df -h /raw_data
-
-
[root@darc scripts]# exit
rlogin: connection closed.
[root@ hostname ]#
An additional command for the Disk Array is: [root@darc scripts]# ./SDDAUtils -U
