Sponsored Content
Operating Systems Solaris How to solve "ioscan -En" hardware errors Post 302198489 by incredible on Friday 23rd of May 2008 04:25:54 AM
Old 05-23-2008
Any updates? How is your drive mirrored? Have you performed your backup?
Smilie
 

9 More Discussions You Might Find Interesting

1. Solaris

SUN Solaris "ioscan"

Hi, What is the equivelent command for ioscan from HP in SUN, i.e I need to display all hardware devies with path/driver/stats etc. regards, Ahmed (2 Replies)
Discussion started by: Ahmad
2 Replies

2. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

3. AIX

"too big" and "not enough memory" errors in shell script

Hi, This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Discussion started by: jerardfjay
11 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Shell Programming and Scripting

How to solve this problem "Illegal Option"

I am just trying to read the password from command prompt that user should type with in 10 seconds, I am getting "read: Illegal option -t" #!/bin/bash ... (1 Reply)
Discussion started by: KarthikPS
1 Replies

6. Solaris

Can't solve the "Too many open files" error

I keep getting "Too many open files" in /var/adm/messages that I do not know how to fix. I've searched for solution on this forum and have increased the file descriptors limit but the problem persists. The problem is happening in a solaris zone.... /var/adm/messages log example May... (8 Replies)
Discussion started by: JT-KGY
8 Replies

7. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

8. Solaris

How to solve M5000 CPU "Deconfigured" state?

Hi Community, i have one M5000 spare machine which was handled by support team. they told me that it is gone completely . i have checked the status. before it was showing MBU_B degraded. i updated to latest firmware and , resetted the xscf and now this is showing as normal. MBU_B... (5 Replies)
Discussion started by: bentech4u
5 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
ioinit(1M)																ioinit(1M)

NAME
ioinit - test and maintain consistency between the kernel I/O data structures and the ioconfig files SYNOPSIS
DESCRIPTION
Starting with HP-UX 11i Version 3, there are two ioconfig files, which is the same as on prior releases and which contains additional agile entries (see intro(7) for information on agile addressing). These two ioconfig files will have their copies in as and respectively. The command is invoked by the process when the system is booted, based on the entry in where is a script to invoke with the and options. Given the option, checks consistency between the versions of ioconfig files and the versions of ioconfig files. If these files are consistent, invokes to install special files for any new devices found. If versions of ioconfig files are inconsistent with versions, updates versions of ioconfig files from versions and, if the option is given, reboots the system. If or is corrupted or missing when the system reboots, brings the system up in single-user mode. The user should then restore or accord- ingly from backup or invoke with the option to recreate and from the kernel. If the option is given, reassigns instance numbers to existing devices within a given class based on infile. If the driver associated with the given hardware path does not support online instance number reassignment, reboot is required. If finds no errors associated with the reassignment, and the option is given, the system is rebooted. (See the section.) If the option is used with option, the command performs Critical Resource Analysis (CRA) on all the devices corresponding to the hardware paths specified in infile, before assigning the new instance numbers. Existing device special files of LUNs, whose instance number is to be reassigned, will be deleted and recreated after the reassignment of instance numbers. If the driver associated with the given hardware path does not support online instance number reassignment, the option must be used. If the option is given, recreates and from the existing kernel I/O data structures. If the option is given, verifies if there is any corruption in the specified system file. If the option is given, the kernel is forced to reassign instance numbers, starting from 0, for existing devices with the given class_name on the next reboot. Note that this option must be used with the option, which reboots the system immediately, if the operation is success- ful. Options recognizes the following options: Performs Critical Resource Analysis (CRA) on all the devices corresponding to the hardware paths specified in infile. Instance numbers will be reassigned as specified in infile, only if CRA of all these devices report SUCCESS. Existing device special files of LUNs whose instance number are reassigned will be deleted and recreated with the updated instance numbers. The option must be specified when using the option. (See the option below.) If the driver associated with at least one given hardware paths does not support online instance number reassignment, the option must also be specified. (See the option below.) If the infile contains a hardware path of a node whose driver does not support online instance number reassignment and option is not specified, the command aborts the operation. Recreates and files from the kernel if any of these files are missing or cannot be restored from backup. Whenever updates these files from information obtained from the kernel, it saves the current ioconfig file (the last known good one) before updating them as and in order to keep them synchronized with kernel I/O data structures. If ioconfig files are missing or corrupt, users are advised to copy the file from the last known good file so that the least amount of information is lost. If is invoked, any previous binding of hardware path to device class and instance number may be lost. Forces the kernel to reassign instance numbers starting from 0 for all existing devices with the given class_name. This option must be used with the option. On successful completion the system is rebooted immediately. Use the file infile to reassign instance numbers to devices within a specified class. infile may have multiple entries, each to appear on a separate line, each field in the entry separated by one or more blanks. Entries should conform to the following for- mat: h/w_path class_name instance_# preprocesses the contents of infile, looking for invalid entries, and prints out explanatory messages. An entry is con- sidered to be invalid if the specified hardware path or class name does not already exist in the system. If the specified instance number already exists for the given class, the entry is invalid if it is not for circular reassignment. On suc- cessful completion of this operation, previous special files will still be associated with the device. Invoke to install special files for new devices after checking consistency between the versions of the ioconfig files and the versions. This creates device special files for any new devices found on the system. Reboot the system when it is required to correct the inconsistent state between the kernel, and as used with the option. When used with the option, if there are no errors associated with the instance reassignment, reboots the system. Verify if there is any corruption in ioconfig_file. If the verification of ioconfig_file is successful, the command displays a message showing if the type of ioconfig_file is either legacy (for example, or agile (for example, Note: HP-UX should not be rebooted without the file. If the file is missing or corrupted, HP-UX will recreate the file before rebooting the system. If the system needs to be booted without the file (thus losing all the persistent I/O infor- mation (see ioconfig(4)), the user can delete the file and reboot the system with the command (see reboot(1M)). RETURN VALUE
No errors occurred, although warnings might be issued. encountered an error. was recognized as an file but it was found corrupted during verification. DIAGNOSTICS
Most of the diagnostic messages from are self-explanatory. Listed below are some messages deserving further clarification. Errors cause to halt immediately. Errors Either restore or accordingly from backup and then reboot, or recreate or using Change permissions to to allow access by completed successfully, but failed. Instance number already exists for a given class. Use to remove the existing instance number, then retry. The given hardware path is not in the kernel. Use to get the correct hardware path, then retry. The given class name is not in the kernel. Use to get the correct class name, then retry. EXAMPLES
To reassign an instance number to a device and class (specified in infile) and reboot the system: where infile contains the following: is the h/w_path, is the class_name, and is the instance_#. is the h/w_path, is the class_name, and is the instance_#. To achieve circular reassignment of instance numbers between two existing devices of a class (specified in infile), assuming the driver associated with the given hardware paths support online reassignment of instance numbers. where infile contains the following: is the h/w_path, is the class_name, and is the instance_#. The existing instance_# of this device is 30. is the h/w_path, is the class_name, and is the instance_#. The existing instance_# of this device is 20. After the successful completion of this operation, will have the new instance_# as 20 and will have the new instance_# as 30. Verify file for corruptions and find if it is of type legacy or agile. WARNINGS
Running or overwrites the effect of instance number reassignment by before the system is rebooted. The previous statement applies only for devices whose drivers do not support online instance number reassignment. AUTHOR
was developed by HP. FILES
SEE ALSO init(1M), insf(1M), ioscan(1M), rmsf(1M), inittab(4), ioconfig(4), intro(7). ioinit(1M)
All times are GMT -4. The time now is 08:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy