HYPERDISK CONFIGURATION UTILITY USER MANUAL Version 3.0 Revision 1.0 15th Nov, 2002 (Satish, M) Product Version: HyperCFG(Linux) 3.0 Build Nov 12, 2002 HyperDOS(DOS) 3.0 Build Nov 12, 2002 HyperWIN(Windows) 3.0 Build Nov 12, 2002 NOTE: The features described below apply to all the versions of the utility (Hypercfg, Hyperdos and Hyperwin) unless otherwise specified. USAGE: Linux and Novell: HYPERCFG [CONFIGURATION OPTIONS] [DRIVE-ID] [DISPLAY OPTIONS] [MISCELLANEOUS OPTIONS] [ /S ] [ /F[FILENAME] ] /X Windows: HYPERWIN [CONFIGURATION OPTIONS] [DRIVE-ID] [DISPLAY OPTIONS] [MISCELLANEOUS OPTIONS] [ /S ] [ /F[FILENAME] ] /X DOS: HYPERCFG [CONFIGURATION OPTIONS] [DRIVE-ID] [DISPLAY OPTIONS] [MISCELLANEOUS OPTIONS] [ /S ] [ /F[FILENAME] ] /X /S Silent Operation: When this option is set, the utility does not prompt the user. /F[FILENAME]: This Option redirects the output to the specified FILENAME. If FILENAME is not specified then the default file is taken to be HYPERCFG.DAT. /Yx[filename] This option is used for error logging. If filename is not specified the default is hypercfg.log. 'x' = f - default log only errors. 'x' = c - continuous logging CONFIGURATION OPTIONS: The options specified with '[]' are optional and those within '<>' are mandatory. These options are used to configure the RAID. The valid switches are: /A[m]:D1[,D2,D3,D4] /G[N]:[SIZE1] /G[N1]:[SIZE2] - Automatic RAID configuration m = S[STRIPE SIZE] - configures RAID in STRIPE MODE(RAID-0) with specified STRIPE SIZE. STRIPE SIZE must lie within the range [32, 64, 128, 256, 512, 1024, 2048, 4096]. If invalid STRIPE SIZE is specified the utility assumes 64K STRIPE SIZE. Default STRIPE SIZE is 64k. m = M - configures RAID in MIRROR MODE (RAID-1) m = R[STRIPE SIZE] - configures RAID in RAID 10 mode with specified STRIPE SIZE. STRIPE SIZE must lie within the range [64-4096], in multiples of 4K. D1, D2-D4 specifies the drive that participates in the array. Valid numbers are 00, 10, for Port#0, Port#1 respectively. /G[n]:[size] creates a logical array in the array 'n' with the size specified. Size specified is in MB. Default value for n is 0 and if size is not specified, the whole array is alloted to the log drive. DRIVE-ID: Drive id is specified by /C[n] /D[cd] /C[n] - Specifies the card no. If n is not specified, then it is taken to be 0 /D[cd] - Specifies the drive number. c = Channel Number (0 - for Primary, 1 - for Secondary) - default is 0 d - Always 0 for this controller, only Master is supported. /L /C[n] /D[cd] [/b[filename]] - Displays the configuration sector of the specified drive. If ONLY /L is used, the configuration sector of the first available drive is displayed. The order of searching for the first available drive is: Card 0 Channel 0 Drive 0 - Primary Master Card 0 Channel 1 Drive 0 - Secondary Master If either /D or /C is specified then the configuration sector of the specified drive is displayed /b[fn] - saves the IRCD in a bin file - fn. If fn is not specified, default is HYPERCFG.BIN /E /C[n] /D[cd] - Erases the configuration/error log sector of specified drive o = C - Erases the configuration sector o = E - Erases the error log sector o = A - Erases both configuration and error log sector /@ /b[filename] To restore configuration from binary file use /@ /b[binfile] if binfile is not specified, then default is HYPERCFG.BIN DISPLAY OPTIONS: This option determines how the data is displayed. This option is valid only for /I option. /W[o] - Specifies display mode o = V - Display in verbose mode Default Option: If [o] is not specified, then display will be as HEX Dump. MISCELLANEOUS OPTIONS: /M[r/] /C[n] /D[cd] (NOTE: This feature is available only in DOS version) This option allows the user to set the maximum accessible sectors on the Harddrive that supports this feature. The address is specified in HEX. /Mr - Resets the max. address to NATIVE MAX ADDRESS of HDD. /P[S] /C[n] /D[cd] - Switches the drive to specified state. S = S - Drive is powered on in Suspend state. Default Option: If [S] is not specified, then the drive is switched on in Active state. /V - Detects the Presence of RAID BIOS and displays the version of BIOS (NOTE: Feature availability depends on driver used for non-DOS platforms) /R[n] [/$[FILENAME]] [/B[FILENAME]] /C[n] /D[cd] - Reads and displays the 'n'th sector. If 'n' is not specified then sector number is taken to be 0 /B option dumps specified sector to the specified file in BIN format /$ option dumps specified BIN file to the 'n'th sector The default filename is HYPERCFG.BIN /X - This option pauses and waits for keystroke if any error occurs on executing HyperCFG. /I[a] /C[n] /D[cd] [/B[filename]] - Displays the information about the specified drive /Ia displays ID Device Packet for all drives present. /Bfilename - Saves the 512 byte ID info. Pkt. To filename. If filename is not specified, then the default filename is HYPERCFG.BIN. This option should NOT be used with /Ia option. /Z[E/D] - Enables/Disables SMART feature. Default option is ENABLE Note: In all other cases ERROR LEVEL is returned. (Refer ERROR LEVEL for various error codes and their meanings ). All the other options except /S, /F, /B, /@, /$ & /W will have default arg as zero. RETURN CODE: The HYPERCFG utility returns a 8-bit code on exit to the OS. This code should be interpreted as follows: Bits 7:6 -- Data Type returned Bits 5:0 -- Data Bits 7:6 = 00 - bits 5:0 contain Error info. 01 - bits 5:0 contain array count info. 1x - Reserved Return codes on Error Condition: 0 - No Error 2 - Reserved 3 - Reserved 4 - Reserved 5 - Reserved 6 - Array not formed due to inadequate drives 7 - Reserved 8 - Reserved 9 - Reserved 10 - Hard disk(s) not found 11 - Raid controller timed out on read/write 12 - Reserved 13 - Reserved 14 - Error opening Array information file 15 - Array information file format incorrect 16 - Error opening log file 17 - Reserved 18 - Array not formed as required drives not found 19 - Array not formed , excess drives found 20 - Reserved 21 - Reserved 22 - Invalid configuration present 23 - Configuration mismatch in drives 24 - Error reading file 25 - Error writing file 26 - Warning!! Truncating file as filesize > 512 bytes 27 - Raid BIOS not found 28 - Feature not available in IDE Drive 29 - Invalid Command line arguments 30 - Reserved 31 - Reserved When /Q is specified, config. related commands return ARRAY COUNT on SUCCESS. In all other cases ERROR LEVEL is returned