HPUX STORAGE
From My Admin Page
- If you loose SAN connectivity, to recover try :
- ioscan -fnC Disk <-- Scans for disk devices
- insf -e <-- With the -e option, insf reinstalls the special files for pseudo drivers and existing devices. This is useful for restoring special files when one or more have been removed.
- VGCHANGE commands:
- vgchange -a y <vg> <-- To Activate group
- vgchange -a r <vg> <-- to Activate readonly
- vgchante -a n <vg> <-- To Deactivate group
- from HERE:
=====
Device Management=====
HP-UX is a hardware path based operating system. When it boots up it does a hardware detection. It then compares the hardware that it detects with the hardware that is listed in /etc/ioconfig. If new hardware is detected, it is assigned the next available configuration information in the proper hardware path. rmsf - remove special files insf - install special files insf -C disk -e <-- This command will re-install all of the device files for the class "disk" lsdev <-- Lists devices and drivers in the system ioscan <-- searches for all devices and displays their hardware path ioscan -fnC disk <-- searches for all devices of class (C) disk ioscan -fnH <LUN> <-- searches for a LUN last 2 digits of hardware path in the LUN in octal (1/12/0/0.1.23)=========
Fibre Channel Devices=========
ioscan -fknC fc <-- Lists fibre channel adapters. To identify the devices: ls -l /dev/fc* fcmsutil - utility for fibre channel operations fcmsutil /dev/<device> Procedure to run fcmsutil on a fibre channel: ioscan -fnC disk|more --> Identify hw path of fibre channel adapter ioscan -fnH 1/0/0/0 --> Identify device of fibre channel adapter or ls /dev/fc* on older adapters (arbitrated loop) fcmsutil /dev/fcms2 stat --> fcmsutil that shows status of fibre channel adapter