Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lssf(1m) [hpux man page]

lssf(1M)																  lssf(1M)

NAME
lssf - list a special file SYNOPSIS
special_file ... special_file DESCRIPTION
In the first form, lists information about a special file. For each special_file name, determines the major number of the special file and whether it is block or character (using It then scans the system for the device that is associated with the special file. When the device is found, the minor number of the special file is decoded. A mnemonic description of the minor number is printed on standard output along with the hardware path (in other words, address) of the device. Mnemonics used to describe the fields are closely related to the options used with (see mksf(1M)). In the second form, displays the list of stale device special files present in selected directories under the directory. In the third form, executes a Critical Resource Analysis (CRA) on the Options recognizes the following options: Displays the Critical Resource Analysis (CRA) of Displays the stale device special files present in the directories below, which contain special files for mass storage devices. The stale device special files correspond to nodes that have an entry in the system I/O configuration files but the corresponding device is not found. The device special files can either be legacy or persistent (see intro(7)). DIAGNOSTICS
Most diagnostic messages from are self explanatory. Listed below are some messages deserving further clarification. Warnings allow to continue. Warnings There is no information about the device in the kernel. The special file is not usable. Use to remove the special file (see rmsf(1M)). The major number associated with the special file is not in the kernel. Use to add the appropriate driver to the kernel (see kcmodule(1M)). The indicated device driver or device class is not present in the kernel. An of a special file pointing to an unusable device fails. To make the device usable, the appro- priate device driver and/or device class must be added to the kernel using If the device is no longer needed, should be used to remove the special files and update the system I/O configuration files. The file is not associated with an IO device. EXAMPLES
Suppose a special file is created with the command The command then produces: Suppose a special file is created with the command The command then produces: Display stale device special files: Display Critical Resource Analysis information for /dev/disk/disk7: AUTHOR
was developed by HP. FILES
I/O system special file I/O system configuration database I/O system configuration database SEE ALSO
insf(1M), kcmodule(1M), mksf(1M), rmsf(1M), intro(7). lssf(1M)

Check Out this Related Man Page

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)
Man Page