Skip to main content

Posts

Showing posts with the label hp-ux

HP-UX tape configuration

Here are few commands to configure tape drives in HP-UX 1.  Scan for new devices: # ioscan –fnC tape 2.  List tape drives currently recognized by the OS (without performing an actual hardware scan) # ioscan –fnkC tape 3.  remove all the special files used by the tape drives # rmsf  /dev/rmt/* 4.  Recreate the specil files for the tape drives # insf –C tape –e 5.  Remove a tape drive (that has a NO_HW state) # rmsf –H 0/7/1/0.1.24.255.5.5.0 Find the WWN for the HBAs: # ioscan –fnkC fc # fcmsutil /dev/fcd0 Find the WWN for the tape drives connected to the HBA: # fcmsutil /dev/fcd0 get remote all   **These are just a handful of commands to deal with the tape drives.  Not to be used as a procedure

HP-UX find WWN for HBAs

First, list all the HBAs, in the output below the HBA device name is /dev/td0 and /dev/td1 my-hp-system# ioscan -fnkC fc Class I H/W Path Driver S/W State H/W Type Description ================================================================= fc 0 0/4/0/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter /dev/td0 fc 1 0/7/0/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter /dev/td1 Now, use the fcmsutil to find the WWN and other information related to each of these HBAs: my-hp-system# fcmsutil /dev/td0