Beechglen Development Inc.
3862 Race Road - Cincinnati, Ohio 45211 - (513) 922-0509 - Fax (513) 347-2834

The online home of the company bringing you quality HP hardware and software support


Home | HP-UX | MPE/iX | Services | Search | Testimonials | Feedback

 

Best of the ITRC HP-UX Forums

HAVING IGNITE ISSUES WHEN TRYING TO RESTORE A SERVER
SUBMIT YOU HP-UX TIPS AND TRICKS
FAVORITE SYSADMIN SCRIPTS YOU ALWAYS KEEP AROUND (3)
FAVOURITE SYSADMIN SCRIPTS YOU ALWAYS KEEP AROUND....
SAN - DISKS ARE MISSING
GREATEST BLUNDERS
SUBMIT VERY BASIC SYSTEM ADMINISTRATION COMMANDS
FAVORITE SYSADMIN SCRIPTS YOU ALWAYS KEEP AROUND
SYSTEM HANGS
HUMOROUS TECHNOLOGY STORY
DISK ARRAY, LVM, POWERFAILED
ERROR #2266: "INPUT_ITERATOR_TAG WITH ACC 6.15
CORE DUMP WITH BUS_ADRALN ERROR
SHOULD SWINSTALL & IGNITE-UX TOOLS BE IMPLEMENTED W/JAVA?
FINDING BOOT AND MIRROR DISK
PERFORMANCE ISSUE?
ABANDONING HPUX
KERNEL TUNING - NPROC + DBC_MAX_PCT
SYSTEM HANG WHEN MORE THAN HALF VG00'S DISK ARE OFFLINE ?
11.31 SYSTEM PAUSING
SCRIPT HELP NEEDED TO PARSE /VAR/MAIL FILES
VGDISPLAY: VOLUME GROUP NOT ACTIVATED .
IO PROBLEM HP-UX 11.31
SAN SETUP


SUBJECT: HAVING IGNITE ISSUES WHEN TRYING TO RESTORE A SERVER FROM TAPE Joe Profaizer ================================================================================ I have an Itanium hp-ux system that I ran a make tape recovery on. I'm attempting to restore such tape to another itanium. I did an interactive restore also, but seem to have the same result once the system reboots again. Below is the output. It halts at the same exact place every time. Any assistance would be appreciated. This is an HP-UX 11.31 image and I'm booting from the DVD and restoring via the tape device.. Below is the command I used from stlPora4 and I'm trying to use this tape to create stlPora4. Same type of hardware, but no luck whatsoever: /opt/ignite/bin/make_tape_recovery -Iv -a /dev/rmt/3mn -x inc_entire=vg00 EFI Boot Manager ver 1.10 [14.61] Firmware ver 1.13 [4402] Please select a boot option HP-UX Primary Boot: 0/1/1/0.0x1.0x0 HP-UX HA Alternate Boot: 0/1/1/0.0.0 EFI Shell [Built-in] Internal Bootable DVD Boot Option Maintenance Menu System Configuration Menu Use ^ and v to change option(s). Use Enter to select an option Loading.: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 Starting: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 (C) Copyright 1999-2006 Hewlett-Packard Development Company, L.P. All rights reserved HP-UX Boot Loader for IPF -- Revision 2.035 Press Any Key to interrupt Autoboot \EFI\HPUX\AUTO == boot vmunix Seconds left till autoboot - 0 AUTOBOOTING... System Memory = 32752 MB loading section 0 ................................................................................ .. (complete) loading section 1 ............. (complete) loading symbol table loading System Directory (boot.sys) to MFS ..... loading MFSFILES directory (bootfs) to MFS ..................... Launching /stand/vmunix SIZE: Text:41544K + Data:6397K + BSS:21890K = Total:69832K Console is on Serial Device Booting kernel... HP-UX will call firmware in physical-addressing mode Loaded ACPI revision 2.0 tables. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31154 MB 31154 MB 31154 MB Kernel : 31154 MB 31154 MB 31154 MB User : 29896 MB 26503 MB 26607 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_in stall) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1 /2/0 igelan1: INITIALIZING HP A6847-60101 PCI 1000Base-SX Adapter at hardware path 0/ 3/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 LVM: Root VG activated Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 The device file /dev/rroot does not exist or is not correct. Automatic checks of the root file system not performed. Create STCP device files Starting the STREAMS daemons-phase 2 $Revision: vmunix: B.11.31_LR FLAVOR=perf Memory Information: physical page size = 4096 bytes, logical page size = 4096 bytes Physical: 33538604 Kbytes, lockable: 25205756 Kbytes, available: 28681736 Kb ytes insf: Installing special files for sdisk instance 2 address 0/0/3/0.0.0.0 insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0 insf: Installing special files for sdisk instance 0 address 0/1/1/0.1.0 insf: Installing special files for esdisk instance 4 address 64000/0xfa00/0x2 insf: Installing special files for esdisk instance 3 address 64000/0xfa00/0x3 insf: Installing special files for esdisk instance 5 address 64000/0xfa00/0x4 ================================================================================ I just wanted to mention, the above output is after the system reboots itself. Joe Profaizer ================================================================================ Below is the output from when I "RS" the system and tried to reboot it on it's own: Loading.: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 Starting: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 (C) Copyright 1999-2006 Hewlett-Packard Development Company, L.P. All rights reserved HP-UX Boot Loader for IPF -- Revision 2.035 Press Any Key to interrupt Autoboot \EFI\HPUX\AUTO == boot vmunix Seconds left till autoboot - 0 AUTOBOOTING... System Memory = 32752 MB loading section 0 ................................................................................ .. (complete) loading section 1 ............. (complete) loading symbol table loading System Directory (boot.sys) to MFS ..... loading MFSFILES directory (bootfs) to MFS ..................... Launching /stand/vmunix SIZE: Text:41544K + Data:6397K + BSS:21890K = Total:69832K Console is on Serial Device Booting kernel... HP-UX will call firmware in physical-addressing mode Loaded ACPI revision 2.0 tables. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31154 MB 31154 MB 31154 MB Kernel : 31154 MB 31154 MB 31154 MB User : 29896 MB 26503 MB 26607 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0 igelan1: INITIALIZING HP A6847-60101 PCI 1000Base-SX Adapter at hardware path 0/3/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 LVM: Root VG activated Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 The device file /dev/rroot does not exist or is not correct. Automatic checks of the root file system not performed. Stored message buffer up to system crash: MFS is defined: base= 0xe000000101ba3000 size= 26788 KB Loaded ACPI revision 2.0 tables. MMIO on this platform supports Write Coalescing. MCA recovery subsystem disabled, not supported on this platform. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31154 MB 31154 MB 31154 MB Kernel : 31154 MB 31154 MB 31154 MB User : 29896 MB 26503 MB 26607 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 64000/0xfa00 esvroot Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. btlan_load() Loaded Successfully 0 sba 0/0 lba 0/0/1/0 asio0 0/0/1/1 asio0 0/0/2/0 UsbOhci 0/0/2/1 UsbOhci 0/0/2/2 UsbEhci 0/0/3/0 side_multi 0/0/3/0.0 side 0/0/3/0.1 side 0/0/3/0.0.0x0 estp 0/0/4/0 gvid_core 0/1 lba 0/1/1 pci_slot c8xx BUS: 2 SCSI C1010 Ultra Wide Single-Ended A6829-60101 assigned CPU: 0 0/1/1/0 c8xx c8xx BUS: 3 SCSI C1010 Ultra160 Wide LVD A6829-60101 assigned CPU: 3 0/1/1/1 c8xx 0/1/2 pci_slot 0/1/2/0 igelan 0/2 lba 0/2/1 pci_slot 0/1/1/0.0x6 estp 0/1/1/0.0x4 estp 0/1/1/0.0x6.0x0 eslpt 0/1/1/0.0x1 estp 0/1/1/0.0x4.0x0 eslpt 0/1/1/0.0x0 estp 0/1/1/0.6 tgt 0/1/1/0.6.0 stape 0/1/1/0.4 tgt 0/1/1/0.4.0 sctl 0/1/1/0.0x1.0x0 eslpt 0/1/1/0.0x0.0x0 eslpt 0/1/1/0.1 tgt 0/1/1/0.1.0 sdisk 0/1/1/0.0 tgt 0/1/1/0.0.0 sdisk 0/0/3/0.0.0x0.0x0 eslpt 0/0/3/0.0.0 tgt 0/0/3/0.0.0.0 sdisk td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 0/2/1/0 td 0/3 lba 0/3/1 pci_slot 0/3/2 pci_slot 0/3/2/0 igelan 0/4 lba 0/4/1 pci_slot 0/4/2 pci_slot 0/5 lba 0/5/1 pci_slot td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 0/5/1/0 td 120 processor 121 processor 122 processor 123 processor 250 pdh 250/0 ipmi 250/1 acpi_node 64000/0xfa00/0x0 estape 64000/0xfa00/0x1 esctl 64000/0xfa00/0x2 esdisk 64000/0xfa00/0x3 esdisk 64000/0xfa00/0x4 esdisk Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0 igelan1: INITIALIZING HP A6847-60101 PCI 1000Base-SX Adapter at hardware path 0/3/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 LVM: Root VG activated Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 Dump device table: (start & size given in 1-Kbyte blocks) entry 0000000000000000 - major is 3, minor is 0x2; start = 2349920, size = 8388608 VFS_MOUNTROOT error information: 0:(hfs) 22 1:(nfs) 223 6:(DevFS) 251 10:(vxfs) 28 11:(nfs3) 223 12:(nfs4) 223 13:(autofs) 251 16:(cifs) 223 18:(dnlc_neg_fs) 251 Message buffer contents after system crash: panic: VFS_MOUNTROOT: RDWR: all VFS_MOUNTROOTs failed: NEED DRIVERS ????? Stack Trace: IP Function Name 0xe00000000205f2e0 vfs_mountroot+0x6c0 0xe0000000017bbdf0 im_preinitrc+0x450 0xe000000002050f40 DoCalllist+0x390 End of Stack Trace linkstamp: Mon Feb 02 15:40:33 CST 2009 _release_version: @(#) $Revision: vmunix: B.11.31_LR FLAVOR=perf Calling function e0000000018a8100 for Shutdown State 1 type 0x2 i 0 pfn 0x1 pages 0x9f i 1 pfn 0x100 pages 0x3f096 i 2 pfn 0x3f680 pages 0xc i 3 pfn 0x100000 pages 0x6ffffe i 4 pfn 0x4040000 pages 0xbfe14 i 5 pfn 0x40ffe80 pages 0x138 *** Not enough CPUS for a compressed dump *** *** A system crash has occurred. (See the above messages for details.) *** The system is now preparing to dump physical memory to disk, for use *** in debugging the crash. *** The dump will be a SELECTIVE dump with compression OFF and concurrency ON: 2662 of 32753 megabytes. *** To change this dump type, press any key within 10 seconds. Patrick Wallek ================================================================================ What model server was the Ignite tape created on? What model server are you restoring it to? It is possible that there is too much different between the 2 servers for this to work. Joe Profaizer ================================================================================ They are both rx4640s. Steven E. Protter ================================================================================ Shalom, rx4640 to rx4640 should work. Either there is a problem with the image or there is a hardware difference that is confusing the restore. Maybe an add in NIC card. SEP Joe Profaizer ================================================================================ I'll look for a differences. Memory amounts and CPUs should not matter, correct? I think the source system has 8 CPUs and 64GB RAM and the target server has 4 CPUs and 32GB RAM. Could it be hanging on the external DAT when booting. Such DAT drive is what I use for the recovery. Joe Profaizer ================================================================================ The source system's internal system disk is 146GB and the target system's disk is 73GB. Would that be a big factor? The source vgdisplay only shows it using about 58GB total. # vgdisplay -v vg00 --- Volume groups --- VG Name /dev/vg00 VG Write Access read/write VG Status available Max LV 255 Cur LV 9 Open LV 9 Max PV 16 Cur PV 1 Act PV 1 Max PE per PV 4356 VGDA 2 PE Size (Mbytes) 32 Total PE 4347 Alloc PE 1791 Free PE 2556 Total PVG 0 Total Spare PVs 0 Total Spare PVs in use 0 VG Version 1.0 VG Max Size 2178g VG Max Extents 69696 --- Logical volumes --- LV Name /dev/vg00/lvol1 LV Status available/syncd LV Size (Mbytes) 1792 Current LE 56 Allocated PE 56 Used PV 1 LV Name /dev/vg00/lvol2 LV Status available/syncd LV Size (Mbytes) 8192 Current LE 256 Allocated PE 256 Used PV 1 LV Name /dev/vg00/lvol3 LV Status available/syncd LV Size (Mbytes) 1024 Current LE 32 Allocated PE 32 Used PV 1 LV Name /dev/vg00/lvol4 LV Status available/syncd LV Size (Mbytes) 512 Current LE 16 Allocated PE 16 Used PV 1 LV Name /dev/vg00/lvol5 LV Status available/syncd LV Size (Mbytes) 128 Current LE 4 Allocated PE 4 Used PV 1 LV Name /dev/vg00/lvol6 LV Status available/syncd LV Size (Mbytes) 7040 Current LE 220 Allocated PE 220 Used PV 1 LV Name /dev/vg00/lvol7 LV Status available/syncd LV Size (Mbytes) 4320 Current LE 135 Allocated PE 135 Used PV 1 LV Name /dev/vg00/lvol8 LV Status available/syncd LV Size (Mbytes) 8704 Current LE 272 Allocated PE 272 Used PV 1 LV Name /dev/vg00/lvol9 LV Status available/syncd LV Size (Mbytes) 25600 Current LE 800 Allocated PE 800 Used PV 1 --- Physical volumes --- PV Name /dev/disk/disk4_p2 PV Status available Total PE 4347 Free PE 2556 Autoswitch On Proactive Polling On I'm really stumped here....... sujit kumar singh ================================================================================ Hi If you are not able to boot from a Tape media you can upgade the system firmware to the rx4640. Other part is that can you boot the system in the LVM maintenance mode what does this show in LVM Maintenance mode boot. Does this Still show that /dev/rroot not valid or not found? Can you check from the MP of the both the Source as well as the Target rx4640 the system FW Level from MP MP CM MP:CM SYSREV If nit matchibng please upgrade the FW. Please try rebooting in LVM Maint Mode and tell what happens Regards Sujit Joe Profaizer ================================================================================ The firmware is indeed older on the target system. How do I go about upgrading the FW? Source system: [stldora4rmt] MP:CM sysrev SYSREV Current firmware revisions MP FW : E.03.32 BMC FW : 04.06 EFI FW : 05.48 System FW : 04.29 MX2 FW : CPU Module: | 0 | 1 | 2 | 3 | : PIC FW: | 01.73 | 01.73 | N/A | N/A | : DSP FW: | 01.23 | 01.23 | N/A | N/A | Target system: [stlpora4rmt] MP:CM sysrev SYSREV Current firmware revisions MP FW : E.02.26 BMC FW : 02.20 EFI FW : 01.10 System FW : 01.13 I also upgraded the ignite version on my source system, but now I have a mismatch from the install DVD and Ignite version: ERROR: The version of Ignite-UX on your tape (C.7.7.98) is different than the version of Ignite-UX on the media that the client booted (C.7.5.142). The versions must match in order to ensure correct behavior. Continuing th e installation with a tape version mismatch is likely to cause indeterminate prob lems. Do you want to continue anyway? (y/[n]): Should I upgrade the firmware, revert back to a matching Ignite version, then retry? sujit kumar singh ================================================================================ Hi Joe, 1) First of all i would like to boot the system in the LVM Maint Mode and see if something can be done: 2) for downloading the FW http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&c c=us&prodNameId=346361&prodTypeId=15351&prodSeriesId=88837&swLan g=13&taskId=135&swEnvOID=54 the Zip file you can download and extract that zip to get an iso image and write that iso image into a CD Media(you can use nero). This is a bootable CD and you can boot the rx4640 from this. for the installation installation Instructions: http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en &cc=us&prodTypeId=15351&prodSeriesId=88837&swItem=ux-58871-1& ;prodNameId=346361&swEnvOID=54&swLang=13&taskId=135&mode=4&i dx=0 3) What i shall right now suggest is that upgrade the FW of the rx4640 system and temporarily downgrade the Ignite version on the source and then try. regards sujit Joe Profaizer ================================================================================ Thanks. I have March 2008 DVD in the system. Can I simply start a fresh HP-UX install and will that upgrade my FW? It was the same distribution that I created my source system with. After the install, I can revert the ignite version and try to restore once again. sujit kumar singh ================================================================================ Hi You can do that, just felt a bit eager to know what happens if the system is booted in the Single user mode. you can go ahead and install 11.23 Sep 2008 Release that is OK. Just after uinstallation check if these 2 patches get installed. s700_800 11.23 rx4640 System, BMC and MP Firmware Patch PHSS_37894 s700_800 11.23 iLO MP Firmware for hp Integrity Servers PHSS_33094 The other thing i shall ask you as suggested before to try with an upgraded FW and lowered Igbite version to match the versoin on the DVD. OR Perhaps after the FW upgrade you can try directly booting from the Ignite Tape. Regards sujit Joe Profaizer ================================================================================ How do I upgrade the firmware with the install dvds (March 2008 11.31)? I loaded the OS from the installation CDs thinking that the firmware for the rx4640 would upgrade also? I thought I could bypass the downloads and make a DVD. Please advise. sujit kumar singh ================================================================================ hi Joe, for 11.31 you can download and install the following patch from the itrc. 11.31 rx4640 System, BMC and MP Firmware Patch PHSS_37895 Download that and you can see that this will update the system firmware once you install that using swinstall. Regards Sujit Joe Profaizer ================================================================================ OK. I have updated the firmware, but have the same result upon boot. I then tried to reboot while having the tape drive disconnected and the system crashed. Scsi(Pun1,Lun0) HP 73.4GST373453LC HPC4 (160 MBytes/sec) Loading.: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 Starting: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 (C) Copyright 1999-2006 Hewlett-Packard Development Company, L.P. All rights reserved HP-UX Boot Loader for IPF -- Revision 2.035 Press Any Key to interrupt Autoboot \EFI\HPUX\AUTO == boot vmunix Seconds left till autoboot - 0 AUTOBOOTING... System Memory = 32739 MB loading section 0 ................................................................................ .. (complete) loading section 1 ............. (complete) loading symbol table loading System Directory (boot.sys) to MFS ..... loading MFSFILES directory (bootfs) to MFS ..................... Launching /stand/vmunix SIZE: Text:41544K + Data:6397K + BSS:21890K = Total:69832K Console is on Serial Device - via PCDP Booting kernel... Loaded ACPI revision 2.0 tables. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31139 MB 31139 MB 31139 MB Kernel : 31139 MB 31139 MB 31139 MB User : 29880 MB 26490 MB 26593 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 LVM: Root VG activated Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 The device file /dev/rroot does not exist or is not correct. Automatic checks of the root file system not performed. Stored message buffer up to system crash: MFS is defined: base= 0xe000000101ba3000 size= 26788 KB Loaded ACPI revision 2.0 tables. MMIO on this platform supports Write Coalescing. MCA recovery subsystem disabled, not supported on this platform. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31139 MB 31139 MB 31139 MB Kernel : 31139 MB 31139 MB 31139 MB User : 29880 MB 26490 MB 26593 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 64000/0xfa00 esvroot Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. btlan_load() Loaded Successfully 0 sba 0/0 lba 0/0/1/0 asio0 0/0/1/1 asio0 0/0/2/0 UsbOhci 0/0/2/1 UsbOhci 0/0/2/2 UsbEhci 0/0/3/0 side_multi 0/0/3/0.0 side 0/0/3/0.1 side 0/0/3/0.0.0x0 estp 0/0/4/0 gvid_core 0/1 lba 0/1/1 pci_slot c8xx BUS: 2 SCSI C1010 Ultra160 Wide LVD A6829-60101 assigned CPU: 0 0/1/1/0 c8xx c8xx BUS: 3 SCSI C1010 Ultra160 Wide LVD A6829-60101 assigned CPU: 3 0/1/1/1 c8xx 0/1/2 pci_slot 0/1/2/0 igelan 0/2 lba 0/2/1 pci_slot 0/1/1/0.0x4 estp 0/1/1/0.0x4.0x0 eslpt 0/1/1/0.0x1 estp 0/1/1/0.0x0 estp 0/1/1/0.4 tgt 0/1/1/0.4.0 sctl 0/1/1/0.0x1.0x0 eslpt 0/1/1/0.1 tgt 0/1/1/0.1.0 sdisk 0/1/1/0.0x0.0x0 eslpt 0/1/1/0.0 tgt 0/1/1/0.0.0 sdisk 0/0/3/0.0.0x0.0x0 eslpt 0/0/3/0.0.0 tgt 0/0/3/0.0.0.0 sdisk td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 0/2/1/0 td 0/3 lba 0/3/1 pci_slot 0/3/2 pci_slot 0/4 lba 0/4/1 pci_slot 0/4/2 pci_slot 0/5 lba 0/5/1 pci_slot td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 0/5/1/0 td 120 processor 121 processor 122 processor 123 processor 250 pdh 250/0 ipmi 250/1 acpi_node 64000/0xfa00/0x1 esctl 64000/0xfa00/0x2 esdisk 64000/0xfa00/0x3 esdisk 64000/0xfa00/0x4 esdisk Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 LVM: Root VG activated Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 Dump device table: (start & size given in 1-Kbyte blocks) entry 0000000000000000 - major is 3, minor is 0x2; start = 2349920, size = 8388608 VFS_MOUNTROOT error information: 0:(hfs) 22 1:(nfs) 223 6:(DevFS) 251 10:(vxfs) 28 11:(nfs3) 223 12:(nfs4) 223 13:(autofs) 251 15:(cifs) 223 18:(dnlc_neg_fs) 251 Message buffer contents after system crash: panic: VFS_MOUNTROOT: RDWR: all VFS_MOUNTROOTs failed: NEED DRIVERS ????? Stack Trace: IP Function Name 0xe00000000205f2e0 vfs_mountroot+0x6c0 0xe0000000017bbdf0 im_preinitrc+0x450 0xe000000002050f40 DoCalllist+0x390 End of Stack Trace linkstamp: Mon Dec 22 09:35:26 CST 2008 _release_version: @(#) $Revision: vmunix: B.11.31_LR FLAVOR=perf Calling function e0000000018a8100 for Shutdown State 1 type 0x2 i 0 pfn 0x1 pages 0x9f i 1 pfn 0x100 pages 0x3de24 i 2 pfn 0x3e23c pages 0x2ec i 3 pfn 0x3fc00 pages 0x220 i 4 pfn 0x100000 pages 0x6ffffe i 5 pfn 0x4040000 pages 0xbeffe i 6 pfn 0x40ff000 pages 0xc4a i 7 pfn 0x40ffc84 pages 0x18e i 8 pfn 0x40ffe80 pages 0x162 *** Not enough CPUS for a compressed dump *** *** A system crash has occurred. (See the above messages for details.) *** The system is now preparing to dump physical memory to disk, for use *** in debugging the crash. *** The dump will be a SELECTIVE dump with compression OFF and concurrency ON: 2658 of 32740 megabytes. *** To change this dump type, press any key within 10 seconds. smatador ================================================================================ Hi, Maybe it's a issue with the image. On the source check the lvlnboot -v A thread about this sort of panic http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=271306 Joe Profaizer ================================================================================ # lvlnboot -v Boot Definitions for Volume Group /dev/vg00: Physical Volumes belonging in Root Volume Group: /dev/disk/disk4_p2 -- Boot Disk Boot: lvol1 on: /dev/disk/disk4_p2 Root: lvol3 on: /dev/disk/disk4_p2 Swap: lvol2 on: /dev/disk/disk4_p2 Dump: lvol2 on: /dev/disk/disk4_p2, 0 Current path "/dev/dsk/c11t0d0" is an alternate link, skip. Current path "/dev/dsk/c11t0d1" is an alternate link, skip. Current path "/dev/dsk/c15t0d2" is an alternate link, skip. I will now read the link you sent. I really appreciate your help. I get better response from you then HP Support. Joe Profaizer ================================================================================ So, I'm trying to restore the system again from the ignite tape, made sure I specifed DIFFERENT HARDWARE. Upon the reboot I am going to disconnect the Ignite tape drive to see if the system boots properly. I just have a suspicion it's hanging on this tape drive: Here's the progress so far: * Loading configuration utility... * Beginning installation from source: /dev/rmt/c3t6d0BEST ======= 01/31/09 04:56:44 EST Starting system configuration... * Configure_Disks: Begin * Mapping LUN Instance Data * Will install B.11.31 onto this system. [Read only - use Ctrl-Ecf for console write access.] [Read only - use Ctrl-Ecf for console write access.] * Creating LVM physical volume "/dev/rdisk/disk4_p2" (0/1/1/0.0x1.0x0). * Creating volume group "vg00". * Creating logical volume "vg00/lvol1" (/stand). * Creating logical volume "vg00/lvol2" (swap_dump). * Creating logical volume "vg00/lvol3" (/). * Creating logical volume "vg00/lvol4" (/tmp). * Creating logical volume "vg00/lvol5" (/home). * Creating logical volume "vg00/lvol6" (/opt). * Creating logical volume "vg00/lvol7" (/usr). * Creating logical volume "vg00/lvol8" (/var). * Creating logical volume "vg00/lvol9" (/orasys). * Extending logical volume "vg00/lvol1" (/stand). * Extending logical volume "vg00/lvol2" (swap_dump). * Extending logical volume "vg00/lvol3" (/). * Extending logical volume "vg00/lvol4" (/tmp). * Extending logical volume "vg00/lvol5" (/home). * Extending logical volume "vg00/lvol6" (/opt). * Extending logical volume "vg00/lvol7" (/usr). * Extending logical volume "vg00/lvol8" (/var). * Extending logical volume "vg00/lvol9" (/orasys). * Making VxFS filesystem for "/stand", (/dev/vg00/rlvol1). * Making VxFS filesystem for "/", (/dev/vg00/rlvol3). * Making VxFS filesystem for "/tmp", (/dev/vg00/rlvol4). * Making VxFS filesystem for "/home", (/dev/vg00/rlvol5). * Making VxFS filesystem for "/opt", (/dev/vg00/rlvol6). * Making VxFS filesystem for "/usr", (/dev/vg00/rlvol7). * Making VxFS filesystem for "/var", (/dev/vg00/rlvol8). * Making VxFS filesystem for "/orasys", (/dev/vg00/rlvol9). * Configure_Disks: Complete * Download_mini-system: Begin x ./usr/sbin/idisk, 149648 bytes, 293 tape blocks x ./sbin/fs/hfs/mkfs, 810544 bytes, 1584 tape blocks x ./sbin/fs/hfs/newfs, 653132 bytes, 1276 tape blocks x ./sbin/fs/vxfs/mkfs, 2763040 bytes, 5397 tape blocks x ./sbin/fs/vxfs/newfs, 685332 bytes, 1339 tape blocks x ./sbin/fs/vxfs5.0/mkfs, 3909760 bytes, 7637 tape blocks x ./sbin/fs/vxfs5.0/newfs, 2326040 bytes, 4544 tape blocks x ./sbin/mkfs symbolic link to ./fs_wrapper x ./sbin/newfs symbolic link to ./fs_wrapper x ./sbin/lib/mfsconfig.d/hfs, 984 bytes, 2 tape blocks x ./sbin/lib/mfsconfig.d/vxfs5.0, 3448 bytes, 7 tape blocks x ./sbin/fs_wrapper, 673216 bytes, 1315 tape blocks x ./sbin/sh, 1343360 bytes, 2624 tape blocks x ./usr/sbin/tunefs, 74716 bytes, 146 tape blocks x ./sbin/extendfs symbolic link to ./fs_wrapper x ./sbin/fs/vxfs5.0/extendfs, 3815968 bytes, 7454 tape blocks x ./sbin/lvchange symbolic link to ./lvm_wrapper x ./sbin/lvcreate symbolic link to ./lvm_wrapper x ./sbin/lvdisplay symbolic link to ./lvm_wrapper x ./sbin/lvextend symbolic link to ./lvm_wrapper x ./sbin/lvlnboot symbolic link to ./lvm_wrapper x ./sbin/lvreduce symbolic link to ./lvm_wrapper x ./sbin/lvremove symbolic link to ./lvm_wrapper x ./sbin/lvrmboot symbolic link to ./lvm_wrapper x ./sbin/pvchange symbolic link to ./lvm_wrapper x ./sbin/pvcreate symbolic link to ./lvm_wrapper x ./sbin/pvdisplay symbolic link to ./lvm_wrapper x ./sbin/pvmove symbolic link to ./lvm_wrapper x ./sbin/vgcfgbackup symbolic link to ./lvm_wrapper x ./sbin/vgcfgrestore symbolic link to ./lvm_wrapper x ./sbin/vgchange symbolic link to ./lvm_wrapper x ./sbin/vgcreate symbolic link to ./lvm_wrapper x ./sbin/vgdisplay symbolic link to ./lvm_wrapper x ./sbin/vgexport symbolic link to ./lvm_wrapper x ./sbin/vgextend symbolic link to ./lvm_wrapper x ./sbin/vgimport symbolic link to ./lvm_wrapper x ./sbin/vgreduce symbolic link to ./lvm_wrapper x ./sbin/vgremove symbolic link to ./lvm_wrapper x ./sbin/vgscan symbolic link to ./lvm_wrapper x ./sbin/pvck symbolic link to ./lvm_wrapper x ./sbin/lvmcmd, 3160272 bytes, 6173 tape blocks x ./sbin/lvm_wrapper, 1782476 bytes, 3482 tape blocks x ./usr/lbin/sysadm/create_sysfile, 1602 bytes, 4 tape blocks x ./usr/lbin/sysadm/check_dlkm_module, 4187 bytes, 9 tape blocks x ./usr/lbin/sysadm/system_prep, 10000 bytes, 20 tape blocks x ./usr/lbin/sysrev, 73396 bytes, 144 tape blocks x ./usr/lbin/fs/vxfs5.0/vxdump, 490928 bytes, 959 tape blocks x ./usr/lbin/fs/vxfs5.0/vxrestore, 544944 bytes, 1065 tape blocks x ./usr/lbin/sw/control_utils, 155389 bytes, 304 tape blocks x ./usr/lbin/swagent, 3321960 bytes, 6489 tape blocks x ./usr/lbin/krs_file_reader, 19204 bytes, 38 tape blocks x ./usr/lbin/krs_print, 25012 bytes, 49 tape blocks x ./usr/lib/uxbootlf, 707584 bytes, 1382 tape blocks x ./usr/lib/efi/EFI/HPUX/hpux.efi, 654025 bytes, 1278 tape blocks x ./usr/lib/efi/EFI/HPUX/nbp.efi, 24576 bytes, 48 tape blocks x ./usr/lib/efi/EFI/Intel_Firmware/fpswa.efi, 328192 bytes, 641 tape blocks x ./usr/lib/efi/EFI/hp/tools/network/README.network, 1121 bytes, 3 tape blocks x ./usr/lib/efi/EFI/hp/tools/network/ftp.efi, 449024 bytes, 877 tape blocks x ./usr/lib/efi/EFI/hp/tools/network/ifconfig.efi, 307712 bytes, 601 tape blocks x ./usr/lib/efi/EFI/hp/tools/network/inet.nsh, 962 bytes, 2 tape blocks x ./usr/lib/efi/EFI/hp/tools/network/ping.efi, 302080 bytes, 590 tape blocks x ./usr/lib/efi/EFI/hp/tools/network/route.efi, 316928 bytes, 619 tape blocks x ./usr/lib/efi/EFI/hp/tools/network/tcpipv4.efi, 536064 bytes, 1047 tape blocks x ./usr/lib/efi/startup.nsh, 296 bytes, 1 tape blocks x ./usr/lib/libc.2, 1503232 bytes, 2936 tape blocks x ./usr/lib/libdld.1, 12288 bytes, 24 tape blocks x ./usr/lib/libdld.2, 20480 bytes, 40 tape blocks x ./usr/lib/libdld.sl symbolic link to ./libdld.2 x ./usr/lib/libelf.2, 102400 bytes, 200 tape blocks x ./usr/lib/libnss_files.1, 45056 bytes, 88 tape blocks x ./usr/lib/hpux32/aries32.so, 2358572 bytes, 4607 tape blocks x ./usr/lib/hpux32/dld.so, 925800 bytes, 1809 tape blocks x ./usr/lib/hpux32/libCsup.so.1, 385368 bytes, 753 tape blocks x ./usr/lib/hpux32/libc.so.1, 3653292 bytes, 7136 tape blocks x ./usr/lib/hpux32/libcl.so symbolic link to ./libcl.so.1 x ./usr/lib/hpux32/libcl.so.1, 67640 bytes, 133 tape blocks x ./usr/lib/hpux32/libdl.so.1, 76704 bytes, 150 tape blocks x ./usr/lib/hpux32/libelf.so.1, 252056 bytes, 493 tape blocks x ./usr/lib/hpux32/libgen.so.1, 73400 bytes, 144 tape blocks x ./usr/lib/hpux32/libm.so symbolic link to ./libm.so.1 x ./usr/lib/hpux32/libm.so.1, 1544708 bytes, 3018 tape blocks x ./usr/lib/hpux32/libnss_files.so.1, 145188 bytes, 284 tape blocks x ./usr/lib/hpux32/libpthread.so.1, 1163296 bytes, 2273 tape blocks x ./usr/lib/hpux32/libsec.so.1, 380976 bytes, 745 tape blocks x ./usr/lib/hpux32/libsin.so symbolic link to ./libsin.so.1 x ./usr/lib/hpux32/libsin.so.1, 69684 bytes, 137 tape blocks x ./usr/lib/hpux32/libstd.so.1, 211668 bytes, 414 tape blocks x ./usr/lib/hpux32/libstd_v2.so.1, 1759444 bytes, 3437 tape blocks x ./usr/lib/hpux32/libstream.so.1, 423524 bytes, 828 tape blocks x ./usr/lib/hpux32/libuca.so.1, 69860 bytes, 137 tape blocks x ./usr/lib/hpux32/libunwind.so.1, 360672 bytes, 705 tape blocks x ./usr/lib/hpux32/libvparusr.so.1, 141360 bytes, 277 tape blocks x ./usr/lib/hpux32/libxcurses.so.1, 951880 bytes, 1860 tape blocks x ./usr/lib/hpux32/pa_boot32.so, 137980 bytes, 270 tape blocks x ./usr/lib/hpux32/uld.so, 110700 bytes, 217 tape blocks x ./usr/lib/hpux32/libJudy.so, 410064 bytes, 801 tape blocks x ./usr/lib/hpux32/libnsl.so.1, 1096944 bytes, 2143 tape blocks x ./usr/lib/hpux32/libnss_dns.so.1, 70688 bytes, 139 tape blocks x ./usr/lib/hpux32/librpcsvc.so.1, 80944 bytes, 159 tape blocks x ./usr/lib/hpux32/libxti.so.1, 234044 bytes, 458 tape blocks x ./usr/lib/hpux32/libdcekt.so symbolic link to ./libdcekt.so.1 x ./usr/lib/hpux32/libdcekt.so.1, 10337812 bytes, 20192 tape blocks x ./usr/lib/hpux32/libgss.so, 233016 bytes, 456 tape blocks x ./usr/lib/hpux32/libcom_err.so symbolic link to ./libcom_err.so.1 x ./usr/lib/hpux32/libcom_err.so.1, 73384 bytes, 144 tape blocks x ./usr/lib/hpux32/libk5crypto.so symbolic link to ./libk5crypto.so.1 x ./usr/lib/hpux32/libk5crypto.so.1, 402788 bytes, 787 tape blocks x ./usr/lib/hpux32/libkrb5.so symbolic link to ./libkrb5.so.1 x ./usr/lib/hpux32/libkrb5.so.1, 1282672 bytes, 2506 tape blocks x ./usr/lib/hpux32/libevm.so symbolic link to ./libevm.so.1 x ./usr/lib/hpux32/libevm.so.1, 452008 bytes, 883 tape blocks x ./usr/lib/libc.1, 1523712 bytes, 2976 tape blocks x ./usr/lib/libcurses.1, 155648 bytes, 304 tape blocks x ./usr/lib/libpthread.1, 499712 bytes, 976 tape blocks x ./usr/lib/libsec.2, 159744 bytes, 312 tape blocks x ./usr/lib/nls/msg/C/cpp.cat, 11271 bytes, 23 tape blocks x ./usr/lib/nls/msg/C/dcerpc.cat, 13755 bytes, 27 tape blocks x ./usr/lib/libnsl.1, 479232 bytes, 936 tape blocks x ./usr/lib/libnsl.sl symbolic link to ./libnsl.1 x ./usr/lib/libxti.2, 106496 bytes, 208 tape blocks x ./usr/lib/sw/ui/C/smc_addhost.ui, 2571 bytes, 6 tape blocks x ./usr/lib/sw/ui/C/smc_analyze.ui, 4663 bytes, 10 tape blocks x ./usr/lib/sw/ui/C/smc_bundles.ui, 1775 bytes, 4 tape blocks x ./usr/lib/sw/ui/C/smc_chgloc.ui, 3634 bytes, 8 tape blocks x ./usr/lib/sw/ui/C/smc_defs.h, 24742 bytes, 49 tape blocks x ./usr/lib/sw/ui/C/smc_depend.ui, 2824 bytes, 6 tape blocks x ./usr/lib/sw/ui/C/smc_details.ui, 3990 bytes, 8 tape blocks x ./usr/lib/sw/ui/C/smc_dsa.ui, 8100 bytes, 16 tape blocks x ./usr/lib/sw/ui/C/smc_init.ui, 708 bytes, 2 tape blocks x ./usr/lib/sw/ui/C/smc_install.ui, 4018 bytes, 8 tape blocks x ./usr/lib/sw/ui/C/smc_jobopts.ui, 116062 bytes, 227 tape blocks x ./usr/lib/sw/ui/C/smc_jobs.ui, 20222 bytes, 40 tape blocks x ./usr/lib/sw/ui/C/smc_list.ui, 1962 bytes, 4 tape blocks x ./usr/lib/sw/ui/C/smc_menudefs.h, 1792 bytes, 4 tape blocks x ./usr/lib/sw/ui/C/smc_options.ui, 5889 bytes, 12 tape blocks x ./usr/lib/sw/ui/C/smc_patch.ui, 2527 bytes, 5 tape blocks x ./usr/lib/sw/ui/C/smc_remove.ui, 3289 bytes, 7 tape blocks x ./usr/lib/sw/ui/C/smc_rmsourc.ui, 2411 bytes, 5 tape blocks x ./usr/lib/sw/ui/C/smc_sched.ui, 4591 bytes, 9 tape blocks x ./usr/lib/sw/ui/C/smc_selalt.ui, 2804 bytes, 6 tape blocks x ./usr/lib/sw/ui/C/smc_seldpt.ui, 2404 bytes, 5 tape blocks x ./usr/lib/sw/ui/C/smc_session.ui, 2180 bytes, 5 tape blocks x ./usr/lib/sw/ui/C/smc_softinf.ui, 5653 bytes, 12 tape blocks x ./usr/lib/sw/ui/C/smc_softwar.ui, 18847 bytes, 37 tape blocks x ./usr/lib/sw/ui/C/smc_source.ui, 4902 bytes, 10 tape blocks x ./usr/lib/sw/ui/C/smc_targets.ui, 12190 bytes, 24 tape blocks x ./usr/lib/sw/ui/C/smc_task.ui, 5805 bytes, 12 tape blocks x ./usr/lib/sw/help/C/sduhelp.hv, 28436 bytes, 56 tape blocks x ./usr/lib/sw/help/C/sduhelp.hvk, 5145 bytes, 11 tape blocks x ./usr/lib/sw/help/C/sduhelp00.ht, 215428 bytes, 421 tape blocks x ./usr/lib/sw/help/C/sduhelp01.ht, 14210 bytes, 28 tape blocks x ./usr/lib/libM.1 symbolic link to ./libm.1 x ./usr/lib/libm.1, 98773 bytes, 193 tape blocks x ./usr/lib/libm.2, 188416 bytes, 368 tape blocks x ./usr/lib/libcma.1, 466944 bytes, 912 tape blocks x ./usr/lib/libcma.2, 487424 bytes, 952 tape blocks x ./usr/lib/libcma.sl symbolic link to ./libcma.2 x ./usr/lib/libd4r.1, 45056 bytes, 88 tape blocks x ./usr/lib/libd4r.sl symbolic link to ./libd4r.1 x ./usr/lib/libdce.1, 4235264 bytes, 8272 tape blocks x ./usr/lib/libdce.2, 4313088 bytes, 8424 tape blocks x ./usr/lib/libdce.sl symbolic link to ./libdce.2 x ./usr/lib/libdcekt.1, 4550656 bytes, 8888 tape blocks x ./usr/lib/dld.sl, 270336 bytes, 528 tape blocks x ./usr/lib/libsmapi.so.2, 167224 bytes, 327 tape blocks x ./usr/sbin/mk_kernel, 3117 bytes, 7 tape blocks x ./usr/sbin/kconfig, 830000 bytes, 1622 tape blocks x ./usr/sbin/insf symbolic link to /sbin/mksf x ./usr/sbin/ioinit symbolic link to /sbin/ioinit x ./usr/sbin/ioscan symbolic link to /sbin/ioscan x ./usr/sbin/mknod symbolic link to /sbin/mknod x ./usr/sbin/mount symbolic link to /sbin/mount x ./usr/sbin/reboot symbolic link to /sbin/reboot x ./usr/sbin/umount symbolic link to /sbin/umount x ./usr/sbin/devnm, 69360 bytes, 136 tape blocks x ./usr/sbin/diskinfo, 78620 bytes, 154 tape blocks x ./usr/sbin/setboot, 230072 bytes, 450 tape blocks x ./usr/sbin/swapon, 81060 bytes, 159 tape blocks x ./usr/sbin/chroot, 69196 bytes, 136 tape blocks x ./usr/sbin/efi_cp, 228328 bytes, 446 tape blocks x ./usr/sbin/efi_fsinit, 158292 bytes, 310 tape blocks x ./usr/sbin/efi_ls, 159248 bytes, 312 tape blocks x ./usr/sbin/efi_mkdir, 160152 bytes, 313 tape blocks x ./usr/sbin/efi_rm, 158768 bytes, 311 tape blocks x ./usr/sbin/efi_rmdir, 158856 bytes, 311 tape blocks x ./usr/sbin/rvxdump symbolic link to /usr/lbin/fs/vxfs/vxdump x ./usr/sbin/rvxrestore symbolic link to /usr/lbin/fs/vxfs/vxrestore x ./usr/sbin/vxdump symbolic link to /usr/lbin/fs/vxfs/vxdump x ./usr/sbin/vxrestore symbolic link to /usr/lbin/fs/vxfs/vxrestore x ./usr/sbin/swagentd, 1182936 bytes, 2311 tape blocks x ./usr/sbin/swacl, 4591176 bytes, 8968 tape blocks ./usr/sbin/swconfig linked to ./usr/sbin/swacl ./usr/sbin/swcopy linked to ./usr/sbin/swacl ./usr/sbin/swinstall linked to ./usr/sbin/swacl ./usr/sbin/swlist linked to ./usr/sbin/swacl x ./usr/sbin/swmodify, 2549500 bytes, 4980 tape blocks ./usr/sbin/swpackage linked to ./usr/sbin/swmodify ./usr/sbin/swreg linked to ./usr/sbin/swacl ./usr/sbin/swremove linked to ./usr/sbin/swacl ./usr/sbin/swverify linked to ./usr/sbin/swacl x ./usr/bin/lifcp, 155640 bytes, 304 tape blocks x ./usr/bin/lifls, 81300 bytes, 159 tape blocks x ./usr/bin/lifrm, 82696 bytes, 162 tape blocks x ./usr/bin/getopts, 163 bytes, 1 tape blocks x ./usr/bin/basename, 69084 bytes, 135 tape blocks x ./usr/bin/chgrp, 70816 bytes, 139 tape blocks x ./usr/bin/cmp, 69616 bytes, 136 tape blocks x ./usr/bin/cp, 74832 bytes, 147 tape blocks x ./usr/bin/cut, 70088 bytes, 137 tape blocks x ./usr/bin/dd, 71312 bytes, 140 tape blocks x ./usr/bin/dirname, 69016 bytes, 135 tape blocks x ./usr/bin/egrep, 70732 bytes, 139 tape blocks x ./usr/bin/expr, 71192 bytes, 140 tape blocks x ./usr/bin/false, 68788 bytes, 135 tape blocks ./usr/bin/fgrep linked to ./usr/bin/egrep ./usr/bin/grep linked to ./usr/bin/egrep x ./usr/bin/hostname, 69212 bytes, 136 tape blocks x ./usr/bin/kill, 70012 bytes, 137 tape blocks x ./usr/bin/ln, 70828 bytes, 139 tape blocks x ./usr/bin/model, 72824 bytes, 143 tape blocks x ./usr/bin/ps, 140692 bytes, 275 tape blocks x ./usr/bin/pwd, 69396 bytes, 136 tape blocks x ./usr/bin/rm, 73696 bytes, 144 tape blocks ./usr/bin/rmdir linked to ./usr/bin/rm x ./usr/bin/sed, 138204 bytes, 270 tape blocks x ./usr/bin/sort, 140340 bytes, 275 tape blocks x ./usr/bin/tar, 146032 bytes, 286 tape blocks x ./usr/bin/touch, 69800 bytes, 137 tape blocks x ./usr/bin/true, 68784 bytes, 135 tape blocks x ./usr/bin/ttytype, 71032 bytes, 139 tape blocks x ./usr/bin/wc, 69684 bytes, 137 tape blocks x ./usr/bin/compress, 72316 bytes, 142 tape blocks x ./usr/bin/ed, 150652 bytes, 295 tape blocks x ./usr/bin/find, 146612 bytes, 287 tape blocks x ./usr/bin/getopt, 69348 bytes, 136 tape blocks x ./usr/bin/id, 69840 bytes, 137 tape blocks x ./usr/bin/more, 221532 bytes, 433 tape blocks x ./usr/bin/tail, 71596 bytes, 140 tape blocks ./usr/bin/uncompress linked to ./usr/bin/compress ./usr/bin/zcat linked to ./usr/bin/compress x ./usr/bin/bdf, 70780 bytes, 139 tape blocks x ./usr/bin/diff, 140704 bytes, 275 tape blocks x ./usr/bin/mt, 75944 bytes, 149 tape blocks x ./usr/bin/ftp, 347516 bytes, 679 tape blocks x ./usr/bin/rcp, 143792 bytes, 281 tape blocks x ./usr/bin/remsh, 139636 bytes, 273 tape blocks x ./usr/bin/ex, 719708 bytes, 1406 tape blocks ./usr/bin/vi linked to ./usr/bin/ex x ./usr/bin/uname, 565088 bytes, 1104 tape blocks x ./usr/share/lib/terminfo/h/hp, 1448 bytes, 3 tape blocks x ./usr/share/lib/terminfo/v/vt100, 1358 bytes, 3 tape blocks x ./usr/share/lib/terminfo/v/vt220, 1570 bytes, 4 tape blocks x ./usr/share/lib/terminfo/w/wy60, 1673 bytes, 4 tape blocks x ./usr/conf/gen/templates/generic, 552 bytes, 2 tape blocks x ./usr/ccs/lbin/cpp, 279692 bytes, 547 tape blocks x ./usr/obam/lbin/gethelp, 1245184 bytes, 2432 tape blocks x ./usr/obam/lbin/ui_exec, 26112 bytes, 51 tape blocks x ./usr/obam/lib/libIDMawrt.1, 2682880 bytes, 5240 tape blocks x ./usr/obam/lib/libIDMawrt.sl symbolic link to ./libIDMawrt.1 x ./usr/obam/lib/libobam.1, 1040384 bytes, 2032 tape blocks x ./usr/obam/lib/libobam.sl symbolic link to ./libobam.1 x ./usr/obam/lib/obam_aw.dmb, 35365 bytes, 70 tape blocks x ./usr/obam/lib/libIDMawrt.so.1, 4750516 bytes, 9279 tape blocks x ./usr/obam/lib/libobam.so symbolic link to ./libobam.so.1 x ./usr/obam/lib/libobam.so.1, 1954216 bytes, 3817 tape blocks x ./usr/obam/lib/obam_aw_ia.dmb, 35899 bytes, 71 tape blocks x ./usr/obam/lib/help/C/ui/ui.sdl, 80960 bytes, 159 tape blocks x ./usr/contrib/bin/gunzip, 218692 bytes, 428 tape blocks ./usr/contrib/bin/gzip linked to ./usr/contrib/bin/gunzip x ./usr/sam/lbin/cmenu, 1973752 bytes, 3855 tape blocks x ./usr/sam/lib/hpux32/libsysmgmt.so, 998652 bytes, 1951 tape blocks x ./sbin/fs/cdfs/umount symbolic link to /sbin/fs/hfs/umount x ./sbin/fs/cdfs/mount, 655384 bytes, 1281 tape blocks x ./sbin/fs/cdfs/statvfsdev, 628748 bytes, 1229 tape blocks x ./sbin/fs/fsdaemon, 1616512 bytes, 3158 tape blocks x ./sbin/fs/hfs/fsck, 884860 bytes, 1729 tape blocks x ./sbin/fs/hfs/mount, 655936 bytes, 1282 tape blocks x ./sbin/fs/hfs/statvfsdev, 628144 bytes, 1227 tape blocks x ./sbin/fs/hfs/umount, 567832 bytes, 1110 tape blocks x ./sbin/fs/vxfs/fsck, 3279352 bytes, 6405 tape blocks x ./sbin/fs/vxfs/mount, 2695052 bytes, 5264 tape blocks x ./sbin/fs/vxfs/statvfsdev, 823304 bytes, 1609 tape blocks x ./sbin/fs/vxfs/umount symbolic link to /sbin/fs/hfs/umount x ./sbin/fs/vxfs5.0/fsck, 4538224 bytes, 8864 tape blocks x ./sbin/fs/vxfs5.0/mount, 3857924 bytes, 7536 tape blocks x ./sbin/fs/vxfs5.0/statvfsdev, 2352504 bytes, 4595 tape blocks x ./sbin/fsck symbolic link to ./fs_wrapper x ./sbin/awk, 1198048 bytes, 2340 tape blocks x ./sbin/cat, 644408 bytes, 1259 tape blocks x ./sbin/chmod, 637392 bytes, 1245 tape blocks x ./sbin/chown, 717148 bytes, 1401 tape blocks x ./sbin/date, 712752 bytes, 1393 tape blocks x ./sbin/frecover, 906888 bytes, 1772 tape blocks x ./sbin/init, 1890708 bytes, 3693 tape blocks x ./sbin/insf, 1224216 bytes, 2392 tape blocks x ./sbin/ioinit, 818212 bytes, 1599 tape blocks x ./sbin/ioscan, 1090292 bytes, 2130 tape blocks x ./sbin/krsd, 715300 bytes, 1398 tape blocks x ./sbin/ls, 789344 bytes, 1542 tape blocks x ./sbin/mkboot, 817128 bytes, 1596 tape blocks x ./sbin/mkdir, 638056 bytes, 1247 tape blocks x ./sbin/mknod, 565988 bytes, 1106 tape blocks x ./sbin/mount, 739140 bytes, 1444 tape blocks x ./sbin/mv, 654932 bytes, 1280 tape blocks x ./sbin/pax, 1167592 bytes, 2281 tape blocks x ./sbin/reboot, 750064 bytes, 1465 tape blocks x ./sbin/stty, 644188 bytes, 1259 tape blocks x ./sbin/umount, 655260 bytes, 1280 tape blocks x ./sbin/restore, 816348 bytes, 1595 tape blocks x ./etc/opt/swm/swm.conf.template, 40352 bytes, 79 tape blocks x ./etc/group, 184 bytes, 1 tape blocks x ./etc/passwd, 332 bytes, 1 tape blocks x ./etc/magic, 9014 bytes, 18 tape blocks x ./etc/nfssec.conf, 1209 bytes, 3 tape blocks x ./etc/hosts, 486 bytes, 1 tape blocks x ./etc/services, 12275 bytes, 24 tape blocks x ./etc/inetsvcs.conf, 15 bytes, 1 tape blocks x ./etc/nsswitch.conf, 382 bytes, 1 tape blocks x ./opt/swm/lib/libexpat.COPYING, 1346 bytes, 3 tape blocks x ./opt/swm/lib/libexpat.so.5, 378484 bytes, 740 tape blocks x ./opt/ignite/share/man/man1m.Z/print_manifest.1m, 1428 bytes, 3 tape blocks x ./opt/ignite/binia/print_manifest, 146300 bytes, 286 tape blocks x ./opt/ignite/bin symbolic link to /opt/ignite/binia x ./opt/swm.iux/TUI/OEoverview.cmu, 5664 bytes, 12 tape blocks x ./opt/swm.iux/TUI/OEoverview.init, 557 bytes, 2 tape blocks x ./opt/swm.iux/TUI/TUIController, 48183 bytes, 95 tape blocks x ./opt/swm.iux/TUI/addServer.sh, 1296 bytes, 3 tape blocks x ./opt/swm.iux/TUI/chSWView.cmu, 3705 bytes, 8 tape blocks x ./opt/swm.iux/TUI/changeOption.sh, 330 bytes, 1 tape blocks x ./opt/swm.iux/TUI/formatTree.sh, 2122 bytes, 5 tape blocks x ./opt/swm.iux/TUI/getHelp, 1711 bytes, 4 tape blocks x ./opt/swm.iux/TUI/help.cmu, 3115 bytes, 7 tape blocks x ./opt/swm.iux/TUI/jobMgmt.cmu, 2307 bytes, 5 tape blocks x ./opt/swm.iux/TUI/launch.cmu, 1497 bytes, 3 tape blocks x ./opt/swm.iux/TUI/logView.cmu, 2930 bytes, 6 tape blocks x ./opt/swm.iux/TUI/logView.init, 181 bytes, 1 tape blocks x ./opt/swm.iux/TUI/openSource.cmu, 10198 bytes, 20 tape blocks x ./opt/swm.iux/TUI/openSource.init, 4790 bytes, 10 tape blocks x ./opt/swm.iux/TUI/optionHelp.cmu, 2068 bytes, 5 tape blocks x ./opt/swm.iux/TUI/pickOE.cmu, 10106 bytes, 20 tape blocks x ./opt/swm.iux/TUI/pickOE.init, 874 bytes, 2 tape blocks x ./opt/swm.iux/TUI/reboot.cmu, 1929 bytes, 4 tape blocks x ./opt/swm.iux/TUI/resumeSavedJob.cmu, 924 bytes, 2 tape blocks x ./opt/swm.iux/TUI/setOptions.cmu, 2196 bytes, 5 tape blocks x ./opt/swm.iux/TUI/uimsg, 18691152 bytes, 36507 tape blocks x ./opt/swm.iux/TUI/updatePrep, 2728 bytes, 6 tape blocks x ./opt/swm.iux/TUI/viewSW.cmu, 5474 bytes, 11 tape blocks x ./opt/swm.iux/TUI/viewSW.init, 1800 bytes, 4 tape blocks x ./opt/swm.iux/bin/swm, 19731720 bytes, 38539 tape blocks x ./opt/swm.iux/lbin/smdcmd, 23880 bytes, 47 tape blocks x ./opt/swm.iux/help/C/OEoverview.txt, 2504 bytes, 5 tape blocks x ./opt/swm.iux/help/C/chSWView.txt, 3835 bytes, 8 tape blocks x ./opt/swm.iux/help/C/help.txt, 2120 bytes, 5 tape blocks x ./opt/swm.iux/help/C/jobMgmt.txt, 2078 bytes, 5 tape blocks x ./opt/swm.iux/help/C/launch.txt, 3442 bytes, 7 tape blocks x ./opt/swm.iux/help/C/logView.txt, 3892 bytes, 8 tape blocks x ./opt/swm.iux/help/C/openSource.txt, 3548 bytes, 7 tape blocks x ./opt/swm.iux/help/C/optionHelp.txt, 1045 bytes, 3 tape blocks x ./opt/swm.iux/help/C/pickOE.txt, 3688 bytes, 8 tape blocks x ./opt/swm.iux/help/C/reboot.txt, 1537 bytes, 4 tape blocks x ./opt/swm.iux/help/C/setOptions.txt, 1968 bytes, 4 tape blocks x ./opt/swm.iux/help/C/viewSW-install.txt, 4319 bytes, 9 tape blocks x ./opt/swm.iux/help/C/viewSW-oeupdate.txt, 4476 bytes, 9 tape blocks x ./var/opt/ignite/local/manifest/template.def, 14441 bytes, 29 tape blocks x ./var/adm/sw/security/_ACL, 40 bytes, 1 tape blocks x ./var/adm/sw/security/_OWNER, 62 bytes, 1 tape blocks x ./var/adm/sw/security/_PROD_DFLT_ACL, 55 bytes, 1 tape blocks x ./var/adm/sw/security/_SOC_DFLT_ACL, 55 bytes, 1 tape blocks x ./var/adm/sw/security/secrets, 15 bytes, 1 tape blocks x ./var/adm/sw/defaults, 1383 bytes, 3 tape blocks x ./dev/config, 0 bytes, 0 blocks, character device x ./dev/null, 0 bytes, 0 blocks, character device x ./dev/console, 0 bytes, 0 blocks, character device x ./dev/kmem, 0 bytes, 0 blocks, character device x ./dev/mem, 0 bytes, 0 blocks, character device x ./dev/rroot, 0 bytes, 0 blocks, character device x ./dev/root, 0 bytes, 0 blocks, character device x ./dev/tty, 0 bytes, 0 blocks, character device x ./dev/syscon, 0 bytes, 0 blocks, character device x ./dev/systty, 0 bytes, 0 blocks, character device x ./tmp/set_locale, 3305 bytes, 7 tape blocks x ./configure3, 2961760 bytes, 5785 tape blocks x ./monitor_bpr, 2275312 bytes, 4444 tape blocks * Download_mini-system: Complete * Loading_software: Begin [Read only - use Ctrl-Ecf for console write access.] * Installing boot area on disk. [Read only - use Ctrl-Ecf for console write access.] * Formatting HP Service Partition. * Enabling swap areas. * Backing up LVM configuration for "vg00". * Processing the archive source (Recovery Archive). * Sat Jan 31 05:03:46 EST 2009: Starting archive load of the source (Recovery Archive). * Positioning the tape (/dev/rmt/c3t6d0BESTn). * Looking for Archive... * Found the Archive Position. Now load the Archive. * Archive extraction from tape is beginning. Please wait. Joe Profaizer ================================================================================ Latest update: System is now rebooting and I disconnected the tape device: * Sat Jan 31 05:57:06 EST 2009: Completed archive load of the source (Recovery Archive). * Executing user specified script: "/opt/ignite/data/scripts/os_arch_post_l". * Running in recovery mode (os_arch_post_l). * Relocating RAM filesystems. * Running the ioinit command ("/sbin/ioinit -c") * Creating device files via the insf command. insf: Installing special files for sdisk instance 2 address 0/0/3/0.0.0.0 insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0 insf: Installing special files for sdisk instance 0 address 0/1/1/0.1.0 insf: Installing special files for esdisk instance 4 address 64000/0xfa00/0x1 insf: Installing special files for esdisk instance 3 address 64000/0xfa00/0x2 insf: Installing special files for esdisk instance 5 address 64000/0xfa00/0x4 insf: Installing special files for stape instance 0 address 0/1/1/1.6.0 insf: Installing special files for estape instance 1 address 64000/0xfa00/0x3 insf: Installing special files for pseudo driver dlpi insf: Installing special files for pseudo driver kepd insf: Installing special files for pseudo driver framebuf insf: Installing special files for pseudo driver sad * Creating the system file. Creating your system file in the file /tmp/ign_configure/tstand.system * Constructing the bootconf file. * Setting primary boot path to "0/1/1/0.0x1.0x0". Primary boot path set to 0/1/1/0.0x1.0x0 (/dev/rdisk/disk4) * Executing: "/var/adm/sw/products/OS-Core/CORE-SHLIBS/iux_postload". * Running: /var/adm/sw/products/OS-Core/CORE-SHLIBS/postinstall * Executing: "/var/adm/sw/products/OS-Core/CORE2-KRN/iux_postload". * Executing: "/var/adm/sw/products/OS-Core/CORE-KRN/iux_postload". * Executing: "/var/adm/sw/products/FC-FCD/FC-FCD-KRN/iux_postload". * Loading_software: Complete ======= 01/31/09 04:57:22 CST Building the new kernel. * Build_Kernel: Begin * Building a new kernel using the command: "/usr/sbin/mk_kernel -f -o /stand/vmunix". * The currently running configuration has been imported from '/stand/system'. * Build_Kernel: Complete * Boot_From_Client_Disk: Begin WARNING: failed to remove(/dev/deviceFileSystem): File exists (errno = 17) ======= 01/31/09 04:57:43 CST Rebooting machine as expected. NOTE: Rebooting system. [Read only - use Ctrl-Ecf for console write access.] Calling function e000000001c9c480 for Shutdown State 1 type 0x1 sync'ing disks (0 buffers to flush): 0 fcache pages still dirty 0 buffers not flushed 0 buffers still dirty Calling function e000000002838940 for Shutdown State 5 type 0x1 Calling function e000000001f019f0 for Shutdown State 5 type 0x1 Closing open logical volumes... Done *********************************************************** * ROM Version : 04.29 * ROM Date : 12/10/2007 * BMC Version : 04.06 *********************************************************** 0 0 0x0015B2 0x0000000021751696 boot time event 1 0 0x0000A4 0x0000000000000000 start memory configuration 0 0 0x0015B2 0x0000000057290046 boot time event 1 0 0x000014 0x0000000000000000 CPU0 starting cell relocation 1 0 0x000009 0x0000000000000000 CPU0 launch EFI EFI version 1.10 [14.62] EFI64 Running on Intel(R) Itanium Processor Family EFI 1.10 IPF server rx4640 5.48 [Thu Nov 10 15:08:03 2005] firmware by HP Loading 'SysROM:Floating-Point Software Assistance Handler'... -- 'SysROM:Floating-Point Software Assistance Handler' returned Success Loading 'SysROM:Broadcom Gigabit Ethernet Driver'... Copyright (c) 2000-2005 Broadcom Corporation Broadcom NetXtreme Gigabit Ethernet EFI driver v7.0.10 -- 'SysROM:Broadcom Gigabit Ethernet Driver' returned Success Loading 'SysROM:SCSI Bus Driver'... -- 'SysROM:SCSI Bus Driver' returned Success Loading 'SysROM:SCSI Tape Driver'... -- 'SysROM:SCSI Tape Driver' returned Success Loading device drivers EFI Boot Manager ver 1.10 [14.62] OS might use only the primary console set via boot manager or conconfig command /----------------------------------\ /----------------------------------\ | System Overview | | Boot Menu | | hp server rx4640 | | HP-UX Primary Boot: 0/1/1/0.... | | Serial #: USE4414736 | | Core LAN Gb A | | | | EFI Shell [Built-in] | | System Firmware: 4.29 [4750] | | Boot Disk | | BMC Version: 4.06 | | Internal Bootable DVD | | MP Version: E.03.32 | | ------------------------------- | | Installed Memory: 32768 MB | | Boot Configuration | | | | System Configuration | | CPU Logical | | Security Configuration | | Module CPUs Speed Status | | | | 0 1 1.5 GHz Active | \----------------------------------/ | 1 1 1.5 GHz Active | | 2 1 1.5 GHz Active | | 3 1 1.5 GHz Active | | | | | \----------------------------------/ Use ^|v to scroll ENTER to Select ESC or X/x for Previous Menu Scsi(Pun1,Lun0) HP 73.4GST373453LC HPC4 (160 MBytes/sec) Loading.: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 Starting: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 (C) Copyright 1999-2006 Hewlett-Packard Development Company, L.P. All rights reserved HP-UX Boot Loader for IPF -- Revision 2.035 Press Any Key to interrupt Autoboot \EFI\HPUX\AUTO == boot vmunix Seconds left till autoboot - 0 AUTOBOOTING... System Memory = 32739 MB loading section 0 ................................................................................ .. (complete) loading section 1 ............. (complete) loading symbol table loading System Directory (boot.sys) to MFS ..... loading MFSFILES directory (bootfs) to MFS ..................... Launching /stand/vmunix SIZE: Text:41544K + Data:6397K + BSS:21890K = Total:69832K Console is on Serial Device - via PCDP Booting kernel... Joe Profaizer ================================================================================ Still hangs at same place: Console is on Serial Device - via PCDP Booting kernel... [Read only - use Ctrl-Ecf for console write access.] Loaded ACPI revision 2.0 tables. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31139 MB 31139 MB 31139 MB Kernel : 31139 MB 31139 MB 31139 MB User : 29880 MB 26490 MB 26593 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 LVM: Root VG activated Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 The device file /dev/rroot does not exist or is not correct. Automatic checks of the root file system not performed. Create STCP device files Starting the STREAMS daemons-phase 2 $Revision: vmunix: B.11.31_LR FLAVOR=perf Memory Information: physical page size = 4096 bytes, logical page size = 4096 bytes Physical: 33524756 Kbytes, lockable: 25192676 Kbytes, available: 28475124 Kbytes insf: Installing special files for sdisk instance 2 address 0/0/3/0.0.0.0 insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0 insf: Installing special files for sdisk instance 0 address 0/1/1/0.1.0 insf: Installing special files for esdisk instance 4 address 64000/0xfa00/0x1 insf: Installing special files for esdisk instance 3 address 64000/0xfa00/0x2 insf: Installing special files for esdisk instance 5 address 64000/0xfa00/0x4 ********** HANGS HERE *************** Joe Profaizer ================================================================================ I tried to boot in Maintenance Mode to no avail. Output follows: HPUX hpux -lm System Memory = 32739 MB loading section 0 ................................................................................ .. (complete) loading section 1 ............. (complete) loading symbol table loading System Directory (boot.sys) to MFS ..... loading MFSFILES directory (bootfs) to MFS ..................... Launching /stand/vmunix SIZE: Text:41544K + Data:6397K + BSS:21890K = Total:69832K Console is on Serial Device - via PCDP Booting kernel... [Read only - use Ctrl-Ecf for console write access.] Loaded ACPI revision 2.0 tables. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31139 MB 31139 MB 31139 MB Kernel : 31139 MB 31139 MB 31139 MB User : 29880 MB 26490 MB 26593 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 The device file /dev/rroot does not exist or is not correct. Automatic checks of the root file system not performed. Stored message buffer up to system crash: MFS is defined: base= 0xe000000101ba3000 size= 26788 KB Loaded ACPI revision 2.0 tables. MMIO on this platform supports Write Coalescing. MCA recovery subsystem disabled, not supported on this platform. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31139 MB 31139 MB 31139 MB Kernel : 31139 MB 31139 MB 31139 MB User : 29880 MB 26490 MB 26593 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 64000/0xfa00 esvroot Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. btlan_load() Loaded Successfully 0 sba 0/0 lba 0/0/1/0 asio0 0/0/1/1 asio0 0/0/2/0 UsbOhci 0/0/2/1 UsbOhci 0/0/2/2 UsbEhci 0/0/3/0 side_multi 0/0/3/0.0 side 0/0/3/0.1 side 0/0/3/0.0.0x0 estp 0/0/4/0 gvid_core 0/1 lba 0/1/1 pci_slot c8xx BUS: 2 SCSI C1010 Ultra160 Wide LVD A6829-60101 assigned CPU: 0 0/1/1/0 c8xx c8xx BUS: 3 SCSI C1010 Ultra160 Wide LVD A6829-60101 assigned CPU: 3 0/1/1/1 c8xx 0/1/2 pci_slot 0/1/2/0 igelan 0/2 lba 0/2/1 pci_slot 0/1/1/0.0x4 estp 0/1/1/0.0x4.0x0 eslpt 0/1/1/0.0x1 estp 0/1/1/0.0x0 estp 0/1/1/0.4 tgt 0/1/1/0.4.0 sctl 0/1/1/0.0x1.0x0 eslpt 0/1/1/0.1 tgt 0/1/1/0.1.0 sdisk 0/1/1/0.0x0.0x0 eslpt 0/1/1/0.0 tgt 0/1/1/0.0.0 sdisk 0/0/3/0.0.0x0.0x0 eslpt 0/0/3/0.0.0 tgt 0/0/3/0.0.0.0 sdisk td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 0/2/1/0 td 0/3 lba 0/3/1 pci_slot 0/3/2 pci_slot 0/4 lba 0/4/1 pci_slot 0/4/2 pci_slot 0/5 lba 0/5/1 pci_slot td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 0/5/1/0 td 120 processor 121 processor 122 processor 123 processor 250 pdh 250/0 ipmi 250/1 acpi_node 64000/0xfa00/0x0 esctl 64000/0xfa00/0x1 esdisk 64000/0xfa00/0x2 esdisk 64000/0xfa00/0x4 esdisk Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 Dump device table: (start & size given in 1-Kbyte blocks) entry 0000000000000000 - major is 3, minor is 0x1; start = 2349920, size = 8388608 VFS_MOUNTROOT error information: 0:(hfs) 22 1:(nfs) 223 6:(DevFS) 251 10:(vxfs) 28 11:(nfs3) 223 12:(nfs4) 223 13:(autofs) 251 16:(cifs) 223 18:(dnlc_neg_fs) 251 Message buffer contents after system crash: panic: VFS_MOUNTROOT: RDWR: all VFS_MOUNTROOTs failed: NEED DRIVERS ????? Stack Trace: IP Function Name 0xe00000000205f2e0 vfs_mountroot+0x6c0 0xe0000000017bbdf0 im_preinitrc+0x450 0xe000000002050f40 DoCalllist+0x390 End of Stack Trace linkstamp: Sat Jan 31 04:57:42 CST 2009 _release_version: @(#) $Revision: vmunix: B.11.31_LR FLAVOR=perf Calling function e0000000018a8100 for Shutdown State 1 type 0x2 i 0 pfn 0x1 pages 0x9f i 1 pfn 0x100 pages 0x3de24 i 2 pfn 0x3e23c pages 0x2ec i 3 pfn 0x3fc00 pages 0x220 i 4 pfn 0x100000 pages 0x6ffffe i 5 pfn 0x4040000 pages 0xbeffe i 6 pfn 0x40ff000 pages 0xc4a i 7 pfn 0x40ffc84 pages 0x18e i 8 pfn 0x40ffe80 pages 0x164 *** Not enough CPUS for a compressed dump *** *** A system crash has occurred. (See the above messages for details.) *** The system is now preparing to dump physical memory to disk, for use *** in debugging the crash. *** The dump will be a SELECTIVE dump with compression OFF and concurrency ON: 2657 of 32740 megabytes. *** To change this dump type, press any key within 10 seconds. *** Proceeding with selective dump, with compression off and concurrency on. Primary Dump Header Location : Device details: Major number: 31 Minor number:0x21000 Offset: 2349920. *** The dump may be aborted at any time by pressing ESC. *** Dumping: 71% complete (1906 of 2657 MB) Joe Profaizer ================================================================================ I have since booted the recovery DVD and am at a # prompt. I'm not sure what to do here other then wait for the latest DVDs for September 2008 v11.31 as it may have the latest version of Ignite UX. I currently have C.7.5.142. It seems the latest version may have a chance at fixing my issue; what do you think: Important changes in the Ignite-UX C.7.7.93 September 2008 release * A new option (-u) was added to make_[tape|net]_recovery that updates the Ignite-UX software on the client system from the Ignite server, when needed. * Supports new hardware enabled by the HP-UX release. * This release also includes defect fixes. Important changes in the Ignite-UX C.7.6.100 June 2008 web release * This release fixes an issue where UNCLAIMED devices could result in installation or recovery failure. Important changes in the Ignite-UX C.7.6.98 June 2008 media release * Supports new hardware enabled by the HP-UX release. sujit kumar singh ================================================================================ Hi Joe, would suggest you to make notice of few things on the Sourve Server. #lvlnboot -v #lvlnboot -R #ioscan #insf -e #vi /stand/bootconf remove any bad entries there. Take a fresh Ignite backup on the server using #make_tape_recovery -v -x inc_entire=vg00 -a /dev/rmt/0mn or whatever is the Tape Drive in there. Please notice some warnings in the make_tape_recovery being carried out. As the target system has FW updated i hope you can use that to boot diectly from the Ignite Tape But before restore of the image, do a SHELL map SHELL rconnect -r SHELL map SHELL exit use the boot entry of tape to boot the tape or use the OS CD to boot and recober from tape. Choose and advanced and interactive session and choose the Fileysystems to be properly set and also the swap. Use the Interactive session for restore. Ignite restore OS keeps working at the point where you earlier doubted that the tape has hung. Please use an Terminator with the External Tape Drive.. Regards Sujit Please at the time of install Joe Profaizer ================================================================================ I'm following your directions before I move forward with the restore (we have the latest fw and it will boot from tape). Shell map Device mapping table fs0 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig9FD1FA90-EFAC-11DD-8000-D 6217B60E588) fs1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig9FD1FAEA-EFAC-11DD-8000-D 6217B60E588) fs2 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry0) fs3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11D9-8002-D 6217B60E588) blk0 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0) blk1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig9FD1FA90-EFAC-11DD-8000-D 6217B60E588) blk2 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part2,Sig9FD1FAD6-EFAC-11DD-8000-D 6217B60E588) blk3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig9FD1FAEA-EFAC-11DD-8000-D 6217B60E588) blk4 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master) blk5 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry0) blk6 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry1) blk7 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0) blk8 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11D9-8002-D 6217B60E588) blk9 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part2,Sig69542DAE-121A-11D9-8003-D 6217B60E588) blkA : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part3,Sig69542DCC-121A-11D9-8004-D 6217B60E588) Shell help List of classes of commands: boot -- Booting options and disk-related commands configuration -- Changing and retrieving system information device -- Getting device, driver and handle information memory -- Memory related commands shell -- Basic shell navigation and customization scripts -- EFI shell-script commands Use 'help class ' for a list of commands in that class Use 'help command ' for full documentation of a command Use 'help -a' to display list of all commands Shell rconnect -r 'rconnect' not found Exit status code: Invalid Parameter Shell [Read only - use Ctrl-Ecf for console write access.] [Read only - use Ctrl-Ecf for console write access.] help device Device, driver and handle commands: baud -- Set serial port com settings connect -- Binds an EFI driver to a device and starts the driver devices -- Displays the list of devices being managed by EFI drivers devtree -- Displays the tree of devices that follow the EFI Driver Model disconnect -- Disconnects one or more drivers from a device dh -- Displays the handles in the EFI environment drivers -- Displays the list of drivers that follow the EFI Driver Model drvcfg -- Invokes the Driver Configuration Protocol drvdiag -- Invokes the Driver Diagnostics Protocol guid -- Displays all the GUIDs in the EFI environment lanaddress -- Display LAN MAC addresses load -- Loads and optionally connected EFI drivers loadpcirom -- Loads a PCI Option ROM map -- Displays or defines mappings openinfo -- Displays the protocols on a handle and the agents optload -- Lists all optional ROM-based efi drivers and applications pci -- Displays PCI devices or PCI function configuration space reconnect -- Reconnects one or more drivers from a device unload -- Unloads a protocol image Use 'help command ' for full documentation of a command Use 'help -a' to display list of all commands Shell connect -r Shell map Device mapping table fs0 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig9FD1FA90-EFAC-11DD-8000-D 6217B60E588) fs1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig9FD1FAEA-EFAC-11DD-8000-D 6217B60E588) fs2 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry0) fs3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11D9-8002-D 6217B60E588) blk0 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0) blk1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig9FD1FA90-EFAC-11DD-8000-D 6217B60E588) blk2 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part2,Sig9FD1FAD6-EFAC-11DD-8000-D 6217B60E588) blk3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig9FD1FAEA-EFAC-11DD-8000-D 6217B60E588) blk4 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master) blk5 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry0) blk6 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry1) blk7 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0) blk8 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11D9-8002-D 6217B60E588) blk9 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part2,Sig69542DAE-121A-11D9-8003-D 6217B60E588) blkA : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part3,Sig69542DCC-121A-11D9-8004-D 6217B60E588) sujit kumar singh ================================================================================ Hi sorry for the typo in theearlier post. the Shell command written as rconnect -r is Shell reconnect -r regards sujit Joe Profaizer ================================================================================ Same exact result as before: * Sun Feb 01 05:52:00 EST 2009: Completed archive load of the source (Recovery Archive). * Executing user specified script: "/opt/ignite/data/scripts/os_arch_post_l". * Running in recovery mode (os_arch_post_l). * Relocating RAM filesystems. * Running the ioinit command ("/sbin/ioinit -c") * Creating device files via the insf command. insf: Installing special files for sdisk instance 2 address 0/0/3/0.0.0.0 insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0 insf: Installing special files for sdisk instance 0 address 0/1/1/0.1.0 insf: Installing special files for esdisk instance 4 address 64000/0xfa00/0x2 insf: Installing special files for esdisk instance 3 address 64000/0xfa00/0x3 insf: Installing special files for esdisk instance 5 address 64000/0xfa00/0x4 insf: Installing special files for stape instance 0 address 0/1/1/0.6.0 insf: Installing special files for estape instance 4 address 64000/0xfa00/0x0 insf: Installing special files for pseudo driver dlpi insf: Installing special files for pseudo driver kepd insf: Installing special files for pseudo driver framebuf insf: Installing special files for pseudo driver sad * Creating the system file. Creating your system file in the file /tmp/ign_configure/tstand.system * Constructing the bootconf file. * Setting primary boot path to "/dev/rdisk/disk4". Primary boot path set to 0/1/1/0.0x1.0x0 (/dev/rdisk/disk4) NOTE: Skipping hwpath: "0/0/3/0.0.0" class: "target" new_instance: "11" because instance number does not need to remain persistent. NOTE: Skipping hwpath: "0/1/1/0.0" class: "target" new_instance: "1" because instance number does not need to remain persistent. NOTE: Skipping hwpath: "0/1/1/0.1" class: "target" new_instance: "0" because instance number does not need to remain persistent. NOTE: Skipping hwpath: "0/1/1/0.6" class: "target" new_instance: "12" because instance number does not need to remain persistent. NOTE: Skipping hwpath: "0/1/1/0.4" class: "target" new_instance: "2" because instance number does not need to remain persistent. * Executing: "/var/adm/sw/products/OS-Core/CORE-SHLIBS/iux_postload". * Running: /var/adm/sw/products/OS-Core/CORE-SHLIBS/postinstall * Executing: "/var/adm/sw/products/OS-Core/CORE2-KRN/iux_postload". * Executing: "/var/adm/sw/products/OS-Core/CORE-KRN/iux_postload". * Executing: "/var/adm/sw/products/FC-FCD/FC-FCD-KRN/iux_postload". * Loading_software: Complete ======= 02/01/09 04:52:17 CST Building the new kernel. * Build_Kernel: Begin * Building a new kernel using the command: "/usr/sbin/mk_kernel -f -o /stand/vmunix". * The currently running configuration has been imported from '/stand/system'. * Build_Kernel: Complete * Boot_From_Client_Disk: Begin ======= 02/01/09 04:53:13 CST Rebooting machine as expected. NOTE: Rebooting system. Calling function e000000001d980e0 for Shutdown State 1 type 0x1 sync'ing disks (0 buffers to flush): 0 fcache pages still dirty 0 buffers not flushed 0 buffers still dirty Calling function e00000000299ff50 for Shutdown State 5 type 0x1 Calling function e000000002032bb0 for Shutdown State 5 type 0x1 Closing open logical volumes... Done *********************************************************** * ROM Version : 04.29 * ROM Date : 12/10/2007 * BMC Version : 04.06 *********************************************************** 0 0 0x0015B2 0x0000000021721057 boot time event 1 0 0x0000A4 0x0000000000000000 start memory configuration 0 0 0x0015B2 0x0000000057372928 boot time event 1 0 0x000014 0x0000000000000000 CPU0 starting cell relocation 1 0 0x000009 0x0000000000000000 CPU0 launch EFI EFI version 1.10 [14.62] EFI64 Running on Intel(R) Itanium Processor Family EFI 1.10 IPF server rx4640 5.48 [Thu Nov 10 15:08:03 2005] firmware by HP Loading 'SysROM:Floating-Point Software Assistance Handler'... -- 'SysROM:Floating-Point Software Assistance Handler' returned Success Loading 'SysROM:Broadcom Gigabit Ethernet Driver'... Copyright (c) 2000-2005 Broadcom Corporation Broadcom NetXtreme Gigabit Ethernet EFI driver v7.0.10 -- 'SysROM:Broadcom Gigabit Ethernet Driver' returned Success Loading 'SysROM:SCSI Bus Driver'... -- 'SysROM:SCSI Bus Driver' returned Success Loading 'SysROM:SCSI Tape Driver'... -- 'SysROM:SCSI Tape Driver' returned Success Loading device drivers EFI Boot Manager ver 1.10 [14.62] OS might use only the primary console set via boot manager or conconfig command /----------------------------------\ /----------------------------------\ | System Overview | | Boot Menu | | hp server rx4640 | | HP-UX Primary Boot: 0/1/1/0.... | | Serial #: USE4414736 | | Core LAN Gb A | | | | EFI Shell [Built-in] | | System Firmware: 4.29 [4750] | | Boot Disk | | BMC Version: 4.06 | | Internal Bootable DVD | | MP Version: E.03.32 | | DAT Drive | | Installed Memory: 32768 MB | | ------------------------------- | | | | Boot Configuration | | CPU Logical | | System Configuration | | Module CPUs Speed Status | | Security Configuration | | 0 1 1.5 GHz Active | | | | 1 1 1.5 GHz Active | \----------------------------------/ | 2 1 1.5 GHz Active | | 3 1 1.5 GHz Active | | | | | \----------------------------------/ Use ^|v to scroll ENTER to Select ESC or X/x for Previous Menu Scsi(Pun1,Lun0) HP 73.4GST373453LC HPC4 ( 40 MBytes/sec) Loading.: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 Starting: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 (C) Copyright 1999-2008 Hewlett-Packard Development Company, L.P. All rights reserved HP-UX Boot Loader for IPF -- Revision 2.036 Press Any Key to interrupt Autoboot \EFI\HPUX\AUTO == boot vmunix Seconds left till autoboot - 0 AUTOBOOTING... System Memory = 32739 MB loading section 0 ................................................................................ .. (complete) loading section 1 ............. (complete) loading symbol table loading System Directory (boot.sys) to MFS ..... loading MFSFILES directory (bootfs) to MFS ..................... ================================================================================ WARNING: Multiple console output devices are configured. If this message remains on the screen for more than a few minutes, then this is not the device in use by HP-UX as the console output device. If you would like this device to be the one used by HP-UX as the console ouput device, reboot and use the EFI boot manager or the EFI 'conconfig' command to select this device and deconfigure the others. ================================================================================ Launching /stand/vmunix SIZE: Text:41544K + Data:6397K + BSS:21890K = Total:69832K Console is on Serial Device - via PCDP Booting kernel... Loaded ACPI revision 2.0 tables. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31139 MB 31139 MB 31139 MB Kernel : 31139 MB 31139 MB 31139 MB User : 29880 MB 26490 MB 26593 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 LVM: Root VG activated Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 The device file /dev/rroot does not exist or is not correct. Automatic checks of the root file system not performed. Create STCP device files Starting the STREAMS daemons-phase 2 $Revision: vmunix: B.11.31_LR FLAVOR=perf Memory Information: physical page size = 4096 bytes, logical page size = 4096 bytes Physical: 33524756 Kbytes, lockable: 25192804 Kbytes, available: 28475124 Kbytes insf: Installing special files for sdisk instance 2 address 0/0/3/0.0.0.0 insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0 insf: Installing special files for sdisk instance 0 address 0/1/1/0.1.0 insf: Installing special files for esdisk instance 4 address 64000/0xfa00/0x2 insf: Installing special files for esdisk instance 3 address 64000/0xfa00/0x3 insf: Installing special files for esdisk instance 5 address 64000/0xfa00/0x4 Joe Profaizer ================================================================================ In addition when the system tried to reboot by itself the system crashed, below is the output: Scsi(Pun1,Lun0) HP 73.4GST373453LC HPC4 ( 40 MBytes/sec) Loading.: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 Starting: HP-UX Primary Boot: 0/1/1/0.0x1.0x0 (C) Copyright 1999-2008 Hewlett-Packard Development Company, L.P. All rights reserved HP-UX Boot Loader for IPF -- Revision 2.036 Press Any Key to interrupt Autoboot \EFI\HPUX\AUTO == boot vmunix Seconds left till autoboot - 0 AUTOBOOTING... System Memory = 32739 MB loading section 0 ................................................................................ .. (complete) loading section 1 ............. (complete) loading symbol table loading System Directory (boot.sys) to MFS ..... loading MFSFILES directory (bootfs) to MFS ..................... ================================================================================ WARNING: Multiple console output devices are configured. If this message remains on the screen for more than a few minutes, then this is not the device in use by HP-UX as the console output device. If you would like this device to be the one used by HP-UX as the console ouput device, reboot and use the EFI boot manager or the EFI 'conconfig' command to select this device and deconfigure the others. ================================================================================ Launching /stand/vmunix SIZE: Text:41544K + Data:6397K + BSS:21890K = Total:69832K Console is on Serial Device - via PCDP Booting kernel... Loaded ACPI revision 2.0 tables. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31139 MB 31139 MB 31139 MB Kernel : 31139 MB 31139 MB 31139 MB User : 29880 MB 26490 MB 26593 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 LVM: Root VG activated Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 The device file /dev/rroot does not exist or is not correct. Automatic checks of the root file system not performed. Stored message buffer up to system crash: MFS is defined: base= 0xe000000101ba3000 size= 26788 KB Loaded ACPI revision 2.0 tables. MMIO on this platform supports Write Coalescing. MCA recovery subsystem disabled, not supported on this platform. Using /stand/ext_ioconfig Memory Class Setup ------------------------------------------------------------------------- Class Physmem Lockmem Swapmem ------------------------------------------------------------------------- System : 31139 MB 31139 MB 31139 MB Kernel : 31139 MB 31139 MB 31139 MB User : 29880 MB 26490 MB 26593 MB ------------------------------------------------------------------------- Starting ktracer 0 1 Installing Socket Protocol families AF_INET and AF_INET6 64000/0xfa00 esvroot Kernel EVM initialized sec_init(): kernel RPC authentication/security initialization. secgss_init(): kernel RPCSEC_GSS security initialization. rpc_init(): kernel RPC initialization. rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install) NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 11. NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 12. NOTICE: cachefsc_install: cachefs File system was registered at index 14. btlan_load() Loaded Successfully 0 sba 0/0 lba 0/0/1/0 asio0 0/0/1/1 asio0 0/0/2/0 UsbOhci 0/0/2/1 UsbOhci 0/0/2/2 UsbEhci 0/0/3/0 side_multi 0/0/3/0.0 side 0/0/3/0.1 side 0/0/3/0.0.0x0 estp 0/0/4/0 gvid_core 0/1 lba 0/1/1 pci_slot c8xx BUS: 2 SCSI C1010 Ultra Wide Single-Ended A6829-60101 assigned CPU: 0 0/1/1/0 c8xx c8xx BUS: 3 SCSI C1010 Ultra160 Wide LVD A6829-60101 assigned CPU: 3 0/1/1/1 c8xx 0/1/2 pci_slot 0/1/2/0 igelan 0/2 lba 0/2/1 pci_slot 0/1/1/0.0x6 estp 0/1/1/0.0x4 estp 0/1/1/0.0x6.0x0 eslpt 0/1/1/0.0x1 estp 0/1/1/0.0x4.0x0 eslpt 0/1/1/0.0x0 estp 0/1/1/0.6 tgt 0/1/1/0.6.0 stape 0/1/1/0.4 tgt 0/1/1/0.4.0 sctl 0/1/1/0.0x1.0x0 eslpt 0/1/1/0.1 tgt 0/1/1/0.1.0 sdisk 0/1/1/0.0x0.0x0 eslpt 0/1/1/0.0 tgt 0/1/1/0.0.0 sdisk 0/0/3/0.0.0x0.0x0 eslpt 0/0/3/0.0.0 tgt 0/0/3/0.0.0.0 sdisk td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0 0/2/1/0 td 0/3 lba 0/3/1 pci_slot 0/3/2 pci_slot 0/4 lba 0/4/1 pci_slot 0/4/2 pci_slot 0/5 lba 0/5/1 pci_slot td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/5/1/0 0/5/1/0 td 120 processor 121 processor 122 processor 123 processor 250 pdh 250/0 ipmi 250/1 acpi_node 64000/0xfa00/0x0 estape 64000/0xfa00/0x1 esctl 64000/0xfa00/0x2 esdisk 64000/0xfa00/0x3 esdisk 64000/0xfa00/0x4 esdisk Boot device's HP-UX HW path is: 0.1.1.0.1.0 System Console is on the Built-In Serial Interface igelan0: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/1/2/0 AF_INET socket/streams output daemon running, pid 41 afinet_prelink: module installed Starting the STREAMS daemons-phase 1 LVM: Root VG activated Swap device table: (start & size given in 512-byte blocks) entry 0 - major is 64, minor is 0x2; start = 0, size = 16777216 Dump device table: (start & size given in 1-Kbyte blocks) entry 0000000000000000 - major is 3, minor is 0x2; start = 2349920, size = 8388608 VFS_MOUNTROOT error information: 0:(hfs) 22 1:(nfs) 223 6:(DevFS) 251 10:(vxfs) 28 11:(nfs3) 223 12:(nfs4) 223 13:(autofs) 251 16:(cifs) 223 18:(dnlc_neg_fs) 251 Message buffer contents after system crash: panic: VFS_MOUNTROOT: RDWR: all VFS_MOUNTROOTs failed: NEED DRIVERS ????? Stack Trace: IP Function Name 0xe00000000205f2e0 vfs_mountroot+0x6c0 0xe0000000017bbdf0 im_preinitrc+0x450 0xe000000002050f40 DoCalllist+0x390 End of Stack Trace linkstamp: Sun Feb 01 04:53:13 CST 2009 _release_version: @(#) $Revision: vmunix: B.11.31_LR FLAVOR=perf Calling function e0000000018a8100 for Shutdown State 1 type 0x2 i 0 pfn 0x1 pages 0x9f i 1 pfn 0x100 pages 0x3de24 i 2 pfn 0x3e23c pages 0x2ec i 3 pfn 0x3fc00 pages 0x220 i 4 pfn 0x100000 pages 0x6ffffe i 5 pfn 0x4040000 pages 0xbeffe i 6 pfn 0x40ff000 pages 0xc4a i 7 pfn 0x40ffc84 pages 0x18e i 8 pfn 0x40ffe80 pages 0x162 *** Not enough CPUS for a compressed dump *** *** A system crash has occurred. (See the above messages for details.) *** The system is now preparing to dump physical memory to disk, for use *** in debugging the crash. *** The dump will be a SELECTIVE dump with compression OFF and concurrency ON: 2658 of 32740 megabytes. *** To change this dump type, press any key within 10 seconds. *** Select one of the following dump types, by pressing the corresponding key: C) Proceed with CURRENT dump configuration. S) The dump will be a SELECTIVE dump with both compression and concurrency OFF: 2658 of 32740 megabytes. P) The dump will be a PARTIAL dump with both compression and concurrency OFF: 8191 of 32740 megabytes. (A FULL dump is not possible.) N) There will be NO DUMP performed. *** Enter your selection now. ñ*** Invalid response. Please try again. *** Select one of the following dump types, by pressing the corresponding key: C) Proceed with CURRENT dump configuration. S) The dump will be a SELECTIVE dump with both compression and concurrency OFF: 2658 of 32740 megabytes. P) The dump will be a PARTIAL dump with both compression and concurrency OFF: 8191 of 32740 megabytes. (A FULL dump is not possible.) N) There will be NO DUMP performed. *** Enter your selection now. c*** Proceeding with selective dump, with compression off and concurrency on. Primary Dump Header Location : Device details: Major number: 31 Minor number:0x21000 Offset: 2349920. *** The dump may be aborted at any time by pressing ESC. *** Dumping: 100% complete (2658 of 2658 MB) time: 108 seconds, Number of Dump units: 1 I will try the SHELL reconnect -r What does this command do? Joe Profaizer ================================================================================ map reconnect -r (output) map Shell map Device mapping table fs0 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry0) fs1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11D9-8002-D 6217B60E588) fs2 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig28E08EF2-F046-11DD-8000-D 6217B60E588) fs3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig28E08F4C-F046-11DD-8000-D 6217B60E588) blk0 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master) blk1 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry0) blk2 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry1) blk3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0) blk4 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11D9-8002-D 6217B60E588) blk5 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part2,Sig69542DAE-121A-11D9-8003-D 6217B60E588) blk6 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part3,Sig69542DCC-121A-11D9-8004-D 6217B60E588) blk7 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0) blk8 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig28E08EF2-F046-11DD-8000-D 6217B60E588) blk9 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part2,Sig28E08F38-F046-11DD-8000-D 6217B60E588) blkA : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig28E08F4C-F046-11DD-8000-D 6217B60E588) Shell reconnect -r Scsi(Pun0,Lun0) HP 73.4GST373453LC HPC4 ( 40 MBytes/sec) Scsi(Pun1,Lun0) HP 73.4GST373453LC HPC4 ( 40 MBytes/sec) Scsi(Pun4,Lun0) HP SAF-TE 1 Scsi(Pun6,Lun0) HP C5683A C908 ( 40 MBytes/sec) Broadcom NetXtreme Gigabit Ethernet (BCM5701) is detected (PCI) [Read only - use Ctrl-Ecf for console write access.] ReconnectController(0,0,0) : Status = Success Shell map Device mapping table fs0 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry0) fs1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11D9-8002-D 6217B60E588) fs2 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig28E08EF2-F046-11DD-8000-D 6217B60E588) fs3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig28E08F4C-F046-11DD-8000-D 6217B60E588) blk0 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master) blk1 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry0) blk2 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry1) blk3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0) blk4 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11D9-8002-D 6217B60E588) blk5 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part2,Sig69542DAE-121A-11D9-8003-D 6217B60E588) blk6 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part3,Sig69542DCC-121A-11D9-8004-D 6217B60E588) blk7 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0) blk8 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig28E08EF2-F046-11DD-8000-D 6217B60E588) blk9 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part2,Sig28E08F38-F046-11DD-8000-D 6217B60E588) blkA : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig28E08F4C-F046-11DD-8000-D 6217B60E588) sujit kumar singh ================================================================================ HI joe, yes can see that... just to confirm that the tape that used for the recovery was a newly created Ignite tape or was the same as you had first tried? Ok think go ahead with the update of the ignite as ypu said on the source server. wish you Luck this time. regards sujit Joe Profaizer ================================================================================ It is a new tape with the latest ignite version. Joe Profaizer ================================================================================ How can I tell which fs#: equates to the tape drive? Scsi(Pun0,Lun0) HP 73.4GST373453LC HPC4 ( 40 MBytes/sec) Scsi(Pun1,Lun0) HP 73.4GST373453LC HPC4 ( 40 MBytes/sec) Scsi(Pun4,Lun0) HP SAF-TE 1 Scsi(Pun6,Lun0) HP C5683A C908 ( 40 MBytes/sec) Broadcom NetXtreme Gigabit Ethernet (BCM5701) is detected (PCI) ReconnectController(0,0,0) : Status = Success Shell map Device mapping table fs0 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry0) fs1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11 D9-8002-D6217B60E588) fs2 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig28E08EF2-F046-11 DD-8000-D6217B60E588) fs3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig28E08F4C-F046-11 DD-8000-D6217B60E588) blk0 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master) blk1 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry0) blk2 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)/CDROM(Entry1) blk3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0) blk4 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11 D9-8002-D6217B60E588) blk5 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part2,Sig69542DAE-121A-11 D9-8003-D6217B60E588) blk6 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part3,Sig69542DCC-121A-11 D9-8004-D6217B60E588) blk7 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0) blk8 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig28E08EF2-F046-11 DD-8000-D6217B60E588) blk9 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part2,Sig28E08F38-F046-11 DD-8000-D6217B60E588) blkA : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig28E08F4C-F046-11 DD-8000-D6217B60E588) sujit kumar singh ================================================================================ Hi Joe, Scsi(Pun6,Lun0) HP C5683A C908 ( 40 MBytes/sec) this is the Tape device --- this you can see when you go on to add a boot entry options in the EFI fs1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11 D9-8002-D6217B60E588) --- this is the first Hard Disk(as can see HD) and also Partition 1 (Part1 mentioned) this looks to the booted OS as --- /dev/dsk/cxtydzs1 also it looks fs1 as this has a valid FS that id EFI partition on this as a result of the install of the OS that you have tried (mark pun0,lun0) blk4 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig69542D9A-121A-11 D9-8002-D6217B60E588 this is the first Hard Disk(as can see HD) and also Partition 1 (Part1 mentioned) -- note pun0,lun0 -- this is the raw dev file as os will look this as /dev/rdsk/cxtydzs1 -- note Part1 --- means Partition1 that is EFI part blk9 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part2,Sig28E08F38-F046-11 DD-8000-D6217B60E588 this is the second Hard Disk(as can see HD) and also Partition 1 (Part1 mentioned) -- note pun1,lun0 -- this is the raw dev file as os will look this as /dev/rdsk/cxtydzs1 -- note Part1 --- means Partition1 that is EFI part but this partition doesnot ahcvw an EFI Filesys on this or you woulf have seen an FSD entry foe this also. regards sujit Joe Profaizer ================================================================================ OK. I understand that, but I thought you wanted me to boot from the shell prompt itself by using and fs entry that cross-referenced a the dat tape drive. Joe Profaizer ================================================================================ Question: I know I can write an Ignite tape to my tape library via fibre channel connectivity. Can I restore the same tape from my tape library via fibre channel? I remember a few years back that I could not restore the ignite tape via fibre channel and was hoping the new rx4640 fw allows me to do so. What I'm trying to do is take the current DAT drive out of the picture. Thanks, ..Joe


SUBJECT: SUBMIT YOU HP-UX TIPS AND TRICKS AND WIN EASY 10POINTS Santhosh.H ================================================================================ Please submit you Tips and tricks for helping HP-Ux sys Admin. This collection will be distributed to other thus spreading the knowledge of HP-UX ================================================================================ Hello, how about Bill Hassell's famous "ps" usage: UNIX95= ps -efH UNIX95= ps -fC cmd where there is a space between "UNIX95=" and "ps", and you have to substitute "cmd" with the name of the codefile of the process you would search like this in the past: ps -ef | grep cmd Bill will tell you about the options to get the memory usage, so I am not ;-) HTH, Wodisch Santhosh.H ================================================================================ tip1- To go into GSP Press #Ctrl+B tip2- to restart the server in case if it is not responding- Ctrl-B and RS Ctrl B for logging into GSP RS for resetting the system tip3-For easy and err free configuration issue the cmd #sam Jeff Machols ================================================================================ performace monitoring commands #top #swapinfo -tam #sar 1 10 #vmstat 1 10 #sar -v 1 James R. Ferguson ================================================================================ Hi: Here's a few: ...to find memory configuration: # echo "selclass qualifier memory;info;wait;infolog"|cstm /tmp/meminfo ...similar for processor info: # echo "selclass qualifier cpu;info;wait;infolog"|cstm /tmp/procinfo ...and to find out what disk and/or kernel you actually booted from do this: # echo 'boot_string/S'|adb /stand/vmunix /dev/mem The output will look like: boot_string: boot_string: disc(10/0.6.0;0)/stand/vmunix ...which can be quickly related to the disk device file by examining the output of 'lvlnboot -v'. This is quite useful when you have mirrored boot disks and want to verify that you can/did, in fact, boot from the mirror! Regards! ...JRF... John Bolene ================================================================================ My favorite for disk usage cd /yourdirectory du -x|sort -rn|more Thierry Poels ================================================================================ Hi, one major tip, next to RTFM : RTFF !! (Read This Fantastic Forum ;-) regards, Thierry. Darrell Allen ================================================================================ Fast way to copy a directory structure: $ cd /source_dir $ find . | cpio -pudlmv /destination_dir omit ???v??? (verbose) option from cpio for more speed Darrell Paula J Frazer-Campbell ================================================================================ Hi Top 10 cpu users UNIX95= ps -e -o pcpu -o ruser -o args|sort -nr|grep -v %CPU|head ???10 Paula John Palmer ================================================================================ How about make extensive use of the 'Search' facility in the ITRC, preferably before posting a question that's been asked many times before ;-). Regards, John harry d brown jr ================================================================================ A little script I use to display VG totals: bdf|grep -v Filesystem|tr -s " " " "|cut -d" " -f 1-4|sort| awk 'BEGIN { prev=""; totals[0]=0; totals[1]=0; totals[2]=0; gtotals[0]=0; gtotals[1]=0; gtotals[2]=0; printf("%4s %14s %14s %14s\n","VG","Size","In use","Available"); } {split($1,curr,"/"); if (prev!="" && prev!=curr[3]) {printf("%4s %14d %14d %14d\n",prev,totals[0],totals[1],totals[2] ); gtotals[0]+=totals[0]; gtotals[1]+=totals[1]; gtotals[2]+=totals[2]; totals[0]=0; totals[1]=0; totals[2]=0; } prev=curr[3]; totals[0]+=$2; totals[1]+=$3; totals[2]+=$4; } END { gtotals[0]+=totals[0]; gtotals[1]+=totals[1]; gtotals[2]+=totals[2]; printf("%4s %14d %14d %14d\n",prev,totals[0],totals[1],totals[2]); printf("%4s %14s %14s %14s\n","----","--------------","------------- -","--------------"); printf("%4s %14d %14d %14d\n","Totl",gtotals[0],gtotals[1],gtotals[2 ]); }' live free or die harry James R. Ferguson ================================================================================ Hi: To echo and augment both Thierry & John Palmer's sentiments: ...don't forget the wealth of information in the 'man' pages and the ability to do keyword searches in them: # man -k token ...assuming that you have build the 'whatis' database with: # catman -m ALSO: In addition to the ITRC Search function, there is a relatively new link on the ITRC Home page to software and hardware FAQs, currently at the bottom right-hand corner under "response center FAQs" Regards! ...JRF... Steven Sim Kok Leong ================================================================================ Hi, Ever wondered how to perform tripwire-like file integrity checking on a HP-UX system out-of-the-box? Use Product Definition Files (ie. PDF). PDF and its associated commands are HP-UX proprietary, comes built-in with all HP-UX 10.X and HP-UX 11.X releases and aids host-based intrusion detection. To perform tripwire-like file integrity checking to detect any system files being tampered, use a combination of the commands mkpdf, pdfck or pdfdiff in a cron job. For example, the following output indicates tampering with /bin/cat: /bin/cat: mode(-r-xr-xr-x - -r-sr-xr-x)(became suid), size(27724 - 10345), checksum(1665 - 398) Hope this helps. Regards. Steven Sim Kok Leong Patrick Wallek ================================================================================ The best safety valve for you VG00 in case of major problems: Ignite/UX - http://software.hp.com/products/IUX Command line I use: /opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -t "Make recovery of system `uname -n` on `date`" -v -x inc_entire=vg00 Uday S. Ankolekar ================================================================================ To find out big files in a directory # find /var -size +10000c -exec -ls -l {} \; This would find all files in /var whose size in (C)haracters exceeds 10,000. and ls lists of these files. Increase/decrease the number of zeroes to get the larger/smaller than given number. Also note + (plus) argument denotes greater than and if you use - (minus ) means less than the given number and if you don't use any sign that means equal to. The c is for characters instead of blocks. -USA.. Tim D Fulford ================================================================================ To copy a whole filesystem over the network. Usually you would tar to file & rcp it across network then untar it. But here is an all in one remsh source_mc tar cf - dir_path_source | tar xvf - to quickly check out what a user is doing ps -fu username Tim Mark Greene ================================================================================ to get the sendmail version: echo \$Z | /usr/bin/sendmail -bt -d -- mark Steve Steel ================================================================================ Hi My Favourites Web References: --------------- http://www.hpchecksyourweb.be/ Website check via www.hp.com http://www.itresourcecenter.hp.com. AWARD WINNER www.esca3.europe.hp.com NEW. CONTRACT ADMIN http://www.docs.hp.com http://www.software.hp.com http://europe-support.external.hp.com http://www.itrc.hp.com http://www.datacentersolutions.hp.com http://www.openview.hp.com http://ovweb.external.hp.com http://www-europe.hp.com/educbel ======================================================================= General good info ----------------- http://www.techtarget.com/ Multi vendor search http://www.hp.com Search to access all hp products http://www.adminschoice.com/ - http://www.unixguide.net/ http://www.introcomp.co.uk/hpux/index.html Steve Steel Shiju Wilson ================================================================================ 1) Find big files in a directory: # find /dir_path -xdev -size +10000 -exec ll {} \; /tmp/bigfiles 2) Find new files in a directory: # find /dir_path -xdev -type f -mtime -2 -exec ll {} \; /tmp/newfiles 3) copy entire file system / directory to new location: # find /source_dir_path -depth | cpio -pdlmuva /dest_path Shiju harry d brown jr ================================================================================ How much disk space is vg01 (replace the grep for other vg's) using (replace the cut field from 3 to 2 to get allocated, and from 3 to 4 to get available): bdf|grep -v Filesystem|grep vg01|tr -s " " " "|cut -d" " -f 3|sort -n|xargs echo|sed "s/ / + /g"|bc Copy a percentage of a file, as in this example 65% of it: echo `ls -l /origfilepath`"\nx x x x .65" | tr -s " " " " | cut -d" " -f 5 | xargs echo|sed "s/ / \* /g" | bc | cut -d"." -f1 | sed "s/$/ \/ 512 /" | bc | sed "s:^:dd if=/origfilepath of=/newfilepath count=:" | sh Send an email attachment: uuencode file file1 |mailx -m -s "Heading for email" your-email-address live free or die harry Darrell Allen ================================================================================ Nothing fancy but highly recommended: Document your systems on a regular basis. I use the attached script, capturing its output to a file, transferring the file to another system, and sending a copy of the file offsite with my backups. Darrell A. Clay Stephenson ================================================================================ Hi: I suppose my contribution to this would have to be my caljd.sh script. This is my hammer and every date problem is a nail. For example: What is the calendar date 100 days from now: D100=$(caljd.sh $(caljd.sh -n 100)) echo "Date 100 days from today is ${D100}" Now how about 100 days from now unless that falls on a weekend: D100=$(caljd.sh $(caljd.sh -n 100 -x 0 -x 6)) Now how about 100 days from now unless that falls on a weekend or a holiday: D100=$(caljd.sh $(caljd.sh -n 100 -x 0 -x 6 -h)) The ironic thing is that this actually started off as a small awk script. The meat of this is two little awk routines that manage to do all the month, day, year calculations including leap years without a single if statement using the magic of integer arithmetic. The other bells and whistles like skipping weekdays, holidays, next and previous calculations which used to be done outside the script were added as requests from Forum users. If you invoke it like this caljd.sh 01 15 2002, it outputs 2452290. This is a Julian Day (actually an integer approximation because real Julian Days begin at 1200 UTC and are floating point values). It represents the number of days since 4713 BCE and is used by astronomers to make orbital calculations much easier. Since these days count off sequentially doing thing like what day of the week is it becomes trivial. That's the -w argument for caljd.sh. You can also invoke caljd.sh using the -u argument for full usage. Regards, Clay Deshpande Prashant ================================================================================ HI Total amount of space allocated/used and free in all file systems. #bdf |awk '{totala=totala+ $2/1000;totslu+ $3/1000;totall+ $4/1000;print "Total-Av, Total-Us, Total-Fre";print totala, totalu, totall}' |tail -1 -Extracting measureware data for one shift. #extract -xp -G -b START-DATE 00:00 -e END-DATE 00:00 -s 00:00-08:00 -r /var/opt/perf/rept.all -f output-file-name Thanks. Prashant. Justo Exposito ================================================================================ Hi, This is for vtxxx terminals, escape codes for use in your scripts: bold=`tput smso` # Bold Font normal=`tput sgr0` # Normal Font subra=`tput smul` # Underlaying Font inver=`tput rev` # Reverse Font sound=`tput bel` # Beep blink=`tput blink` # Blinking ESC=^[ # Escape Caracter CSI=${ESC}[ cien_32="echo ${CSI}?3h" # 132 Columns ochenta="echo ${CSI}?3l" # 80 Columns expand="${ESC}#6" # Extra Width Font export bold normal subra inver ESC CSI ochenta expand cien_32 sound You can use it with echo command, like: echo "${bold}Hello${normal}" Regards Justo. Justo Exposito ================================================================================ Hello Again, This is the script that I use to extract configuration information from our hp/ux boxes and then ftp to my PC. Regards, Justo. Craig Rants ================================================================================ Convert an epoch date format to a readable format. echo "0d$NUMBER=Y" | adb C S.K. Chan ================================================================================ Something I think would always be useful .. Manual Kernel Configuration ============================ 10.x ==== # cd /stand/build # /usr/lbin/sysadm/system_prep -v -s system # vi system == modify kernel parameters here # /usr/sbin/mk_kernel -s ./system == creates vmunix_test # mv /stand/system /stand/system.prev # mv /stand/vmunix /stand/vmunix.prev # mv /stand/build/system /stand/system # mv /stand/build/vmunix_test /stand/vmunix # shutdown -r -y 0 11.x ==== # cd /stand/build # /usr/lbin/sysadm/system_prep -v -s system # /usr/sbin/kmsystem -S /stand/build/system -c Y vxadv == adding "vxadv" driver to kernel # /usr/sbin/mk_kernel -s ./system # mv /stand/system /stand/system.prev # mv /stand/vmunix /stand/vmunix.prev # /usr/sbin/kmupdate # shutdown -r -y 0 Josh ================================================================================ to move a directory: cd to the directory it's in tar cf - | (cd /new/path/; tar xf -) Bill Hassell ================================================================================ OK, here's a few comments on the plethora of big file finders: "Don't look for big files, look for big directories." The reason? You may completely overlook a directory with thousands of small files that add up to hundreds or thousands of megs. Instead, look for big directories--then, look inside the biggest ones to see if anything is amiss. du -kx /var | sort -rn /tmp/du.var Notice the -k option (blocks are so messy to convert into Kb) as it is undocumented at 10.20 (but works). Be very careful about removing big files that you don't understand, for example: vmunix is a bad file to remove! Another favorite: ----------------- "Don't EVER use find / to locate something!" I know, your Unix-101 instructor told you that this is the way to locate a missing file--on a VERY small computer with a couple of Gb of disk, and you were the only user. But try that on a system with 5,000 Gbytes of data and 250 users and you'll quickly feel the wrath of unhappy users. As an ordinary user, if you forgot where you stored a file (as an ordinary user), do NOT look through directories where you cannot write, things like /dev and /etc and /usr and /opt. Instead, look in the ONLY directories you would normally have write access: find /var/tmp /tmp $HOME | grep some-name If you are looking for a specific command (as in: command not found), there should never be any commands in /stand or /etc or /var or any database directory. And by using explicit directories, you'll complete your task much faster (and annoy the users a lot less). Finally, the Response Center's collection: ftp://contrib:9unsupp8@hprc.external.hp.com/ A place where unsupported (but nifty) tools and information bits are located. Some favorites: - Crash dump analysis - Release Notes for 10-11 versions of HP-UX - White Papers - Coolscripts - Profiles - Presentations - Workstation hardware reference Most of the goodies are in the sysadmin directory. Under coolscripts, checkout: bdfmegs viman batchftp ljdisplay (fun!) lls And under programs: xvg shminfo tapeinfo And for JetAdmin diehards, the last version for 10.20 and 11.0 will be stored here. A. Clay Stephenson ================================================================================ Hi: Since nobody has mentioned it, I think I will add: Use kill -9 ONLY as a weapon of last resort. Because SIGKILL cannot be caught no cleanup is done which means temp files are left behind and shared memory segments are not removed. Generally, kill -15, kill -1, kill -2, kill -3, and then kill -11 is a good sequence to use. Kill -11 (SIGSEGV) is almost as sure a kill as kill -9 and does cleanup. Clay Jason Berendsen ================================================================================ An easy way to get yesterdays date instead of writing a 30 line script. YESTERDAY=$(TZ=$(date +%Z)+24; date '+%b %e') This has been very usefull for me with backups. Animesh Chakraborty ================================================================================ Move or delere all files under a directory older hat 15 days. #find /ctx/sap/interface/cnzl -mtime +15 -exec mv {} /temp A good command to copy a file system to a new directory. #cd /sourc_dir #find . -depth -print|cpio -pdmv /dest_dir Michael Tully ================================================================================ Since I've been like "Bob the Builder" lately, and been mirroring new systems disks. # pvcreate -B /dev/rdsk/c2t6d0 # vgextend /dev/vg00 /dev/dsk/c2t6d0 # mkboot /dev/rdsk/c2t6t0 # mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/c2t6d0 # lvlnboot -R # for LVOL in /dev/vg00/lv* do echo $LVOL lvextend -m 1 $LVOL done Kenny Chau ================================================================================ Tip 1 - Never let the HP Engineer left before the system back to normal after repair (Sorry to all HP Engineers), this is what my manager said. Tip 2 - In cluster environment, before shutdown any node, disable all packages switching, halt node and shutdown the node. Tip 3 - If adding or removing disks from SC10, remember to shutdown all machines which connected to the SC10 and also shutdown the SC10 before removing or adding disks. Good luck. Kenny. Michael Tully ================================================================================ Removing tapes from my tape library with OmniBack. Attached is a fairly simple script to do this. It is really handy if you don't have a tape jockey. -Michael Printaporn ================================================================================ if you suscpect networking problem , like IP address conflict: #netfmt -t 50 -f /var/adm/nettl.LOG00 /tmp/nettl then check /tmp/nettl Printaporn ================================================================================ system panic / core dump reading overview. HP-UX 11.0 already have q4 package in /usr/contrib/bin 1. cd /var/adm/crash/crash.0 #/usr/contrib/bin/q4prep q4 library files being created in /var/adm/crash/crash.0/q4lib 2.cd q4lib #cp sample.q4rc.pl ~/.q4rc.pl 3. cd .. #q4 -p @(#) q4 $Revision: 1.79a $ $Date: 97/09/08 12:00:22 $ 0 Reading kernel symbols ... Reading kernel data types ... Initialized PA-RISC 2.0 address translator ... Initializing stack tracer ... Get the latest Q4 news by typing "news". q4 include analyze.pl loading ./q4lib/analyze.pl ... loading ./q4lib/uname.pl ... loading ./q4lib/misc.pl ... loading ./q4lib/uptime.pl ... loading ./q4lib/adjust.pl ... loading ./q4lib/messagebuffer.pl ... loading ./q4lib/addresses.pl ... loading ./q4lib/tables.pl ... loading ./q4lib/processors.pl ... loading ./q4lib/crashes.pl ... loading ./q4lib/rpb.pl ... loading ./q4lib/traces.pl ... loading ./q4lib/globals.pl ... loading ./q4lib/processes.pl ... loading ./q4lib/commands.pl ... loading ./q4lib/credentials.pl ... loading ./q4lib/threads.pl ... loading ./q4lib/user.pl ... loading ./q4lib/vm.pl ... loading ./q4lib/vm_vfddbd.pl ... loading ./q4lib/files.pl ... loading ./q4lib/vfs.pl ... loading ./q4lib/inode.pl ... loading ./q4lib/buf.pl ... q4 run Analyze UAP ana.out ----- then waiting till finish , or in another session cd /var/adm/crash/crash.0 vi ana.out search for stack Stack trace from the first crash event: stack trace for event 0 crash event was a TOC FUNC PC SP FMP SSP idle+0xa78 0.0x135a60 0.0x0'0d20c1f0 0.0x0'0d20c1e0 n/a swidle_exit+0x0 0.0x1380ac 0.0x0'0d20c050 0.0x0'0d20c040 n/a ================== now check patch database for similar stack. you may come up with patches installation to fix this panic. Scott Van Kalken ================================================================================ This is a favourite of mine for a vgcfgbackup before you run your daily backup. #!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin VG=$(vgdisplay |grep "VG Name" |awk '{print $NF}') HOSTNAME=$(hostname) logger -p local0.info "INFO: LVM backups for host $HOSTNAME starting..." for v in $VG ; do vgcfgbackup $v if [ $? -ne 0 ] ; then logger -p local0.err "ERROR: LVM backups failed..." fi done logger -p local0.info "INFO: LVM backups for host $HOSTNAME finished..." Marc Dijkstra ================================================================================ Wodish, I see Bill did not put his memory usage in! Used it last night to find some rather nasty memory leaks on an 11.00 box (the famous mib2agt leak) UNIX95= ps -e -o ruser,vsz,pid,ppid,args|sort -rnk2 |more This gives the total memory usage per process. P.S: That mib2agt leak is fixed with the new OV EMANATE142 patch PHSS_24945. MND Stefan Farrelly ================================================================================ Heres a script even a non root user can run to see how much free memory is on a box; let x=$(grep -i physical: /var/adm/syslog/syslog.log|head -1|awk '{print $7}')/1048 let z=$(vmstat|tail -1|awk '{print $5}')*4096;let z=$z/1000000 let free=100000/$x*$z let free=$free/1000 let free=100-$free echo "$x Mb physical memory \n$z Mb memory free \n$free % used" And a nifty C program to move a running process onto a particular CPU - great on servers with many CPU's and some process is hogging CPU 0 - which HP-UX really needs to use to keep everything running fast.... Cheers, Stefan #include stdio.h #include sys/types.h #include sys/syscall.h #include sys/mp.h #include grp.h main(argc,argv) int argc; char *argv[]; { gid_t sgid; int i; int pid; if (argc 2) { printf("Usage: setproc spunum pid0 [pid1 ... pidn]\n"); exit(1); } sgid = atoi (argv[1]); i = argc; printf("Attempting to set process affinity for processor %d\n",sgid); while (i-- 2) { pid = atoi(argv[i]); if ((sgid = SETPROCESS(sgid, pid)) 0) perror("setprocess failed"); printf ("processor %d pid = %d\n", sgid, pid); } } Bill McNAMARA ================================================================================ Assign a process to execute on a particular cpu.. ======================================================================= Program to set processor affinity: (setproc.c) ------------------------------------------------------------------------- #include stdio.h #include sys/types.h #include sys/syscall.h #include sys/mp.h #include grp.h main(argc,argv) int argc; char *argv[]; { gid_t sgid; int i; int pid; if (argc 2) { printf("Usage: setproc spunum pid0 [pid1 ... pidn]\n"); exit(1); } sgid = atoi (argv[1]); i = argc; printf("Attempting to set process affinity for processor %d\n", sgid); while (i-- 2) { pid = atoi(argv[i]); if ((sgid = SETPROCESS(sgid, pid)) 0) perror("setprocess failed"); printf ("processor %d pid = %d\n", sgid, pid); } } ------------------------------------------------------------------------- Compile the above program with cc -o setproc setproc.c The following shell script can be used to test that processor affinity is working correctly: -------------------------------------------------------------------- #!/bin/ksh echo process id = $$ i=1 while [ "$i" -lt 10000 ] do echo " $i\r\c" i=`expr $i + 1` sleep 1 done -------------------------------------------------------------------- You can start an instance of this script and use the setproc program on a dual processor system to switch processes between processors. You should run this on a seperate terminal since it will send the count to the terminal every second. You can then use the setproc program to move the process between processors. Usage: setproc 0 pid to force to process pid to processor 0, or use setproc 1 pid to force process pid to processor 1, etc. Alexander M. Ermes ================================================================================ Hi there. Why not using Clay's 'Lifeboat' tactics for this ? Check URL : http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x255d87dc4d7dd5118ff00090279cd0f 9,00.html That idea is really helpful. Rgds Alexander M. Ermes Deshpande Prashant ================================================================================ Hi Copy multiple pactches in a depot, for installations. - Download all patches in tmp dir (/tmp/PATCHES) #sh PH* (shar all patches ) #for i in `ls /tmp/PATCHES/*.depot` { swcopy -x enforce_dependencies=false -s{i} \* @ /tmp/patches } swreg -l depot /tmp/patches # To Install multiple patches from depot #swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/patches Thanks. Prashant. George Dodds ================================================================================ When adding a dtc remember to double check the terminal port configs. They sometimes default to printer port settings but still show up as terminals. At least on the 16's anyway! William Baines ================================================================================ I use the cfg2html script to gather all sysdoc info and output into a single HTML file. Once a week all sysdocs are ftp'd to a central Web server for easy access and safekeeping. http://members.tripod.com/rose_swe/cfg/cfg.html "What is cfg2html? Cfg2html is a UNIX shell script that collects UNIX host information, similar to Hewlett Packards check_config or get_config, except that it creates a HTML (and plain ASCII) system documentation for HP-UX 10.xx/11.xx, SunOS/Solaris, AIX, SCO Open Server, Linux (SUSE, Debian & Red Hat) and NT4.0/Win2000 (currently beta) systems. Plugins for SAP R/3, Oracle, Informix, Samba and SWAT, ITO and NNM, XP48, XP256 & XP512 SureStore E, SuperDome, OLA/R, SCM, AutoRAID, FC60, Tip/X, MC/SG and OmniBack etc. are included (HPUX version). In short: Everything I found at customer site :-))" George Dodds ================================================================================ one of the most useful pages on the web if you support different versions of unix (especially if you've got a memory like mine!). http://www.unixguide.net/unixguide.shtml Sebastian Galeski ================================================================================ Hi sometimes it happends that we have our default DDS on /de/rmt/1m and our DLT drive on /dev/rmt/0m.Below is procedure how to change instance number for LAN, disks, tape: 1. ioscan -kf | grep -e INTERFACE -e DEVICE | grep -v target | awk '{printf "%s %s %s\n",$3,$1,$2}' infile 2. vi infile ( we exchange instance numbers for all devices which we are interested ) 3. mv infile /stand/infile 4. mv /stand/ioconfig /stand/ioconfig.sav mv /etc/ioconfig /etc/ioconfig.sav 5. shutdown -ry 0 6. interrupt the boot process, boot pri, interact with ISL. 7. ISL hpux -is 8. cd /stand /sbin/ioinit -c /sbin/ioinit -f infile 9. reboot For example if we only want to do it for tape our invile will look like: 10/4/8.3.0 tape 0 10/12/5.0.0 tape 3 In cluster environment is better use only -f option -c can choose already made changes. For more information see man ioinit. Jeff Machols ================================================================================ The lsof program that available on hpux.cs.utah.edu to view what users/processes have open files, So you can clean up if you hit the max number of nfile. Steffi Jones ================================================================================ Hello all, I find the "nickel tool" (which I attach) very useful. It is a great way of keeping all information in a neat webpage design. So if you have to rebuild or answer any question about the configuration of the box just refer to the webpage and you will find your answer. It is nice to have that information handy plus of course a good backup strategy. Steffi Jones James Beamish-White ================================================================================ How about combining multiple finds? A trick with find that not many people know or use is: find / \( -user x -o -user y -o -user z \) The -o is logical OR, and you can use -a for logical AND... Or if you transfer the same files around a lot, you can script ftp: ftp -in myhost EOF user username password get /tmp/bla get /tmp/foo EOF My 2c... James Ricardo L. ================================================================================ I got this one from Mr. Bill Hassell .. How to mount and install software remotly. You can use NFS but if this is an HP CD you are using, just register the mounted CD on the local system, something like: mount /dev/dsk/c1t2d3 /cdrom swreg -l depot /cdrom And that's it. Now go to any HP-UX system on your network and run swinstall and tell it you want to use the Network depot on your server with the CD mounted. This is much more reliable than NFS and a lot simpler on the client side. Albert Smith ================================================================================ On an RP84000 to access the system console if your system is headless: Telnet into the Management Port Enter ID and Passwd type CO for your console and it will prompt you for which partition. If someone else is already attached a ^E will kick them off. Deshpande Prashant ================================================================================ HI Mounting PFS cdroms. #nohup /usr/sbin/pfs_mountd -v & #nohup /usr/sbin/pfsd 4 -v & #/usr/sbin/pfs_mount /SD_CDROM The file /etc/pfs_fstab should have entry for CDROM /dev/dsk/c2t2d0 /SD_CDROM pfs-rrip xlat=unix,soft 0 0 Thanks. Prashant. John Payne ================================================================================ How about this: Use glance to watch your systems. Take snapshots of what the system looks like typically. (Hide them in your back pocket.) Then, when you think you have a performance problem, you know what the baseline was, and that will help you know where to start your troubleshooting. Patrick Wessel ================================================================================ A way to take a look into the autofile: lifcp /dev/dsk/cXtYdZ:AUTO - [of cause with the right device file] Which kernel is running (vmunix, vmunix.prev, vmunix,whatever???) dmesg - /dev/kmem /stand/vmunix returns an error when the kernel in the command is not running: Jan 18 12:32 Magic number wrong (namelist mismatch?) #dmesg - /dev/kmem /stand/vmunix.prev Jan 18 12:33 ... vuseg=1010000 inet_clts:ok inet_cots:ok 8 ccio 8/0 bc 8/0/0 mux2 8/4 c720 8/4.5 tgt 8/4.5.0 sdisk OK, vmunix.prev is running To get the serial number of a V2500/2600 you can enter the following command as sppuser on the teststation (SSP) sppdsh jf-ccmd_info get the air intake temperature of a V22x0 ds1620 -n 0 get the air intake temperature of a V2500/2600 sppdsh ds1620 0 Mark van Hassel ================================================================================ Use linkloop to check whether two lan interfaces are connected to the same LAN: linkloop -i NR -v MAC Where NR is NMID (10.20) or PPA nr (11.00) and MAC is the interfaces MAC address, which can be a remore system's interface. I also use this to check if a UTP cable is connected, so that you do not have to go to the system to check this. And offcourse you can use it to check if the primary and standby interfaces of a MCSG cluster or a APA link are connected to the same subnet. HtH. Mark Duncan Edmonstone ================================================================================ For those with HP terminals or terminal emulation, take a look at tsm - the terminal session manager gives you as many shells as you need all within one window... I like to customise tsm when doing serviceguard testing - copy the file /usr/tsm/.tsm to /.tsm, and edit the file, change the lines: # window_title=SESSION 5 PROGRAM # 4 program # window_title=SESSION 5 PROGRAM # 5 program to window_title=syslog 4 tail -f /var/adm/syslog/syslog.log window_title=pkgA log 5 tail -f /etc/cmcluster/pkgA/pkgA.cntl.log Now fire up tsm, and you can test MCSG,a nd keep an eye on those log files all from a single window. -------------------------------------------- Another favourite of mine is 'ied' - the input editor and command history tool... You know how much you like using the shells command history and input editing features (known to many as'escape-k') - well wouldn't it be great if all thos other command line programs you run also supported the same features? Well with ied they can! e.g. instead of 'ftp' run 'ied ftp' or 'ied sqlplus' instead of 'sqlplus' Hope people like these!! Duncan Wodisch ================================================================================ Hello again! Great success you have with that thread! :-) Some little scripts, perhaps? - show the directory-tree? see attached file Usage: cd /dir-ro-start-from ls -alR | awk -f THAT-FILE Have fun, Wodisch Wodisch ================================================================================ Hello again! Sorry, I know this is annyoing , but only one file per reply... - who uses how much space on the disks? see attached file Have fun, Wodisch Wodisch ================================================================================ Hello again! ... - send a message to a Windows-PC? You'll need CIFS/9000-Server or Samba, though: echo "Whatever you want to say, even multi-line" | smbclient -M PC-IP-Address And the nice thing: The "smb.conf" can be rather short: [global] workgroup = WORKGROUP server string = Samba Server log file = /var/opt/samba/log.%m security = server socket options = TCP_NODELAY local master = no syslog = 0 Have fun, Wodisch Frederic Sevestre ================================================================================ Hi, Very usefull before the evening : # wall Who wants to come to have a Guiness with me ? Call me xxxx ^D where xxxx is your phone number ! Fr??d??ric paul courry ================================================================================ You have a D class and can't get it forget it once had an EISA card in it? Run eisaconfig and rewrite the NVM on the backplane. This is the only way to get to forget about EISA cards. paul courry ================================================================================ Smoked one of the MUX files and now the system won't boot? Boot to singleuser mode, fix the problem and reboot. Booting to singleuser mode bypasses the code that boots the muxes. paul courry ================================================================================ 1. Get EACH of your systems set up in the ITRC. This allows you to share data with the RC and your boss at home when a problem happens. It also serves as a record of what happened when. 2. Remember to assign points so this forum will exist 5 years from now. 3. Thank the fine HP volunteers for their efforts or we will lose them. paul courry ================================================================================ Cut a make recovery tape each month just in case you make a change and forget to update your emergency tapes. Also, remember to test your tape drive occasionally. The read head is seperate from the write head. You can be making backups faithfully, but won't be able to read them. Also, check the health of your network just like you check the health of your hardware. Run something like my HEALTH command everyday and keep a copy so you have a baseline. Wodisch ================================================================================ High, me again... just for reading about making "Ignite/UX" recovery tapes: 1) set up an Ignite/UX server for "make_net_recovery" 2) learn to burn Ignite/UX recovery CD-ROMS(!) and do it - CD-Rs are cheaper than DDS-tapes, and they do NOT block the tape-drive (nobody is going to use the CD-ROM drives on HP-UX systems much anyway, right?) Regards, Wodisch steven Burgess ================================================================================ find /var -name '*' -exec grep -i -l '15AUG00 16:38' {} \; /tmp/output_file This will find all files contained within the /var directory (and any subdirectories). Notice that the wildcard * is enclosed in single quotes. The output of the find is sent to a grep with a -i (case insensitive) and -l (ell) switch. The -l swich is necessary as this causes the grep to return the name of the file in which the search text was found (as opposed to simply returning a copy of the line itself). In the above example, I have searched for the string '15AUG00 16:38' (note the single quotes again around the string) and sent the output to a file called /tmp/output_file. Mark van Hassel ================================================================================ Want to know the cpu speed ? Here's a little C program: #include sys/pstat.h #include sys/param.h #include unistd.h main() { struct pst_processor psp; unsigned long int clock_speed, scclktick; pstat_getprocessor(&psp, sizeof(psp), 1, 0); scclktick=sysconf(_SC_CLK_TCK); clock_speed = psp.psp_iticksperclktick * scclktick; printf("%ld Mhz\n", clock_speed/1000000); } Have fun ! Paul Murray ================================================================================ Problems with file contents ?? Cannot delete a file ?? Look for hidden characters by using "cat -vet" Examples :- root@ukutsg01..# ll total 0 -rw-rw-rw- 1 root sys 0 Jan 21 15:53 file1 root@ukutsg01..# rm file1 rm: file1 non-existent root@ukutsg01..# ll | cat -vet total 0$ -rw-rw-rw- 1 root sys 0 Jan 21 15:53 file1^G^F^G^F^G$ root@ukutsg01..# rm file1^G^F^G^F^G root@ukutsg01..# ll total 0 root@ukutsg01..# Paul Murray ================================================================================ When performing a grep of the ps stack, remove the "grep" command by enclosing the first character in [] Example :- ps -ef | grep -i [c]ron .... is the same as .... ps -ef | grep -i cron | grep -v grep Paul Murray ================================================================================ When shutting a server down, run various commands and save the output to temporary files - when the server has rebooted, do the same and then compare the pre and post files. This is an easy way to ensure that all your hardware, filesystems, lancards etc have all been restarted properly. (Amongst various others), think of using ..... lanscan bdf ioscan dmesg swapinfo Cheryl Griffin ================================================================================ Many sendmail problems can be resolved by using the correct configuration file (/etc/mail/sendmail.cf) for the sendmail version. Often the configuration file is left unupdated after applying patches. When a patch has been installed, check /usr/newconfig/etc/mail for an updated sendmail.cf. It is copied here, instead of overwriting the sendmail.cf which may be in use. In the following example, I am using an outdated version of the sendmail.cf!! Configuration version: # grep DZ /etc/mail/sendmail.cf DZ8.7.1 # grep DZ /usr/newconfig/etc/mail/sendmail.cf DZ8.9.3 Sendmail version: # sendmail -di Version 8.9.3 (PHNE_18546) (Use ctrl-C to exit) OR: # what /usr/sbin/sendmail /usr/sbin/sendmail: version.c 8.9.3.1 (Berkeley) 2/9/1999 (PHNE_18546) ***** To find PA Version: # cat /opt/langtools/lib/sched.models|grep ^`uname -m|cut -c 6-` It will return something like the following: 861 2.0 PA8000 /usr/lib/sched.models can also be used ***** CPU Speed in Mhz # echo itick_per_usec/D | /usr/bin/adb -k /stand/vmunix /dev/kmem ***** Physical Memory - RAM For 10.20: # echo physmem/D | adb /stand/vmunix /dev/kmem For 11.0: # echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem # dmesg Look for Physcial Memory section Deshpande Prashant ================================================================================ HI Checking the tape drives in library using Omniback utility "uma. #/opt/omni/lbin/uma -ioctl /dev/picker Scan the tape library slots with #mc -p /dev/picker -r IDS Thanks. Prashant. T. M. Louah ================================================================================ .. to find amount of Physical memory on ur system: /usr/sam/lbin/getmem .. to see how a Kernel parameter (e.g.: MAXUSERS) is being used by other parameters do: root: more /stand/build/tune.h |grep -i maxusers #define MAXUSERS 255 #define NCLIST (100+16*MAXUSERS) #define NFILE (16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL)) #define NINODE ((NPROC+16+MAXUSERS)+32+(2*NPTY)) #define NPROC (20+8*MAXUSERS) .. to verify if your system is Trusted do: root: /usr/lbin/getprpw root .. uname command won't work if hostname is greater that 8 char, you can edit /etc/rc.config.d/netconf & add NODENAME=(8 char_name) to have uname work. George M Jempty ================================================================================ In a variation on Harry D Brown Jr.'s script (below) for displaying VG totals, especially if you use column 6 the logical partition name, as opposed to column 1 the physical file name: I find it useful to pipe bdf to: 'grep [0-9]%' which not only skips the header line, but also lines on which the device file name in column 1 stands alone because it was so long it inserted a new line. SHABU KHAN ================================================================================ Hi, Here is a perl one-liner to print yesterday's date, can be changed to print date in different format: print `perl -e '@T=localtime(time-86400);printf("%02d/%02d/%02d",$T[4]+1,$T[3], ($T[5]+1900)%100)'` -Shabu Eric Ladner ================================================================================ Kill off a bunch of processes that match a certian pattern: ps -ef | grep mybad-process | awk '{ print "kill " $2 }' | /bin/ksh Be specific enough in what you are grepping for so you don't kill off too much. It's a good idea to execute just the 'ps -ef | grep mybad-process' to see what is going to get whacked first. If you're skiddish about dumping the list unseen to /bin/ksh, you can leave it off and cut/paste into a terminal a few at a time. Eric Ladner ================================================================================ Here's a handy one. A perl script (attached) that prints a cross reference of all the VG's on the system, what PVs they are composed of, the HW address associated with the PV and selected info from the diskinfo command (vendor, size, etc). All that, and in a nice, one line format. Eric Ladner ================================================================================ If you want to strip the symbol information from a binary file, but don't want to change the modification date on the binary, here's a little shell script I call 'mstrip' that does just that: #!/usr/bin/ksh if (( $# == 0 )); then echo "USAGE: $(basename $0) filename " return fi if [[ -f temptimestamp.foo ]]; then echo "ERROR: Timestamp temp file exists! Check and re-run" return fi while (( $# 0 )) do if [ -f $1 ]; then rm -f temptimestamp.foo /dev/null 2 &1 touch -r $1 temptimestamp.foo strip $1 touch -r temptimestamp.foo $1 rm -f temptimestamp.foo 2 /dev/null else echo $(basename $0): $1 is not a file. fi shift done Ricardo L. ================================================================================ A small and simple script to rename many files with one extention to another extention. for file in *.old_ext do noext=`basename $file .old_ext` mv $file $noext.new_ext done Richard Chris Vail ================================================================================ Several of my favorite tips and shortcuts have already been stated by others. But I haven't yet seen this one: Ensure that you have one system from which you can remsh to all others. Do this with .rhosts and /etc/hosts. The purpose of this is simple: in an emergency you can frequently go to your master system and `remsh othersystem "/sbin/shutdown -ry 0"`. This is because remsh (as well as rcp and NFS) use UDP packets to communicate. UDP packets pass more easily up the stack to the processor than do regular TCP packets. The result is that you can frequently do a gentle reboot of a hung system on which even the console doesn't work. Chris Denver Osborn ================================================================================ If you've lost root passwd and no backdoors to get in, rather than toc or power cycle box (for possible corruption)... try ups. If you have a ups setup properly on box, if you disconnect the ups' power the box should do a graceful shutdown after xx time (whatever was specified w/ ups config). You could then do the powerup and halt as normal to recover lost or locked out root account. -denver Eric Ladner ================================================================================ USE SSH! If you do systems administration on a lot of machines, SSH can save you time and headaches. It takes a while to set it up, but it's worth it. Once your credentials are created, you can ssh, scp, sftp to another machine with NO passwords and it is very secure. Also, if you have ssh set up for root, you can get into a system where you have forgotten your root password using ssh (as long as you can remember the ssh passcode!) There are free (non-commercial) versions of ssh from www.ssh.com, and an open source version from www.openssh.org. Maurice Skubski ================================================================================ If you want to have System Information and you do not want to use cfg2html you can use print_manifest (if you have Ignite installed). This gives you some important System Information (do this after eyery change on your System). Maurice Skubski ================================================================================ oh, another good thing i found out (o.k. i'm new) is: if you want to umount a cdrom and it tells you it is in use, do an: fuser -c /cdrom ps -ef | grep Process IDs and kill them if they are not important. This works also for other mounted file systems. Rodney Hills ================================================================================ Sometimes I get forgetful if I already mounted a cd or not, so I created a shell script to do the mount for me and to test if it already is. I call this script "mountcd" and I can type- mountcd /SD_CDROM (or whatever path) and it will mount at that directory. It will first test if it is already mounted and tell me so. Here is the script ------------------------------ #!/usr/bin/sh cd=/dev/dsk/c1t3d0 arg1=$1 set -A ary `grep "^$cd" /etc/mnttab` arg2=${ary[1]} if [[ "x$arg2" = "x" ]] ; then if [[ "x$arg1" = "x" ]] ; then echo "Syntax : mountcd /MOUNT_POINT" else if [[ -d $arg1 ]] ; then mount -r $cd $arg1 else echo "$1 is not a DIRECTORY" fi fi else if [[ "x$arg1" = "x" ]] ; then echo "CDROM mounted at $arg2" else echo "CDROM already mounted at $arg2" fi fi Ralph Grothe ================================================================================ Hi, good idea such a wee collection of admin tools. Attached you may find a little scriplet I wrote to ease the configuration of a SG cluster (i.e. distributing config changes to each node, checking and applying the configuration), without worrying if one is administering from the "right" node... Ralph Grothe ================================================================================ Just a little addendum to my preposter Maurice's suggestion regarding fuser. I usually use it in one go, i.e. list the procs. I discovered this when I read the manpage of fuser, where it say that the HP-UX version of this command redirects all other output than the PIDs to stderr. So here is how I run the command (this should also make a nice little alias ;-) # ps -fp "$(fuser -cu /opt 2 /dev/null)" Bryan ================================================================================ Add some personality to your interactive scripts: #!/bin/ksh bold=$(tput smso) offbold=$(tput rmso) print "${bold}Please type in your name: ${offbold} \c" read line Bryan ================================================================================ Script to search for specific string in 'ascii' or 'command text' files. Avoids searching through binary files which botch up the terminal screen sometimes. Krishna Prasad ================================================================================ When ever you need to name a file that will automatically be generated and not over written use date as an extension. echo "create filename" filename.`date +%H%M%S` Ralph Grothe ================================================================================ In the same catagory falls another nice feature of HP-UX's POSIX shell. Just like the beloved bash is it capable of doing integer arithmetiks. A nice goodie that always comes in handy when you have to do some mundane "calculation", say extending filesystems using OnlineJFS. This is how I do it (say, after I extended the size of the LV to 240 MB) fsadm -b ((240*1024)) /mount_point Or, how to do a quick conversion from hex to dec or vice versa (sometimes you need this when tampering with certain kernel tunables # printf %d\\n 0x1aff 6911 # printf %x\\n 6911 1aff Ralph Grothe ================================================================================ Oops, I saw that the dollar sign slipped away in my fsadm statement. Of course, it has to be fsadm -b $((240*1024)) /mnt Ralph Grothe ================================================================================ Aliases (Latin literates, shouldn't it be alii?) are always a good way to make life a little easier at the shell (of course you do have to remember them ;-) Here are some, I usually set in my .*shrc files. Someday I discovered, that newer HP boxes are delivered with a manifest file where amogst other things the bloody Serial No. (which you always have to know when calling HP support) is stored. So I made me this alias (it doesn't have to be Perl for a text filter) alias serial="perl -ane 'print \"\$F[-1]\n\" if /\s+serial\s*number/i' \ /var/opt/ignite/local/manifest/manifest" Apropos Perl, I always want to have a quick overview of my installed CPAN modules, this alias could help alias perlmods="perl -MConfig -MFile::Find -e 'find(sub{ print \"\$File::Find::name\\n\" if /\\.pm\$/ }, @Config{qw(installprivlib installsitelib)})'" Another often needed number is your host's IP # host identity alias myip="awk -F= '/^IP_ADDRESS\[0\]/ {print \$2}' /etc/rc.config.d/netconf| sed 's/\\\"//g'" alias myname="awk -v ip=\$(myip) '\$1==ip {print \$2}' /etc/hosts" alias mynet="netstat -in|awk -v ip=\$(myip) '\$4==ip {print \$3}'" alias mydomain='echo `myname`|cut -d. -f2-$NF' Then one always has to fiddle with PVs, VGs, and LVs, so these help me # typeset -f pvs pvs () { /usr/sbin/vgdisplay -v $* 2 /dev/null | awk '/PV Name/ {print $NF}' } # typeset -f dskinfo dskinfo () { for pv in $(pvs $* | sed 's/dsk/rdsk/'); do /usr/sbin/diskinfo $pv; done } # alias vgs alias vgs='vgdisplay 2 /dev/null|awk '\''/VG Name/{print $NF}'\''' # typeset -f lvs lvs () { /usr/sbin/vgdisplay -v $* 2 /dev/null | awk '/LV Name/ {print $NF}' } So I can say # dskinfo $(pvs vg01) | head SCSI describe of /dev/rdsk/c1t6d0: vendor: SEAGATE product id: ST336704LC type: direct access size: 35566480 Kbytes bytes per sector: 512 SCSI describe of /dev/rdsk/c2t6d0: vendor: SEAGATE product id: ST336704LC type: direct access # lvs vg00 /dev/vg00/lvol1 /dev/vg00/lvol2 /dev/vg00/lvol3 /dev/vg00/lvol4 /dev/vg00/lvol5 /dev/vg00/lvol6 /dev/vg00/lvol7 /dev/vg00/lvol8 /dev/vg00/gnu /dev/vg00/lvol10 /dev/vg00/lvol11 /dev/vg00/arch_b13 /dev/vg00/zoo /dev/vg00/lvol12 Mark Mitchell ================================================================================ I just used this, but it doesnt seem to be well known that pvlinks can be used to load balence and increase performance PV links are for redundancy but can be used to load balence. If you do a vgdisplay -v on a vg you will see 2 addresses for the disk. The first is used as a primary and the second is backup. If you vgreduce the first address "vgreduce /dev/dsk/c10/t1/d0 vg02" the second address becomes the primary. The next step is to vgextend the same disk back "vgetend /dev/dsk/c10/t1/d0 vg02" So now the old primary is the backup pvlink. I use this to force single contoler units to use both controlers by doing this to half of the disks. That way there is still redundance if either controler fails but performance is increased if you know where to split the disks. Obiously on a striped system this is a no-brainer Mike Hassell ================================================================================ Hello All, All I have to offer is a neat way to ensure a tape is actually inserted in the DDS drive before you kick off your make_tape_recovery. See attached for actual script. Modify it to fit your needs and create a no_tape_msg flat file that contains a generic message that requests that operators place a tape in the drive. This way you feel confident that your make_tape_recovery at least has a tape in the drive to work with and if it doesn't you can make yourself and others aware of this fact. The only other thing I can offer is my favorite telnet proggie for Windows and it's free! http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html -Mike Sudalaimani ================================================================================ Hi, How abouth this tips, A. Shared memory Check 1. # ipcs -ma 2. #ipcs -mob B. The tools such as "cleanup" to reclaim sum spaces in cleaning the superseed patches. 1. Download & install the utility from the patch PHCO_24347 (11.00) & PHCO_24630 (11i) 2. This will also install "show_patches" & "check_patches" utility refer man cleanup, show_patches, check_patches for further help after installing the patches, which DON'T NEED a REBOOT. FYI Sudalaimani Kurtkarl ================================================================================ * Changing filenames from lowercase to uppercase: - #! /bin/csh for x (`ls`) set y = `ls $x | tr a-z A-Z` mv $x $y end Joey Kurtkarl ================================================================================ * Posting system information via html - download ???nickel.tar??? at ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/inventory - untar nickel.tar - run ./nickel note: this will get all system information and will save (default) on /tmp nickel.host - create a cronjob ex. 03 06 * * * /opt/contrib/bin/nickel -n -o /tmp/tools/System.Info/ systemname /dev/null 2 &1 note: -o if u want to specify another output directory - point your browser to nickel output dir H.Merijn Brand (procura) ================================================================================ Here's a script to always mount the CD the way it should (CDFS vs. ISO-9660 with RR extensions) modify line 5 with your device and mount point. Have fun. #!/pro/bin/perl -w use strict; my ($cmd, $dev, $mnt) = ("mount", "/dev/cd0", "/cdrom"); sub usage () { print STDERR "Usage: $0 [ mount-point ]\n", " mount CD-ROM on $mnt for ISO-9660 with RockRidge extens ions\n"; exit; } # usage @ARGV == 1 and $ARGV[0] eq "-?" || $ARGV[0] =~ m/^-+help$/ and usage; sub stop (@) { print STDERR @_; exit 1; } # stop @ARGV and $mnt = shift; $ == 0 or stop "You have to be root to be able to mount\n"; $mnt =~ m:^/: or stop "Mountpoint should be an absolute pathname\n"; -d $mnt or stop "Mountpoint $mnt is not available\n"; if ($^O eq "hpux") { my $fst = "/etc/pfs_fstab"; $cmd = "pfs_mount"; unless (-s $fst) { -b $dev or stop "Cannot mount $mnt on $dev, device does not exist\n"; open my $fs, " /etc/pfs_fstab" or stop "Cannot create $fst: $!"; print $fs "$dev $mnt pfs-rrip xlat=unix 0 0\n"; close $fs; } unless (grep m/\bpfsd$/, `ps -e`) { print STDERR "Starting PFS\n"; system "nohup /usr/sbin/pfs_mountd &"; system "nohup /usr/sbin/pfsd &"; sleep 1; } unless (grep m/\bpfsd$/, `ps -e`) { print STDERR "PFS not running\n"; exit $!; } } $0 =~ m/umount/ and $cmd =~ s/mount/umount/; if (grep m/^pfs_u?mount:/, qx "$cmd $mnt") { $cmd =~ s/^pfs_//; system "$cmd $mnt"; } Vijeesh CTK ================================================================================ hi, To find out system details use this command "print_manifest" (shows when OS is intsalled etc etc) provided ignite-UX should be installed on the system. Vijeesh CTK Vijeesh CTK ================================================================================ Hi, to find out system details try this command "print_manifest"( like OS installed date etc) provided ignite-UX installed on the system Vijeesh CTK Gamoji Raghavendra ================================================================================ Hello, Might be a simple one. But I use very often. To count the total number of lines in all files with extension .ext : wc -l `find . -name *.ext` bye Raghu. Tore ================================================================================ locate command.Find any file on the system in a second. Can be implemented like this : crontab entry : 55 23 * * * find / -print ~root/.locate.db Then make a simple shell script : # cat /opt/bin/locate grep -i $1 ~root/.locate.db warning : there are security reasons why you shouldnt let users find every file on you system. Ralph Grothe ================================================================================ Ah, this thread is still going on. Here another suggestion. I miss the -a option in HP-UX's ifconfig command like in Linux, FreeBSD, Solaris etc. So I defined me this function. Should best be put in ones .*shrc file. (sorry for the clutter, but this texterea box doesn't preserve multiple whitespace, how about a pre tag aware textarea input box in the forum?) ifconfig() { if [ "$1" = "-a" ]; then for if in $(/usr/sbin/lanscan|/usr/bin/awk '$4=="UP" {print $5}'); do /usr/sbin/ifconfig $if done else /usr/sbin/ifconfig ${@:-$@} fi } Alan Riggs ================================================================================ Soem earlier hints have alluded to this, but *learn your shell*. Very often I see folks using unnecessary commands to do what is more efficiently done through basic shell functionality. For example: for DSK in $(ls /dev/dsk) should be for DSK in /dev/dsk/* cat /file | while read VAR do . . . done should be while read VAR do . . . done file And, of course, make yourself comfortable with the sh/ksh variable masking: ${VAR%rep) ${VAR#rep} James R. Ferguson ================================================================================ Hi: To add to Alan Riggs' suggestion, instead of using 'cat' to read a file and pipe the output to 'grep' or 'awk': Not this: # cat /etc/hosts|grep localhost # cat /etc/hosts|awk '/localhost/ {print}' But this: # grep localhost /etc/hosts # awk '/localhost/ {print}' /etc/hosts Regards! ...JRF... Eric Ladner ================================================================================ Show all the processes on the box in roughly time order: ps -ef | sort -k 5,5 Very handy if you are looking through a slew of processes trying to find a group of procs started at the same time. Eric Ladner ================================================================================ Search a bunch of files and replace a text string within them only if it was originally found in the file (recursively from the current directory down): find . -type f | while read file do if (grep -q 'some string' $file); then sed -e 's/some string/other string/g' $file $file.new && mv $file.new $file fi done The && keeps the mv from trashing the file if the sed fails and the grep keeps the file from being modified unless it actually contains the string you are interested in changing. Eric Ladner ================================================================================ Go get the gnu findutils package! gzip -dc findutils-4.1.tar.gz | tar -xf - cd findutils-4.1 ./configure make make install alias find=/usr/local/bin/find # Add to your profile The main reason to go though all this trouble is the gnu version of find has one killer feature for sys admins to use when tracking down problems.. find . -mmin -10 The -mmin expression finds files that have been modified in the last few MINUTES! The regular version of find won't do anything less than a day. It follows the same rules as the -mimte for find (i.e. +10 is older than 10 minutes, -10 is younger than 10 min, etc.) Jeff Schussele ================================================================================ List file by size in descending order & restricting to current filesystem: du -akx | sort -nr This is especially useful for finding hogs in the root filesystem. NOTE: use -d in place of -x for Solaris Jeff Holger Knoppik ================================================================================ Hi ! I hope i didn't miss a post that contains stuff like the following attachment: (The script should make sure to use version 1.2.4a of gzip...) RGDS, Holger Holger Knoppik ================================================================================ Hi again ! OK, a little bit ignite stuff to save a machine to an ignite ux server ... RGDS, Holger H.Merijn Brand (procura) ================================================================================ Some verrrrry old perl script to easy see lines from a ps, but only the columns I want to see (here I created the script to see the nice value, but if you have special needs, it should not be that hard to change). l1:/u/usr/merijn 102 px nfsd USER PID PPID PRI NI SIZE STIME TTY TIME COMMAND root 1524 1 154 20 0 Feb 25 - 0:11 /usr/sbin/nfsd 8 root 1534 1524 154 20 0 Feb 25 - 0:11 /usr/sbin/nfsd 8 root 1528 1524 154 20 0 Feb 25 - 0:11 /usr/sbin/nfsd 8 root 1530 1524 154 20 0 Feb 25 - 0:12 /usr/sbin/nfsd 8 root 1540 1524 154 20 0 Feb 25 - 0:11 /usr/sbin/nfsd 8 root 1536 1524 154 20 0 Feb 25 - 0:12 /usr/sbin/nfsd 8 root 1544 1524 154 20 0 Feb 25 - 0:10 /usr/sbin/nfsd 8 root 1542 1524 154 20 0 Feb 25 - 0:12 /usr/sbin/nfsd 8 l1:/u/usr/merijn 103 All in nice colors. The way it is done is by filtering the output of ps, which should prove to be very unreliable cross-platform, but it works for ages now, and I almost never use ps anymore. I'll post a more modern ps util in a few minutes. (BTW .tgz is the same as .tar.gz which is a gzipped tar file H.Merijn Brand (procura) ================================================================================ Another ps example in perl, but for this one you need a more portable module: Proc::ProcessTable, which can be found on CPAN (ftp://download.xs4all.nl/pub/mirror/CPAN/modules/by-module/Proc/Proc-ProcessTab le-0.34.tar.gz) This one shows the users processes, sorted by parent, so its very easy to see what process started what thread. if the first argument is like -1, it kills the tree of the next argument i2:/u/usr/merijn 120 killdown USER PID TIME COMMAND 203 5126 0:00 sh /pro/3gl/CPAN/perl-current/smoke.sh 203 18390 0:00 perl -w mktest-gcc 203 16706 0:04 dead 203 19256 0:00 make 203 26342 0:00 sh ext/util/make_ext dynamic lib/auto/Encode/Encode.so MAKE=make LIBPERL_A=libperl.a 203 18896 0:00 make all LINKTYPE=dynamic LIBPERL_A=libperl.a 203 18156 0:00 make -f Makefile all LIB= LIBPERL_A=libperl.a LINKTYPE=dynamic PREFIX=/pro OPTIMIZE=-O PASTHRU_DEFINE= PASTHRU_INC= 203 23736 0:03 ../../../miniperl ../compile -Q -o EUC_KR.c -f EUC_KR.fnm 203 14348 0:00 fmdmn -l .::/pro/dbu/fin/test/file.db 203 16560 0:01 xterm 203 24826 0:00 -csh 203 22140 0:00 perl -w /pro/local/bin/killdown 203 20388 0:00 cmdmn .::/pro/dbu/fin/test/file.db 2048 1000 -Olog 203 20640 0:00 lgdmn -n .::/pro/dbu/fin/test/file.db 203 20898 0:00 cldmn -d.::/pro/dbu/fin/test/file.db i2:/u/usr/merijn 121 H.Merijn Brand (procura) ================================================================================ Viewing back this last post makes me realize that somehow all spaces are compressed in this newsgroup making the output of killdown rather useless. Here it is attached Sachin Patel ================================================================================ LVM For HFS file system pvcreate pv_path mkdir vg?? mknod /dev/vg??/group c 64 0x??0000 chmod 644 /dev/vg??/group vgcreate -s 32 vg22 /dev/dsk/c4t0d0 lvcreate -n hp6 -l 8114 /dev/vg22 newfs -F hfs -b 65536 -f 8192 -o largefiles -t 32 -c 32 /dev/vg22/rhp3 tunefs -e 624 -m 1 /dev/vg22/rhp1 For vxfs file system pvcreate pv_path mkdir vg?? mknod /dev/vg??/group c 64 0x??0000 chmod 644 /dev/vg??/group vgcreate -s 32 vg22 /dev/dsk/c4t0d0 lvcreate -n hp6 -l 8114 /dev/vg22 newfs -F vxfs -b 8192 -o largefiles /dev/vg17/rbp1 Will give you result like following version 3 layout 874217472 sectors, 109277184 blocks of size 8192, log size 256 blocks unlimited inodes, 109277184 data blocks, 109272736 free data blocks 3335 allocation units of 32768 blocks, 32768 data blocks last allocation unit has 28672 data blocks first allocation unit starts at block 0 overhead per allocation unit is 0 blocks Sachin David Lin ================================================================================ ftp put "| tar cf - ." filename.tar Try the feature of the "put" and "get" command from the FTP-System creates a tarfile of . on the fly while transferring. Carlos Fernandez Riera ================================================================================ One very silly: You are working on console and need to run a large recovery: dont use verbose option cpio -i better that cpio -iv tar tf better than tar tvf Console is 9600 BPS, a slow device, and verbose option is showing lots of information, so the recovery runs slowly. Kristopher March ================================================================================ Use the /usr/bin/w command to give you the Load Average among other useful things, number of users logged on and date and uptime of the box. Domenico Vizzoca ================================================================================ Protect your directory from accidental rm. In directory that you want protect, create a file named "-o", this is will be the first in list, so you receive an error when you run rm * in this path because you can't delete it without a regards dom Niraj Kumar Verma ================================================================================ Hi, to get the correct user login stirng from password file # grep '^loginname:' /etc/passwd will return the correct line from the password file. -Niraj David Burgess ================================================================================ How to Wipe a disk ------------------ Sometimes you need to be sure no data is remaining on a disk ( rm only removes the link to the inode, the data is still on the disk). Here's how you can do it under HP-UX Check /dev/zero exists. If it doesn't create it with mknod /dev/zero c 3 0x00003 Overwrite the disk with zeros as follows: dd if=/dev/zero of=/dev/rdsk/cxtxdx Regards Dave. David Burgess ================================================================================ How to create a large file To create a file 50MB called big, do:- prealloc big $((50*1024*1024)) It creates a file of type english text. Dave. Mahima Kaushik ================================================================================ I am sure most of us use this every now and then but for those who don???t, here is the way of finding files owned by one user and changing the owner to another user: # find /dir ???user userid1 ???exec chown userid2 {} \; You can change the group ownership this way too. Thanks! MK Neale Machin ================================================================================ when you want to add a new add a new logical volume to a VG but require it to be on a specific disk (ie load balacing for databases) first create the new lv without any size then lvextend it into the PV. ie lvcreate -n lvFOOBAR /dev/vgxx lvextend -l 1024 /dev/vgxx/lvFOOBAR /dev/dsk/cxtxdx Mark Landin ================================================================================ Use the ch_rc command to edit files in /etc/rc.config.d rather than doing it by hand. This was a goodie I didn't know about until fairly recently. Yogeeraj ================================================================================ Hi, Nice list of tips! Here is my contribution, one which has proven useful in so many cases when i had to mount and remount Oracle CDs during Oracle Installations. ============================== #!/usr/bin/ksh # Name: pfs_mcd.sh if ps -ae|grep -v grep|grep pfs_mountd /dev/null 2 /dev/null then echo pfs_mountd already started else echo Starting pfs_mountd nohup /usr/sbin/pfs_mountd & sleep 5 fi if ps -ae|grep -v grep|grep pfsd /dev/null 2 /dev/null then echo pfsd already started else echo Starting pfsd nohup /usr/sbin/pfsd & sleep 5 fi if /sbin/mount|grep /SD_CDROM /dev/null 2 /dev/null then echo Unmounting /SD_CDROM pfs_umount /SD_CDROM /dev/null 2 /dev/null else echo Mounting /SD_CDROM pfs_mount /SD_CDROM /dev/null 2 /dev/null fi ============================== Cheers Yogeeraj V. V. Ravi Kumar ================================================================================ hi, booting from alternate kernel. HP-UX: Booting from an alternate kernel Press a key, while PDC is waiting for the 10 seconds manual overide. Autosearch for boot path enabled To override, press any key with 10 seconds. Boot from primary boot path (Y or N)? N Boot from alternate boot path (Y or N)? N Enter boot path, comman, or ? console boot Interact with IPL (Y or N)? Y Booting... Boot IO Dependent Code (IODC) revision 4 Hard Booted ISL Revision A.00.38 Oct 26, 1994 ISL hpux boot disk()/stand/vmunix.prev regds Martin Burnett ================================================================================ Hello Everyone, Everyone has run into root space issues in filesystems where there simply is no more room. The problem is to move all of the data to a new filesystem and then link it back to it's old directory. I have found this very useful, particularly when large amounts of data are concerned: Moving directory to make disk space available on root disk with fbackup/frecover. Example moving /var/adm/sw to new filesystem /data on another disk: du -sk /sw (make sure there is enough space in the new fs for the directories being moved) cd /var/adm fbackup -i ./sw -f - | (cd /data; frecover -Xrf -) diff /var/adm/sw /data/sw (make sure they are the same) rm -r sw (this removes all sw files and directories from /var/adm!) ln -s /data/sw /var/adm/sw (use soft link across file systems) cd /var/adm/sw ll (test link) Thanks for participating in the forums, Martin Chaos reigns within. Reflect, repent, and reboot. Order shall return. Alexandre Dumont ================================================================================ Hi all, ** Get Lan information Don't like to use lanadmin, lanscan or ifconfig depending the information you need ? With /usr/sam/lbin/laninfo you get all in one ! And furthermore, the output is easy to awk ! usage: /usr/sam/lbin/laninfo [-hi] -h - print hw_ift hardware info -i - print ip address info Sample of output: 0 0/0/0/0 00306E2CE67A 00306E2CE67A 119 btlan3 802.3 lan0 up 30.0.0.22 255.0.0.0 30.255.255.255 1500 HP_BASE100 100000000 1 1 1 0/4/0/0 00306E37E78F 00306E37E78F 119 btlan5 802.3 lan1 up 172.24.88.22 255.255.255.0 172.24.88.255 1500 HP_PCI100 100000000 1 0 2 0/5/0/0 00306E37D796 00306E37D796 119 btlan5 802.3 lan2 down 0.0.0.0 255.255.255.255 0.0.0.0 1500 HP_PCI100 100000000 1 0 3 0/12/0/0 00306E37F7C1 00306E37F7C1 119 btlan5 802.3 lan3 up 192.168.0.84 255.255.255.0 192.168.0.255 1500 HP_PCI100 100000000 1 0 The columns are: NMID/PPA, HW Path, MAC, MAC (?), (?), driver, protocol (?), name, state/link, IP, mask, Broadcast, MTU, Tipe, Speed, Duplex, Auto Negociate (Duplex information seems to be: 0=HD, 1=FD, -1=N/A ) ** Suspend/Resume task Sometime it's usefull to stop (suspend) a process, but without killing it, so you can still resume it after a while. kill -25 pid : suspend process pid kill -26 pid : resume execution of process pid ** Use "hpterm" function keys while in a vt100 session I think hpterm may be good, but i don't use to use it, mostly because it require X (doesn't it?). Anyway, most of the time i use a vt100 emulation. Once i wanted to use "glance" and, surprise, i needed to use the "hpterm" funtions keys. Well after searching for a while i found this: vt100's ESC+p = hpterm's "F1" vt100's ESC+q = hpterm's "F2" ...and so on. Hope it can help. Great Forum ! Alex summary of site-wide JavaScript functionality this drop down will allow you to select a language English » Contact HP Search: Forums advanced search IT Resource Center (Forums) All of HP (US) IT Resource Center Forums HP-UX databases download gunzip - This thread has been closed ============================================= » IT Resource Center ================== » Login » Register » My profile » Search knowledge base » Forums » Patch database » Download drivers, software and firmware » Warranty check » Support Case Manager » Software Update Manager » Training and Education » More maintenance and support options » Online help » Site map Member icons HP moderator Expert in this area Member status ITRC Pro 250 points ITRC Graduate 500 points ITRC Wizard 1000 points ITRC Royalty 2500 points ITRC Pharaoh 7500 points Olympian 20000 points 1-Star Olympian 40000 points 2-Star Olympian 80000 points » How to earn points » Support forums FAQs Question status Magical answer Message with a response that solved the author's question Favorites status Add to my favorites Delete from my favorites Thread closed Author Subject: download gunzip chetana07 ================================================================================ where do i download latest version of gunzip for HP-UX 11.11i? ================================================================================ Here it is : http://hpux.connect.org.uk/hppd/hpux/Gnu/gzip-1.3.12/ -Arun TY 007 ================================================================================ Hello, Should be default installed in OS. # /usr/contrib/bin/gunzip -V gunzip 1.3.5 (HP-UX fixlevel 1) (2002-09-30) Copyright 2002 Free Software Foundation Copyright 1992-1993 Jean-loup Gailly This program comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Compilation options: DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H HAVE_LSTAT Written by Jean-loup Gailly. Thanks tkc ================================================================================ hi chetana07, you may get all hp-ux package here : http://hpux.connect.org.uk/hppd/hpux/ chetana07 ================================================================================ thanks for the response


SUBJECT: FAVORITE SYSADMIN SCRIPTS YOU ALWAYS KEEP AROUND (3) Bill McNAMARA ================================================================================ As the previous thread was getting quite large, I've decided to start a new thread: favorite sysadmin scripts you always keep around (2) http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x836cc1c4ceddd61190050090279cd0f 9,00.html favourite sysadmin scripts you always keep around (1) http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f 9,00.html PLEASE attach scripts as a txt file to facilitate cut and paste. TOP POINTS for tried tested and improved and corrected scripts! (ie use at your own risk!) Later, Bill ================================================================================ Not really an individual script - but a tool nonetheless. For anyone running a MC/SG cluster, this is a valuable tool to monitor your environment to ensure all nodes are configured equally. http://h40045.www4.hp.com/data/ccmon-service-brief.pdf There is a small cost - usually just 1 or 2 "technical service days" from your support contract. Note: This doesn't have to be just for MC/SG - any application where you need to monitor similiar configurations across multiple machines will work as well (IE SAP App Servers). Rgds...Geoff Procnus ================================================================================ Here's a short perl script I use to find out who is logged in more than once. It's output is a little nicer than sorting and uniq'ing a who Steven Ramkumar Devanathan ================================================================================ Five tips - not scripts - for configuring apache. ((teaser below)) 1. AcceptMutex 2. Use 2.0 and threading (worker MPM) 3. SSL session cache 4. KeepAliveTimeout 5. Using mod_status And the link is this - http://builder.com.com/article.jhtml?id=u00320020423ere01.htm&page=1&vf= fb HTH. - ramd. Stefan Farrelly ================================================================================ Script to loop every second showing how many bytes are coming in to your default lancard. Easily changed to show outbound also. Very handy to see how much traffic is going in and out. #!/bin/ksh function lanad { lanadmin EOF /tmp/t 2 &1 lan display quit EOF cat /tmp/t|grep Inbound|grep Oct|awk '{print $4}' } echo "Inbound Bytes per second on default lan interface" let z=0 while true do sleep 1 let x=$(lanad) let t=$x-$z echo $t let z=$x done Doug Burton ================================================================================ Two things for your .kshrc file. Cleanup your ps|grep search. Usage: seek something alias seek='ps -ef|grep -v grep|grep -v "ps -ef"|grep -i ' Add the server name and current directory your in to the top of an xterm or dtterm window. NOTE: Changes the "cd" command. #################################### # Set window and icon titles #################################### # put text on the X-window title bar setTitle() { hn="$1" if [ "$TERM" = "hp" -o "$TERM" = "hpterm" ] then echo "^[&f0k${#hn}D$hn^M\c" elif [ "$TERM" = "xterm" -o "$TERM" = "vt100" ] then echo "\033]2;$hn\007\c" elif [ "$TERM" = "dtterm" -o "$TERM" = "vt220" ] then echo "\033]2;$hn\007\c" fi } typeset -fx setTitle # Lets set an alias _cd() { 'cd' ${1:-$HOME} ${2:-} setTitle "`hostname`:`pwd`" 1 &2 } alias -x cd="_cd" _cd . Doug Burton ================================================================================ I don't remember why but I needed a big test file. I then got a bit carried away and made this.... Doug Burton ================================================================================ This is another file system size checking script using bdf. File system is = 90% - email root. File system is 95% - page somebody. It will work when lvol names are large and running bdf drops the "kbytes used" etc data to the next line. Sajith V Mannadiar ================================================================================ Attached are some useful scripts, bigfile - To find large files in a filesystem For eg, bigfile /var 10\*1024\*1024 will list all files of size greater than 10MB Regards, Sajith Sajith V Mannadiar ================================================================================ Attached script (bigdir) will list you all large folders in a filesystem for eg., bigdir /var 100\*1024\*1024 will list all folders larger than 100MB in /var Regards, Sajith John Meissner ================================================================================ Here is a script that will let you open a terminal window on someone's workstation and post a messgage to it. I've found this to be useful at times. John Meissner ================================================================================ This script can be used as a splash screen at the beginning of a script. It contains 2 files. the script and a wxd image file. I won't go into how to create the image file but I'm tar/gzip'ing the script and an image file (as an example) Sajith V Mannadiar ================================================================================ Here is a very handy script to create all the mount points required for the filesystems listed in fstab... The script - create_mnts ----------- #!/bin/ksh cd / echo "Creating the required mount points..." cat /etc/checklist |grep -v "^#"|awk '{print $2}'| while read dir_name do if [ ! -d ${dir_name:="/etc"} ] then umask 022;mkdir -p $dir_name echo "Directory $dir_name created..." fi done echo "Creating the required symbolic links..." cat /etc/checklist |grep "symbolic link" | while read link_entry do sdir=`echo $link_entry|cut -d" " -f2` ddir=`echo $link_entry|cut -d" " -f3` ddir1=`dirname $ddir` ddir2=`basename $ddir` umask_val=`echo $link_entry|cut -d" " -f8` umask $umask_val mkdir -p $ddir1 cd $ddir1 ln -s $sdir $ddir2 echo "Created link $ddir - $sdir " umask 022 done --------------------------------------- Sample fstab attached -------------------- In our lab, at times, the systtem load increases due to some runaway processes... Here is a one-liner to catch hold of them.. I call it 'runproc' #!/bin/ksh ps -elf|grep " R "|grep -v -E 'grep|ps' ----------------- John Meissner ================================================================================ this script will report the number of CPS's and their speeds. Dave La Mar ================================================================================ Attached is a script written because we got tired of mailing out files for the HP CE Tech. When invoked, the CE can attach a number of files and send to a number of email addresses. The call to MOTD has a privacy message for our protection, so you can be calling your own or comment this out. The $MAILX_FILE is an executable that simply performs the mailx command and send out the attachments. Have fun. dl Charles Harris ================================================================================ Hi, here's my totaly pointless script to add that Matrix feel to anything you like:- #!/usr/bin/sh # scroll # Don't ask. typeset -i x=0 strg_len=`echo "$*" | wc -m` #clear delay () { base=0 time=$1 while (( time base )) do (( time = time - 1 )) delays[x]="Delay?" done unset delays[*] } while (( x $strg_len )) && (( $strg_len 1024 )) do (( x = x + 1 )) scroll[x]=`echo "$*" |cut -c $x` [ ${scroll[x]} ] 2 /dev/null && { print "${scroll[x]}\c" delay 2000 } || { print "${scroll[x]}\c" delay 5000 } done tput cud1 Good for a laugh! -ChaZ- Mark Landin ================================================================================ I'm wondering what your criteria is for assigning points to a submission? Why are some "10-pt" scripts and others just 6 or 7? I ask because a few of my submissions on an earlier thread got 6 or 7 and I'm wondering if that means there was something incorrect about them... Steven E. Protter ================================================================================ Its been a while since I contribued here. I have a few more. check_rootlogin It reports on bad root login attempts. I use it in cron. It can be set to auto disable the id, but I didn't think that was a very good idea. SEP Steven E. Protter ================================================================================ dailydisk.sh Provides sysadmin with a list of new large files created in size order. This is a production script. BTW, I did check my back posts for dups. SEP Bill McNAMARA ================================================================================ Oh yea, the 10 points go to everyone who posts a reasonable script at least once. If you post 5 reasonable scripts all in a row, you'll get 5 * 2 points, or 5 * 6 points depending on my mood, and somethimes depending on how useful I think the script is. Othertimes I give less points if you don't attach the script as a txt attachment. points of 8 and above show up in your Top Answers, so I don't like to pollute your Top Answers with 5 "favorite sysadmin scripts you always keep around (3)" lines - one is enough. I also pay attention to those who take scripts from the other "favorite" threads and post them up here.. you may get 0 points! Later, Bill Shaun Aldrich ================================================================================ Anti-Virus Script??? Everyone's scripts look amazing. Does anyone have a script or know how to create a script which will run on HP-UX or Solaris and can automatically deploy the latest virus definition files which are copied from the internet to the unix server? Once I have copied the latest virus definition file to a directory on the unix server manually the script should ssh the virus definition file to all the Windows 2000 servers and install it. Since it is a secure environment only ssh or scp are enabled not telnet or ftp. Any help on this one is greatly appreciated? John Meissner ================================================================================ I just finished, and tested successfully, this script. I've been using make_sys_image for a while writting to tape. I wanted to write create an ISO image instead. This script will create a bootable DVD image that you can use a DVD burner to write the image with. You will need CDRW software installed on your HP-UX machine (it's usually installed here: /opt/OpenSource/xcdroast-0.98 You may need to edit some of the paths in the script for your own use - but on my system it works very well. Karthik S S ================================================================================ Lots of great scripts are available at, ( Unix Power Tools, 2nd Edition: Examples ) ftp://ftp.oreilly.com/published/oreilly/power_tools/unix/upt9707.tgz Regards, Karthik Jim Gerken ================================================================================ Hey you guys are right on it... I have the following script which seems to give me what I need. echo "PID USER CPU% MEM_SIZE COMMAND" while true do UNIX95= ps -eo "pid ruser pcpu vsz=Kbytes" -o comm | grep oracleT5751 sleep 1 done It returns something like this... 8532 ormesa 0.02 32832 oracleT5751 536 ormesa 0.02 32832 oracleT5751 524 ormesa 0.02 32832 oracleT5751 22005 ormesa 0.02 32832 oracleT5751 8536 ormesa 0.02 40128 oracleT5751 I need to graph this in excel to show the memory / cpu consumed by each pid. I'm a little confused on how to setup the graph? any ideas... H.Merijn Brand (procura) ================================================================================ perl/Tk several examples can be found in the graph scripts included in the Statistics on https://www.beepz.com/personal/merijn/#Statistics or http://www.cmve.net/~merijn/#Statistics Enjoy, have FUN! H.Merijn Chris Vail ================================================================================ The attached script answers the simplest, fundamental question that we syadmins have to deal with: are all systems up and running? It uses secure shell to ll the /etc/hosts directory on each remote system. If the directory listing is successful, it assumes that the system is up and running. If not, it advises to "Update your resume'". It emails the results. We run this every day at 8 AM, so that we have no surprises at the 9 AM meeting. Chris ZH. Fragon ================================================================================ Hi,all Here is my backup script,which is invoked by cron every night. She will check the tape first, if type is not ready, she send a mail to a certain mailbox. When this mailbox receive this special mail, it will send a message to the adminiatrator by mobile phone. After backup, it will truncate some log files of the DB, and make a total report and send it to the administrator. This keep the backup always done correctly!!! -ux Jack C. Mahaffey ================================================================================ Looks like I didn't read the last post in the last post so I'm reposting in this thread. There's been numerous times I've wanted to know which corresponding chmod command was needed to securing files and directories. Here's a script that I've created awhile back that others may want to have. Very useful for determining the chmod integer combinations. It lists the 4 digit code, security string, object type, owner:group, and filename. It has saved my rear-end multiple times and I call it from other scripts for when I may need to reset the security properties for a file or directory. Here's an example of running the script... # getchmod /etc/inetd.conf 0644 -rw-r--r-- file root:sys /etc/inetd.conf And yes, it will use wildcards... I've named the script getchmod.... jack... Chris Vail ================================================================================ Attached is one of my more involved scripts, diskasaurus. This is specifically for EMC Symmetrix users, but could be adapted as you see fit. It takes the output of BDF and provides additional interesting information. It determines if the disk is local or remote, whether and/or how it is mirrored. If the disk is striped, it determines whether it is a 4-way or 8-way stripe. Finally, it accumulates the data into .csv format for easy use with Excel or other spreadsheet. I email the results to myself for analysis. You will need the EMC command "inq" available to generate the base information. It has a parent script, T-REX, that I'll attach if anyone is interested. This script uses secure copy to deploy diskasaurus to machines listed in a text file. It then executes it and captures its output into a larger .csv file, and does some interesting subtotals and totals of the data. The first script runs by itself nicely, but with T-REX it becomes a powerful tool to analyze multiple systems simoultaneously. Steven E. Protter ================================================================================ Tired of two line commands to start and stop daemons? Well suffer no longer. restart Let me know if the name causes problems, it is tested. usage: restart daemon name It requires root $LOGNAME It requires a single parameter It saves me typing. SEP RAJESH GANGADHARAN ================================================================================ Hi Attached script will give the number of packets received/transmitted from a lan interface. -Rajesh Massimo Bianchi ================================================================================ Hi, a little query in oracle: select p.spid from v$process p, v$session s, v$mystat m where m.sid=s.sid and s.paddr=p.addr and rownum=1; This is used to extract the pid of the session you are connected to. Usefull because when you generate a user_trace (like in alter database backup controlfile to trace) the output goes to user_dump_dest/ora_ pid .trc , format depending on otacle release. I always hate to list the content and look for my file, guessing... Massimo Steven E. Protter ================================================================================ This beauty is for those Linux-heads who have stepped up to the world of real Unix. HP-UX. In Linux you can stop, start and restart services with a single command. service service httpd restart restarts the httpd daemon(web server) Its nice. As far as I know, no equivalent exists in HP-UX. Until now. It works just the same, taking three valid actions. It may be a bit verbose, but you can play with it to your hearts content. attaching service. This has been tested in all three valid modes. If the script does not exist in /sbin/init.d/ it tells you. WARNING: This script will not protect you from your own stupidity. If you use it to halt a critical service like NFS or the network, your system will lock up good and hard. Use at your own risk. Example: This script did not protect me from my own stupidity when I let it loose on Samba while a file transfer was going on. It is not smart enough to know if its a good idea to start/stop or restart the service, it relies on you for that part. WARNING 2: There are probably some services that can't be stopped and started while the system is running. Once again, this script is only as smart as the person using. It does however ease the transition from Linux to HP-UX. I'm thinking about doing chkcfg(chkconfig?) next. It actually sets up servcies to run which makes it a little harder to port. Enjoy. SEP Steven E. Protter ================================================================================ I'm pretty sure this doesn't deserve any points. Reason is I promised this pup months ago. Its a really minor modification of a slick script given to me by Jordon Bean in response to an itrc post to port my Linux buildmail script. What this script does is it builds the sendmail databases for alisees, access (spam stopper), and such things so you can use your HP-UX box to run an NSP. I don't know how many people actually do that, but I'm in a jam right now. My production Linux Server is running 7.3 Red Hat. It is having hardware problems. It only booted correctly six out of the last seven times. It hung on the memory check a few hours ago, after I loused up the named database. A few weeks ago, its built in video card took a dump. The good news is it came back and the server wasn't down for more than 10 minutes. What I need to do is take production offline, put in a reliable add in video card, put the two hard disks on different IDE channels and rebuild the box. Normally I'd just switch to the backup Linux box. Its been upgraded to Red Hat 9 and none of my sendmail stuff works with sendmail 8.12. So The old D320, my learning box may be pressed into a few days of service to save my tush. DNS, httpd(apache 2 no less) works. sendmail has to work to give me the time I need to fix the Dell Linux box. That was long winded. Here is the script. The script itself works. The sendmail functionaility it creates, databases and such is still being tested furious as I type. Not surprisingly I was able to bring over all my virtusertable, genericstable, tab delimited databases without modification. SEP Zigor Buruaga ================================================================================ Hi, Sometimes "who" shows users that are not logged on the system. I have attached a script that searches ghost users, and remove them. Usually those users closed their X client application improperly. Hope this helps somebody. Kind regards, Zigor Zigor Buruaga ================================================================================ Hi, One more, I usually use the attached script to find in a couple of seconds if a user is locked in the trusted system. If the user is locked due to max failed login attempts, or due to max inactivity time, then is automatically reactivated. Hope this helps somebody. Kind regards, Zigor Zigor Buruaga ================================================================================ Hi, Attached a script that enable/disable passwd aging in trusted systems, only for those users whose home directory is "client". It can be adapted easily to meet other requirements. We did this script because there are users excluded from using passwd. Zeev Schultz ================================================================================ how to find all Suid/Sgid/Sticky bit? find / -perm 4000 -o -perm 2000 -o -perm 1000 And can add any chmod masks one like (writable in /etc ... etc :) ) Zeev Paulo A G Fessel ================================================================================ This script will syncronize the archive logs from one server to another, creating logs of both successful and unsuccessful operations. It's written in perl and is in production here right now. Just change the paths and you'll be able to it yourself. []'s Paulo Fessel Tim Sanko ================================================================================ This finds largest files and tails out the 15 largest. My manger can use it... du -ak $1 | sort -n /tmp/dulist tail -15 /tmp/dulist Tim Tim Sanko ================================================================================ This finds largest files and tails out the 15 largest. My manger can use it... du -ak $1 | sort -n /tmp/dulist tail -15 /tmp/dulist Tim Tim Sanko ================================================================================ This finds largest files and tails out the 15 largest. My manger can use it... du -ak $1 | sort -n /tmp/dulist tail -15 /tmp/dulist Tim Mark Greene ================================================================================ Find out the hardware info for all your disks: #!/bin/ksh for i in `ioscan -fnC disk |grep rdsk | awk '{ print $2 }'` do diskinfo -v $i done It's useful to have a hardcopy or at least the results redirected to a file. That way if you lose a disk and call for a replacement, you have the all important Product ID on hand. mark Hein van den Heuvel ================================================================================ Tim Sanko wrote: This finds largest files and tails out the 15 largest. My manger can use it... du -ak $1 | sort -n /tmp/dulist tail -15 /tmp/dulist I'd suggest telling the system to just find the interesting files before sorting. Perhaps something like: find $1 -size +10000000c -exec du -k {} \;| sort -n | tail -5 fwiw, Hein. Tim Randy Tarrier ================================================================================ I use this to update label name and location on Data Protector cartridges. You supply the backup name, it modifies those fields on the latest session. You can set it to run as post-exec.. Rodney Hills ================================================================================ This script I call "mountcd" helps me by reminding me if I already have a cd mounted. I can type- mountcd /cdrom (to mount cd on /cdrom) mountcd (to tell me if a cd is mounted and where) #!/usr/bin/sh cd=/dev/dsk/c4t3d0 arg1=$1 set -A ary `grep "^$cd" /etc/mnttab` arg2=${ary[1]} if [[ "x$arg2" = "x" ]] ; then if [[ "x$arg1" = "x" ]] ; then echo "Syntax : mountcd /MOUNT_POINT" else if [[ -d $arg1 ]] ; then mount -r $cd $arg1 else echo "$1 is not a DIRECTORY" fi fi else if [[ "x$arg1" = "x" ]] ; then echo "CDROM mounted at $arg2" else echo "CDROM already mounted at $arg2" fi fi John Stiles ================================================================================ Bill, attached is a script i use for file management. John Tim Sanko ================================================================================ Hein, I also have to explain it to my manager who thinks he is "hands on". I have tried to explain "find / -name \*.sar -exec gzip {} \;" to her for enough time to avoid find forever. I also have had to explain the syntax for awk (feel the shudder)... Sometimes simple is better, but not always... Tim Mark Grant ================================================================================ This is odd, ugly and been sitting around inused for a while but it is odd enough to be useful for some people. It checks through the last set of Omniback backup schedules looking for gaps when a tape device was idle. It shows periods of time (in fifteen minute chunks) when each tape drive was not being used. This is useful for making scheduling decisions. Khalid A. Al-Tayaran ================================================================================ Hi all, Not a script really but continuing from Tom Sanko and Hein Van Den Heuvel: To find n largest files, example (largest 20): largestFiles /oracle 20 Here's the technique: find $1 -size +10000000c -exec du -k {} \;| sort -n | tail -$2 | more It worked for me.... Sandro Schaer ================================================================================ We currently run 14 Unix servers and 42 Oracle instances. Unix/Oracle administrations of this environment is only part of my job. I'm the only Unix/Oracle admin here.... So I had to find a way to reduce the amount of time to control this environment. I wrote two daemons checking the most important things on these systems : - Cluster (MC Service Guard) - Oracle Instances - Oracle Listeners package_daemon: - controls Cluster, emails if not running - controls Nodes, emails if one/more not running - controls packages, emails if one/more not running oracle_daemon: - controls oracle instances on this server - controls listeners on this server (lsnr, snmp, ext_proc) - restarts listener(s) if not running - emails if instance(s) not running - emails if listeners not running or restarted Both daemons use a config file which holds the following informations : - email addresses (can be different for each event) - packages to be controled - oracle instances to be controled - which instance(s) belong(s) to what package - check interval - debug on/off Both daemons run on every host usually at a 60second intervals. This can be adjusted at runtime by simply modifying the config files. Also add/remove of packages/databases/... can be done online. Switching on debug creates a logfile with all informations these two daemons gather. Whether to support failover situations (Cluster) or not (single host) can be defined in these config files as well. Best of all : the config file is read before each check. Switched packages and other changes (config files) are automatically recognized. No need for manual intervention. These daemons are more than just a 'simple' admin script. If you like to have more informations or even the sources please contact me offline. It's simply to much to post or attach here. BTW, the whole story is written using ksh. have fun Sandro Mark Grant ================================================================================ Filesystem usage checker on a per filesystem basis. This script allows you to specify warning and critical thresholds for individial filesystem, groups of filesystems (identified with regular expressions) and even filesystems on a range of machines. It can alert to openview, it can keep a database which allows for specifying thresholds and re-arm values. It has the code (commented out) for doing the job across a range of different machines. If checking several machines, those machines can be either HP-UX, Solaris, AIX or Linux or a mixture of them. You'll need to create a config file but an example is in the comments of the script. Mail me if it needs tweaks for your environment. Holger Knoppik ================================================================================ Hi there ! below is one of my weekly cron jobs for backup. NOTE: Only the hostnames are not original. The script is used in a 4 server environment where 2 servers are used as ignite servers. regards, Holger Steven E. Protter ================================================================================ While off in Wyoming, a disk failed on my D380/2 server and mhy previously contributed script checkhardware.sh totally missed it. Apparently it went from lively to death in less than the 24 hour window between check runs. So I needed something that could spot a problem if a drive dies without an lbolt. The idea came to mind to use strings /etc/lvmtab as a database. Then run a pvdisplay and if the error code returns 0 the disk must be okay. If non-zero, email me FAST. So I wrote this script. This script is tested, so I think it qualifies for points. I tested it against an invalid copy of lvmtab and it did indeed email me saying a disk was down. The nice part was that it included the /dev/dsk/c###### info on the email subject line. Anyway, here it is. It actually emails a bunch of people, but I cut those out for privacy concerns. Everyone here knows my email addy anyway. disk.status..... SEP Donny Jekels ================================================================================ I wrote this perl script to mimic a "tail -f /var/adm/syslog/syslog.log" and it runs as a daemon. It searches for key words and email the unix admins and or a pager. It use the module File::Tail It is not inteligent enough, to sense when you switch the log file (yet), so remember to stop and start the daemon when you rotate the logs. peace Donny James Specht ================================================================================ Here is a script I wrote for Data Protector. We backup important workstations, but some of them have been replaced with laptops that sometimes leave our network at night. This script looks for the laptops that are still on the network and adds them to the backup. Example support files included. James Specht ================================================================================ Here's a quick ditty for getting information on the core files you find on your system. find / -name core -type f -exec echo "\n" \; -exec file {} \; -exec what {} \; Ralph Grothe ================================================================================ Hi Bill, not that I would consider this script to be one of my favorites. I just dare to post this quick'n'dirty Perl script here because it is so HP-UX related it wouldn't be of any use on any other platform (you might even rightly question the usefulness on HP-UX) And this forum deals about HP-UX, right? We occasionally get network bottlenecks on some of our database servers during high peak. Before I got the netperf tool I needed something quick to give me a rough estimate on the NICs' throughput and packet rates. Lacking OID, MIB, and ASN knowledge of the SNMP to have done it properly I just took the MIB stats the lanadmin command is dumping. Since the lanadmin command may even be issued by a non-root user (as long as one doesn't wish to set anything), this process can safely be run under a harmless euid. Because of our special MC/SG cluster environment I do a little detour over the cmviecl command to obtain the active NIC. But this isn't really necessary, and one can easily omit this command in the script. The same reason holds for the parsing of the process table in one column in order to get the number of Oracle Net8 connections to get a rough overview of the database's connection handles. This part can also easily be discarded from the script. I fear it still is a bit buggy, since sometimes wrong counts appear in isolated lines of the logfile. Maybe this is due to a failed NIC MIB query by lanadmin, which I so far didn't take any precautions to guard against. But at least it doesn't seem to do any harm, and I have been running it now in daemon mode for a couple of weeks. The script requires a decently current Perl version (e.g. = 5.6). If you made it executable and invoke it with the -h option you get a short help screen. Would be nice if it is of any use to someone at all. Stanimir Hadzhinikolov ================================================================================ Hi! I'm sending a full package for user/accounts administration of 2-nodes cluster. It is no need to use NIS or other sophisticated service. This package is using client-server technology to support identical accounts on all nodes with replication. Regards, Stan Steven E. Protter ================================================================================ This is a script in need of one improvement, so its not a full 10 ponter for sure. It clears shared memory areas based on a filter. clearipc sag clears all shared memory for user sag. This user had memory leak or something in one of its apps and didn't release shared memory as its supposed to. The ipcrm command is commented out on purpose. Try it, check the output. The problem with it is when the ID is long it gets confused about fields s2121212121212 ad0x00000000 --rw-rw-rw sag sag does not process right. Its okay, but I think Bill might give you a rabbit for upgrading it. The script is tested and works except as noted above. SEP Jean-Luc Oudart ================================================================================ Bill, this is to list users connected more than once from different IP @. # dupuser : list of users connected on system more than once from # different IP @ Rgds, Jean-Luc Tim Sanko ================================================================================ I have recently added to my morning routine a script called morning.sh on the production boxes. I got too lazy to do this by hand. It is simple and has the following characteristics: It runs a group of scripts and puts the output to /tmp/morning.txt running uptime eliminates questions about when was this last rebooted Keeping daily track of the ERP package It is started with date /tmp/mornin.txt and terminates with date /tmp/mornin.txt Clearing and dating morning activity. I also keep track of admin activity. What did you do yesterday??? Tim Sanko ================================================================================ SEP, I liked your disk shell so much I have stolen it!!!! I was never able to get around to doing one like it. Thanks.. Tim(Black Bart) Stanimir Hadzhinikolov ================================================================================ Hi! Here is an Perl-programs, which are client-server application, worked as socket. In addition the server is made to work as daemon on one system.The client have to work on another mashine and connect to server for doing some useful job. I thing, this is a good template for developing many system applicatins - monitoring, replication of data and so on. Regards,Stan Stanimir Hadzhinikolov ================================================================================ This is an addition of my previous offer. The second script - the "client". Geoff Wild ================================================================================ Here's one I just discovered - not mine: /usr/contrib/Q4/bin/kmeminfo Outputs information about your memory: kmeminfo (3.11) libp4 (5.17): Opening /stand/vmunix /dev/kmem Loading symbols from /stand/vmunix ====================================================================== Date: Fri Nov 7 13:03:18 2003 Processing pfdat table (2505108 entries)... ---------------------------------------------------------------------- Physical memory usage summary (in pages): Physmem = 2580480 Available physical memory: Freemem = 799983 Free physical memory Used = 1780497 Used physical memory: System = 333474 by kernel: Static = 75372 for text and static data Dynamic = 0 for dynamic data Bufcache = 258048 for file-system buffer cache Eqmem = 54 for equiv. mapped page pool SCmem = 0 for system critical page pool User = 959337 by user processes Uarea = 8112 for thread uareas Disowned = 63983 disowned pages ---------------------------------------------------------------------- Dynamic memory usage summary (in pages): Dynamic = 0 Kernel dynamic data (sysmap): MALLOC = 0 memory buckets: bucket[ 5] = 0 size 32 bytes bucket[ 6] = 0 size 64 bytes bucket[ 7] = 0 size 128 bytes bucket[ 8] = 0 size 256 bytes bucket[ 9] = 0 size 512 bytes bucket[10] = 0 size 1024 bytes bucket[11] = 0 size 2048 bytes bucket[12] = 0 size 4096 bytes bucket[13] = 0 size 2 pages bucket[14] = 0 size 3 pages bucket[15] = 0 size 4 pages bucket[16] = 0 size 5 pages bucket[17] = 0 size 6 pages bucket[18] = 0 size 7 pages bucket[19] = 0 size 8 pages bucket[20] = 0 size 8 pages Kalloc = 0 kalloc() Eqalloc = 0 eqalloc() Reserved = 0 Reserved pools Clara E. Rowe ================================================================================ This is the best script site I have found. Maybe it could be indexed so people could look for specifics a little faster. But what the heck, that's what search is for. I did not write the attached script. I wish I could remember the name of the SCO techie that did. I found it works on SCO, HP, and AIX. It allows for a recursive grep, eliminating files that can not be grepped. Here is the syntax: Usage: recurs string path_to_start Clara E. Rowe ================================================================================ Sorry, I'm having trouble with the attachment. It's short: #!/bin/sh # A recursive grep. while [ $# != 2 ] do if [ $# != 2 ] then echo "\nUsage:\trecurs string path_to_start \n" echo "Insufficient number of paramaters (errno 69)\n" fi exit 1 done while [ $# = 2 ] do echo "Please hold while I check that directory...." cd $2 find . -depth -type f -follow -exec fgrep -l -i "$1" {} \; exit 0 done jerry1 ================================================================================ trashit script to get rid of several unwanted emails in mail queue. Uses unique strings of from/to address when looking at queue using mailq. #!/bin/ksh #set -x # # Trash junk email thats going nowhere. # Jerry Moore 9/5/2001 # PATH=/bin:/usr/sbin:. DIR=/var/spool/mqueue TFILE=/tmp/trash.file $TFILE if [ ! "$1" ] ; then echo "" echo "Usage: trashit unique string " exit 1 fi for i in `ls $DIR/ | grep -v ^df | sort -u` ;do grep $1 $DIR/$i /dev/null 2 &1 if [ "$?" = "0" ];then ls $DIR/$i $TFILE fi done if [ -s $TFILE ] ; then for i in `cat $TFILE`;do echo "Removing qf file $i rm $i echo "Removing df file `echo $i | sed s/qf/df/`." echo $i | sed s/qf/df/ | xargs rm echo "Removing any xf files." echo $i | sed s/qf/xf/ | xargs rm done else echo "No control files match string ( $1 )" fi /bin/rm -f $TFILE #END jerry1 ================================================================================ JS, do you know how to modify these perl scripts to run commands between client and server. Donny Jekels ================================================================================ here's another script to mirror your ignited box automatically. it tests for the alternate path, minimal size, etc. works on any 9000/700 or 9000/800 platform. I am busy extending the capability to work on Itanium hardware. only LVM at this time. Doug Burton ================================================================================ Kill FIN_WAIT_2's if needed. Doug Burton ================================================================================ OK... That didn't work to well so I'll put it here and add the attachement (again): #!/bin/ksh # Run netstat to get "FIN_WAIT_2" info. # We then keeelllll them for fun. stuff=$(/usr/bin/printf "%.2x%.2x%.2x%.2x%.4x%.2x%.2x%.2x%.2x%.4x\n" \ $(/usr/bin/netstat -an -f inet | /usr/bin/grep FIN_WAIT_2 | \ /usr/bin/awk '{print $4,$5}' | /usr/bin/sed 's/\./ /g')) for x in $stuff do /usr/bin/ndd -set /dev/tcp tcp_discon_by_addr $x done Jan Zalman ================================================================================ Hi all, a short way to beautify your path. Regards. Steven E. Protter ================================================================================ Tested. Wonderful. Based on /etc/fstab The Defragmentation Script. Online JFS required. SEP Robert Binkhorst ================================================================================ Hi, I'm not the originator for this script (Jan Verbakel is) but I did enhance it a bit. Features: # - Use a list of servernames to do more than 1 server at a time. # - Have the script generate a list of servers with a specific release number. # - Generate verbose output for easing reading/checking or # Non-verbose output for use in spreadsheets. # - Run a single command or a script full of commands on multiple servers. # When running a script output is stored on the originating machine. # No files are left on the remote servers, unless your script does so. It uses the rtools series, so it's still useful for those of us without ssh everywhere! Cheers, Robert Robert Binkhorst ================================================================================ Oh yeah, and it has been used in production environments on 500 servers in a row. No points here please. Alan Turner ================================================================================ Script to recover from a disk failure in a DS2300 hot swap array (slightly sanitised to remove customer-related information). By the way, even though our machine is 64-bit (C3650) I use updatediaglif rather than updatediaglif2, because updatedialif2 doesn't seem to work! Alan Turner ================================================================================ attach didn't work - pasting #!/bin/sh SLOT=1 DEV=c4t0d0 BLK=/dev/dsk/${DEV} RAW=/dev/rdsk/${DEV} echo "This script recovers a system when the disk in slot 1 has failed." echo "Slot 1 is at the bottom (LHS viewed from front at XXX) and shows" echo "up in ioscan as $RAW, and in lvdisplay as $BLK" echo "Check which drive is marked as 'stale' using lvdisplay, e.g." echo " lvdisplay -v /dev/vg00/lvol n | grep stale ( n = 1 .. 9)" echo "" echo "Are the stale extents on $DEV ? (y/n) \c" read resp case "$resp" in [yY]* ) echo "" ;; * ) echo "Abandoning" exit 0 ;; esac echo "Doing an ioscan now, to check the state of the disk..." ioscan -fnCdisk echo "The disk $RAW MAY show up in error, e.g. NO_HW" echo "If you want to continue, remove the failed disk and press return" echo "(Note, you must have another module ready, don't put it in yet, but" echo "be ready to put it in within 5 minutes.)" echo "" echo "Press return when disk is out ...\c" read resp echo "Doing another ioscan so HPUX realises the disk has gone" ioscan -fnCdisk echo "OK, we really do expect $RAW to show up as NO_HW this time," echo "definitely not to show up as CLAIMED" echo "If it is CLAIMED, it looks like you've removed the wrong disk." echo "" echo "Assuming all is well, put the replacement disk into the slot $SLOT" echo "then press return ...\c" read resp echo "Doing another ioscan so HPUX realises the disk has changed." echo "We now expect the disk to show up as CLAIMED." ioscan -fnCdisk echo "Did the disk $RAW show up as CLAIMED ? (y/n) \c" read resp case "$resp" in [yY]* ) echo "" ;; * ) echo "Abandoning" exit 0 ;; esac echo "OK, will start initialising the disk in 5 seconds (CTRL-C to stop)" echo "5 \c" sleep 1 echo "4 \c" sleep 1 echo "3 \c" sleep 1 echo "2 \c" sleep 1 echo "1 \c" sleep 1 echo "0" echo "running vgcfgrestore" vgcfgrestore -n /dev/vg00 $RAW echo "vgchange" vgchange -a y /dev/vg00 echo "vgsync - this should take several minutes, especially for lvol4 and lvol5" vgsync /dev/vg00 echo "running mkboot" mkboot -l $RAW mkboot -a "hpux -lq (;0)/stand/vmunix" $RAW echo "Running lvlnboot, though not sure its needed" lvlnboot -r /dev/vg00/lvol3 /dev/vg00 lvlnboot -b /dev/vg00/lvol1 /dev/vg00 lvlnboot -s /dev/vg00/lvol2 /dev/vg00 lvlnboot -d /dev/vg00/lvol2 /dev/vg00 echo "Putting ODE onto the boot area" mkboot -b /usr/sbin/diag/lif/updatediaglif \ -p ISL -p AUTO -p HPUX -p PAD -p LABEL $RAW echo "" echo "Done." exit 0 Ernesto Cappello ================================================================================ #!/usr/contrib/bin/perl # Show the percentage of total used space in /users to each user # 11/18/02 BRS $user_thresh = 1 ; # Get the size of each users home directory # sub users_report { $user_total = `du -sk /users 2 \/dev\/null`; ($user_total,$nothing) = split(/\s+/,$user_total) ; print "/users's total usage is $user_total kb \n" ; foreach (`du -sk /users/* 2 \/dev\/null` ) { chop ; ($user_kb,$user_dir) = split (/\s+/); $users_size{$user_dir} = $user_kb ; $user_pct = int(($user_kb / $user_total) * 100) ; if ( $user_pct $user_thresh ) { print "$user_dir ($user_kb kb) is $user_pct% \n" ; } } Regards, Ernesto. Ernesto Cappello ================================================================================ This script for bdf on unix server #!/bin/sh THRESHHOLD="7[0-9]%" THRESHHOLD1="8[0-9]%" THRESHHOLD2="9[0-9]%" THRESHHOLD3="100%" # BDF ON PIPPO_SERVER echo "####################" bdf_on_servers.txt echo "# BDF ON PIPPO_SERVER #" bdf_on_servers.txt echo "####################" bdf_on_servers.txt echo "\n" bdf_on_servers.txt echo "Filesystem kbytes used avail %used Mounted on \n" bdf_on_servers.txt bdf -l | grep -e $THRESHHOLD -e $THRESHHOLD1 -e $THRESHHOLD2 -e $THRESHHOLD3 bdf_on_servers.txt ux2dos bdf_on_servers.txt | mailx -s "BDF on UNIX SERVERS" pippo@ops.test.it Andrew Penney ================================================================================ Here's a little piece of code I put together, or found somewhere, to re-nice run-away processes so my root logon will have a higher priority. #!/usr/bin/sh for arg in `ps -fel |grep sas |grep -v grep|cut -c 15-21` do # echo "renicing" ${arg} renice -n +19 ${arg} done I run it with a cron every five minutes: 1,6,11,16,21,26,31,36,41,46,51,55 * * * * /root/scripts/sasfix.sh /tmp/trace1 2 &1 I'm trying to make a script to check and see if users have more that on process running and then kill off the older processes. Can anyone help? Thanks sam ================================================================================ hi, Here are some links to very good scripts http://www- http://www.intuitive.com/wicked/wicked-cool-shell-script-library.shtml 106.ibm.com/developerworks/linux/library/l-punix?open&l=765,t=grl,p=punix Good Book on Shell Scripting http://www.intuitive.com/wicked/table-of-contents.shtml regards, sam Oscar Sastre ================================================================================ Here you have an ksh or sh-posix alias to convert a string into a C-style string (tab - \t, new line - \n,... see vis(1) command manual pages). # cstring alias cstring='( ( vis -n; print ) | while read -r X; do Y="${Y}${X}"; done; print -r "${Y%\\n}" )' # echo ' t \na' | cstring \st\s\na Ng Tommy ================================================================================ Hi Bill, Just got to know of this thread 2 days ago, great stuff. Attached is a small script to monitor syslog.log for keyword for preactive/preventive alert. This is a live production script. To keep log fresh, it perform log rotation after 3 alerts and call /dev/null to zero the syslog.log - not sure this is right approach but it work for us. After the log refresh, it went to sleep for 1 hr. BTW, this script MUST run in root and in backgroud. Usage: # /usr/bin/sh /usr/local/bin/syslog_mon.sh & Radhakrishnan Venkataramanan ================================================================================ Script will just list the disk that are in LVM and disk that are not used in LVM. #!/usr/bin/sh strings /etc/lvmtab | grep -v vg | grep -v "^$" | cut -d "/" -f4 /tmp/use.out # Below line will create list of cxtxdx ioscan -funC disk | awk '{ if ($3 != "") printf ("%s",$0) ; else printf ("%s\n",$0)}' | grep -v DVD-ROM | grep -v Class | awk -F "/dev" '{p rint $2}' | awk -F "/" '{print $3}' /tmp/disk.lst #Below line will create list of lun numbers d# But not used in this Script ioscan -funC disk | awk '{ if ($3 != "") printf ("%s",$0) ; else printf ("%s\n",$0)}' | grep -v DVD-ROM | grep -v Class | awk -F "/" '{prin t $7}' | cut -d "d" -f2 /tmp/d.lst clear echo "\t SL.No \t DEVICE FILE \t DISK TYPE \t\t DISK SIZE IN GB \t DISK STATUS " echo "\t ----- \t ----------- \t --------- \t\t --------------- \t -----------\n\n" N=0 for i in `cat /tmp/disk.lst` do #for j in `cat /tmp/use.out` #do if [ `/usr/sbin/diskinfo /dev/rdsk/$i | grep size | awk '{ print $2 }'` -gt 50000 ] then grep $i /tmp/use.out 1 /dev/null if [ "$?" != 0 ] then STAT=" Unused " else STAT=" Used " fi { ((N=N+1)) if [ `echo $i | cut -d "d" -f2` -ne 0 ] then SIZE1=`/usr/sbin/diskinfo /dev/rdsk/$i | grep size | awk '{ print $2 / 1048576 }'` echo "\t $N \t $i \t Array of disks [LUN=`echo $i | cut -d "d" -f2`] \t $SIZE1 \t $STAT " else SIZE=`/usr/sbin/diskinfo /dev/rdsk/$i | grep size | awk '{ print $2 / 1048576 }'` echo "\t $N \t $i \t normal disk \t\t\t $SIZE \t $STAT " fi } fi done echo " \n\n\t Note: Disk Status indicates use of Disk in LVM configuration only. \n\n" Fred Ruffet ================================================================================ Here is a small perl script that produces a parseable output for bdf (no dual lines, fields separated by ":"). Output sample : ./bdf2 /dev/vg00/lvol1:298928:84392:184640:31%:/stand /dev/vg00/lvol3:311296:278960:32120:90%:/ /dev/vg00/lvol4:4194304:2025800:2151600:48%:/opt /dev/vg00/lvol5:524288:403808:120096:77%:/tmp /dev/vg00/lvol6:1785856:1242328:539288:70%:/usr /dev/vg00/lvol7:4194304:1056976:3113096:25%:/var /dev/vg00/lvol8:262144:2344:257776:1%:/home Fred Kent Ostby ================================================================================ These are more command line things I use a lot: 1) Which processes have racked up a lot of CPU. ps -ef | cut -c42-80 | sort -nr | head 2) A "pipe to" thing to remove a list of files that I found some way: | awk '{print "rm -r ",$NF,}' useme So I might use this for instance in cleaning up all the files that were created before April or May. ll | grep -v -e Apr -e May | awk '{print "rm -r ",$NF,}' useme The file "useme" now contains a bunch of statements like: rm -r Exaaaaae0123 (or whatever types of files they seem to be). So then I: chmod +x useme; ./useme Best regards, Kent M. Ostby Roberto Polli ================================================================================ Search and substitute a string on multiple file if use in conjuction with rsh echo -e ":%s/STRING/SUBST/\\n:wq\\n"|vi FILENAME Peace, R. Edwin Hamers ================================================================================ Hi, I want to share my backup/verify tool called Miniback. Yes, i stole the name from Omniback, but since it is quite small, hence miniback. Anyway, this is what it does. It uses the fbackup/frecover combo to make a backup, and this backup is checked by restoring a file with frecover. A short manual is supplied. Since we use HP Openview, it reports errors through HPOV. If you dont like that, then you can switch it off. I attached this as a depot file. It will install the scripts into /var/adm/fbackupfiles. IT WILL OVERWRITE FILES THERE... Be warned Have fun Etienne Roseau ================================================================================ hi not a favourite script, just my collegue favourite joke (a week ago..) : cd / rm -r * he is still laughing, and i still not Mark Syder ================================================================================ Ettienne, I don't understand. I tried your command and now I can't see anything on my hard disc. Did I type it in wrong? Juan Bourne Everyminnit Etienne Roseau ================================================================================ hi Mark, is my collegue a friend of yours ? :-) well, now i just keep the root password secret....and no works for him until he can tell me the man article about make_recovery, by heart !!! now be serious, my favourite script : $ pwd /home/empty_fridge $ cd /pub pub more beer ( more cider is also working.... :-) ) Borislav Perkov ================================================================================ Hi, Here is a version of one of the bdf extension script, where there is filesystems with longname. Here inodes are included in the script. Regards, Borislav Petr Simik ================================================================================ By this simple script you can run any command on multiple remote servers. I use it to check, setup or download informations from platforms. Setup of this script is to create rrun.conf file and put there the list of needed servers. It uses .rhosts trusting. Script I attached is written by somebody else from ITRC I downloaded it long time ago and since now it is ome of my favourites. Arturo Galbiati ================================================================================ Hi, some one-line commands usefull to administarte Oracle mount points: # Show oracle disk with pct used = PCT bdf|awk -v PCT=30 'NR==1||(substr($5,1,index($5,"%")-1)+0 =PCT&&/oracle/)' # Show Oracle disk with available space = AVL (1Mb) bdf|awk -v AVL=1048576 'NR==1||($4 =AVL&&/oracle/)' Art Alzhy ================================================================================ To folks who use VxVM Extensively, here's a script that displays all Diskgroups, volumes, their sizes and if they're mounted and where. I also have it as an attachment. Am sure a Perl Wiz should be able to re-write this and make it faster/more efficient but it does work for me: #!/bin/ksh # # dginfo # Show a server's VxVM Configuration and Layout # echo "DGINFO - VxVM Summator v 1.0 Dec. 2005" echo "VxVM - All Versions" echo "AITS Unix" DGLIST=`vxdg list|awk '{print $1}'|grep -v "NAME"` echo echo "VxVM Summary for Server `hostname` @ `date`" echo for DG in $DGLIST;do # Get Total Allocations SIZE=`vxprint -ht -g $DG|grep ^dm|awk '{s+=$6}END{printf "%8.2f",s/1024/1024}'` FREE=`vxdg -g $DG free|grep -v DISK|awk '{s+=$5}END{printf "%8.2f",s/1024/1024}'` printf "DG: %-20s Capacity: %7.2f GB Free: %7.2f GB\n" $DG $SIZE $FREE echo "==========================================================================" vxprint -ht -g $DG|grep ^v|grep -v dcl|awk '{print $2,$6}'|while read vol size;do fs=`mount -p|grep -w /dev/vx/dsk/$DG/$vol|awk '{print $2}'` printf "VOL: %-20s %10d GB. %30s\n" $vol $((size/1024/1024)) $fs done printf "\n" done Coolmar ================================================================================ I wrote this script for all those times that I had to kill a bunch of processes owned by the same user, or same name. For example, you stop oracle but there are still a bunch of processes hanging around. My script requires input - the owner of the process and the process name (ie ora*) #! /usr/bin/ksh # This script will kill any processes that are running. Good if there are a bunch of them, like Java or http. # You must supply the process and the userid when running the script echo "Process Name? \c" read ans echo "Userid? \c" read user ps -ef |grep $ans | grep $user |grep -v grep |awk '{print $2}' |while read PID do kill -9 $PID done Jan van den Ende ================================================================================ Hi, For those who like this same idea on VMS, the OPENVMS.ORG people created a separate site: http://dcl.openvms.org/ Well worth a visit, lots of interesting stuff there! (even some of mine). Happy New year (carefull with the fireworks, they DO make nice glass eyes, but they still have inferior vision!). Proost. Have one on me. jpe Pete Randall ================================================================================ Not having heard from our good friend, Bill in quite some time, I have to wonder what he's up to nowdays. Anyway, a couple of comments on Sally's "kill script" contribution: First, simply grepping a user name or command can be dangerous. There is always the possibility that an inadvertent match may end up killing something that you didn't really want to kill. A far better alternative is to use the XPG4 functionality of the ps command like this - PROCESSES=`UNIX95= ps -U $USERNAME | grep -v PID |awk '{ print $1 }' A similar technique is, I believe, available for the command, using the XPG4 option "-C". Secondly, doing an arbitrary "kill -9" gives the process no chance to clean up after itself, leaving shared memory segments, etc, still occupied. At the very least, a plain kill, which defaults to SIGTERM, or kill -15, should be tried before resorting to kill -9. Something like this - kill $PROCESS sleep 2 kill -9 $PROCESS Just a couple of suggestions. Pete Bill Hassell ================================================================================ Pete beat me to it...I strongly discourage using grep+ps for ANY automated script. As Pete said, grep is indiscriminate. It knows nothing about usernames or process names, so a match on something else, while accidental, can have very serious effects (ie, kill -9). ps has a *LOT* os unused options that eliminate the need for grep, and most important, ps does exact matches by field. So if you want a specific user, always ask ps to find the user as in: ps -f -u user_name Similarly, to find a process, always use -C process_name and you won't get any mistakes. Check the difference between these two commands: ps -ef|grep sh UNIX95=1 ps -f -C sh You'll see not only sh shell processes, but possibly ksh, csh, bash, and most important: unhasdaemon. You NEVER want to kill unhasdaemon. Now there are 3 really useful options that are non-standard with ps: -C -H and -o. Check the man page for the details. But these options only wirk when the (normally undefined) variable UNIX95 exists. Don't be tempted to set UNIX95 permanemntly as this variable can affect other processes and libraries. Put it on the same line as ps. Steven E. Protter ================================================================================ UNIX95's most nasty impact is on checksums when you try and sh a depot or other download from HP. I did produce a safe version of the kill script that was never allowed to touch a process owned by room. Those are best killed manually. I've been converting my grep kill script to the new, safer Bill Hassell method. I've been thinking of creating a searchable database of all these scripts based on keywords. Perhaps maintain the database of characteristics in a sql database. I'd need a we bit of help getting that done. Interesting concept, great script database, sometimes hard to find it where it sits now. SEP Bernie J ================================================================================ Hi I need to find the process consuming the highest memory and the % of memory used by that Process. (Perhaps log this to a file). Thanks in advance for the pointers! Bill Hassell ================================================================================ Sorting the processes by memory usage is easy with ps: UNIX95=1 ps -e -o vsz,pid,ruser,args | sort -rn To log this as a 1-liner, change the line to: UNIX95=1 ps -e -o vsz,pid,ruser,args | sort -n | tail -1 This will put the biggest (local memory) process at the end of the list. That said, memory usage by a process is a lot more complicated than just local memory. A set of processes may share an enormous segment of memory but that is by design. Similarly, a process may need a lot of local memory to run correctly. Large memory usage is not a bad thing if the program is running correctly. HP-UX is a virtual memory system and will deactivate and page out low priority programs when RAM is fully used. Bernie J ================================================================================ Thanks Bill. thats what exactly I was looking for.. unfortunately I cant assign any points to you as the thread was not started by me:( Thanks again! rex m ================================================================================ I use this to check top user processes and exclude root and informix.. I use it specifically when my system seems to be getting beat up.. We've isolated a couple buggy vendor apps doing this. ps -ef |grep -v informix|grep -v root |grep -v lp|awk '{print $4, $1, $2, $7, $8, $9, $10, $11, $12,$13, $14, $15}' |sort -r| head -10 Doug O'Leary ================================================================================ Hey; id_mirror: IDs which lvs in vg00 are mirrored and which aren't... Doug O'Leary ================================================================================ id_lv_disks: Scans all the disks on a system and ids which ones belong to vgs, which ones don't and which ones should belong to vgs but don't. Primarily used to identify pvlinked disks thata aren't part of a vg. Unfortunately, this one needs a little work. Biggest issue is identifying the cdrom/dvdrom or any of the other names by which it goes on the various systems. (line 67). Once that's done, it works pretty well, at least on the systems that I've run it on... Doug Doug O'Leary ================================================================================ verify_nic: Prints information about each configured network card: interface, IP, auto-negiotate, and speed. Useful for scanning multiple hosts simultaneously if you have ssh pka and gsh configured... Bill McNAMARA ================================================================================ Hey Pete! Bill's back! I've been incredibly busy these last few years.. it seems you all have been too!! Look at those points!!!! I'm still working in the HP OpenCall Telecom division - I travel about half my time and work strange hours and sometimes in strange places! I'm in the process of writing a review of all the Irish pubs in the places I've been with work ;) For info, there is no Irish pub on the Cape Verde Islands!!!! The idea did pass my head to set one up!.. TKeller ================================================================================ Attached is a perl script I was asked to write for some developers who wanted an daily mailer set up for several excel spreadsheets they wanted to send out. It's a multi-tiered progression line as you'll see below. 1. On main developer's WinXP machine, set up a scheduled task to run send_files.bat which is nothing more than a automated ftp using 'ftp -s:send_files.txt' which connects to the unix machine as a generic ftp user to dump the excel files. 2. Cron job on unix box runs daily with the attached script to prep the files for emailing. The excel files on the WinXP box always stay the same whereas the script will use perl to munch on the name of the new files on the unix box. Example: WinXP sends over the file 'one.xls'. Perl script makes that turn into 'one06092006.xls' before it gets sent out. Safeguards: - any argument will show a debug mode checking to see if excel files already renamed exists and ignores them - doesn't do anything if 0 files exist - directory and path traversal stuff - strict mode enabled, of course - entirely perl, no system or exec calls And there it is, hehe...it's in production. inventsekar ================================================================================ HI, the attched script(i found this in HP website only) used for How to determine the number of threads in a process -------------------------------------------- An HP Solutions Alliance engineer developed it while he was working in an SAP environment on HP-UX 11i v1. He observed that a Node would grind to a halt and no new users could logon. A typical workaround was to kill the application processes. He checked the syslog and found the message kthread: table is full. The kernel parameter nkthread was set to 6000, so over time the process had more and more threads. The question was: how to determine the number of threads a process has in order to monitor the behavior of the application. The following C program creates a list of all processes in the process table of a node and shows in one column the number of threads for any single process. Using this tool, it was possible to identify that the network daemon created a new thread anytime a network problem occurred. A severe network problem was responsible for the logon problems. -------------------------------------------- Jim Purtell ================================================================================ Something as simple as this is easily forgotten. Handy one-liner for date manipulation. Todays date $ export _dt=$(date "+%m")$(date "+%d"|bc)$(date "+%y") $ echo $_dt 09806 Yesterdays date $ export _dt=$(date "+%m")$(date "+%d - 1"|bc)$(date "+%y") $ echo $_dt 09706 It's all in the 'bc'. Hope this is as handy for others as it has been for me. Jim A. Clay Stephenson ================================================================================ There are a few logic holes in the previous post: Yesterdays date $ export _dt=$(date "+%m")$(date "+%d - 1"|bc)$(date "+%y") $ echo $_dt 09706 1) Not too serious because it is not very probable: $ export _dt=$(date "+%m")$(date "+%d - 1"|bc)$(date "+%y") Invoking date 3 separate times could result in an invalid date because this could occur at midnite so that the month, day, and/or year might not agree. A single call to fewtch all three in one shot is much better. 2) Serious and quite likely to occur: Consider what happens when this script is run on the first day of any month. I'm not aware of too many calendars that allow a day 0 (although the math would be easier if calendars were zero-based). Jim Purtell ================================================================================ It's just a one-liner (like I said) that I thought I'd pass along. It's up to you how you use it. I've incorporated it into a few things without any problems. And haven't seen anyone else find yesterdays date with such little effort. PS: please, no points for ether post - it's just a small contribution Thanks, Jim charles butkus ================================================================================ I wrote this over a few days... my first C program. It sleeps for 100ths of a second, accurate to within .03 seconds (usually over).. I believe that it's due to the way the system schedules processes to run.. it's .01 accurate if I run it in rtprio. I like it for when I'm dumping a stream of commands into a telnet ( telnet SERVERNAME $(echo ls; sleep 1; echo bdf) ).. I noticed that HP had provided a nanosleep function in time.h, but nobody had taken advantage of it, and a few people had asked for one on the ITRC. In reality, it's not very usefull outside of starting to learn C... charles butkus ================================================================================ And here's the compiled version for those without ANSI C.. mobidyc ================================================================================ Hello, it's time for revival of this thread. this script is adapted from a script found here (i don't remeber who) and contains ameliorations. the output is like that: # bdfa /var File System Mbytes Used Avail %Used Inods Free %Used Type Mounted on /dev/vg00/lvol7 6144 1669 4440 27% 35211 143189 20% vxfs /var mobidyc ================================================================================ Hello, there is an alias you can insert in the /etc/profile in replacement of the 'bdf' command...without the ugly line return. this alias is attached because there are tabulations in, old sed versions don't know of the \t char. mobidyc ================================================================================ Hello, under solaris, you have ptree for listing process, there is a small equivalent for HP-UX. you can launch with the following args: ptree 0 for a complete listing or the following example: # ptree 6913 +++++ root 1 0 0 Mar 22 ? 11:37 init ++++ root 1025 1 0 Mar 22 ? 0:40 /opt/ssh/sbin/sshd +++ root 29222 1025 0 12:47:52 ? 0:00 sshd: root@pts/0 ++ root 29227 29222 0 12:47:54 pts/0 0:00 -ksh + root 29497 29227 0 12:47:57 pts/0 0:00 bash 0 root 6913 29497 0 17:08:51 pts/0 0:00 ksh - root 6917 6913 0 17:08:52 pts/0 0:00 bash -- root 7123 6917 0 17:08:54 pts/0 0:00 ksh --- root 8527 7123 1 17:09:35 pts/0 0:00 /bin/ksh /outil/adm/bin/ptree 6913 ---- root 8530 8527 1 17:09:35 pts/0 0:00 ps -ef i've launched multiples shells specially for this example ;) Regards, Cedrick Gaillard mobidyc ================================================================================ Hello, under solaris, you have ptree for listing process, there is a small equivalent for HP-UX. you can launch with the following args: ptree 0 for a complete listing or the following example: # ptree 6913 +++++ root 1 0 0 Mar 22 ? 11:37 init ++++ root 1025 1 0 Mar 22 ? 0:40 /opt/ssh/sbin/sshd +++ root 29222 1025 0 12:47:52 ? 0:00 sshd: root@pts/0 ++ root 29227 29222 0 12:47:54 pts/0 0:00 -ksh + root 29497 29227 0 12:47:57 pts/0 0:00 bash 0 root 6913 29497 0 17:08:51 pts/0 0:00 ksh - root 6917 6913 0 17:08:52 pts/0 0:00 bash -- root 7123 6917 0 17:08:54 pts/0 0:00 ksh --- root 8527 7123 1 17:09:35 pts/0 0:00 /bin/ksh /outil/adm/bin/ptree 6913 ---- root 8530 8527 1 17:09:35 pts/0 0:00 ps -ef i've launched multiples shells specially for this example ;) Regards, Cedrick Gaillard mobidyc ================================================================================ Hello, under solaris, you have pkill for kill process, there is a small equivalent for HP-UX. the syntax is: pkill -U user process process is a processname, fo example: pkill -U root bdaemon first, it will kill the process normally, if that don't work, it will do a kill -11, if that still don't work, it will kill -9 the process. Regards, Cedrick Gaillard mobidyc ================================================================================ Hello, if you'r- out of memory ( in your brain, not the server;) ), here is the perfect alias: alias sepath='echo ${PATH} | tr ":" "\n" | xargs ls |sort -u |egrep -i "${@}"' you can test: # sepath grep egrep fgrep grep nisgrep zgrep Regards, Ceddrick Gaillard mobidyc ================================================================================ Hello, if you want to send a root terminal to your colleague and have a log of waht heis typing, this script is made for you (it's not made by me). work for HP-UX and other Unix systems. the logfile is /usr/local/log/sendxterm.${user}.`date +%Y%m%d`.`date +%H%m%S`.$$.log the syntax is: sendxterm -d 192.168.1.2 Regards, Cedrick Gaillard mobidyc ================================================================================ Hello, if your ssh connexion seems too long, you can purge your [uwb]tmp files, this script attached will do it for you. example before the purge, /var/adm/wtmp was 239Mo : # time ssh nr0u0151 "uname -n" nr0u0151 real 0m58.58s user 0m0.09s sys 0m0.02s after the purge of /var/adm/wtmp: # time ssh nr0u0151 "uname -n" nr0u0151 real 0m1.73s user 0m0.09s sys 0m0.01s Regards, Cedrick Gaillard Donald Fisher ================================================================================ When someone takes the time to create a man page, it would be nice to have access to it. Here is a script to verify all man pages are at your finger tips. Donald Fisher ================================================================================ Here is a script to check free space on all file systems based on percentage used with email notificaion. Donald Fisher ================================================================================ Parameter file for previous check_free_space script. drb ================================================================================ Two problems and the solutions I've been using for more than two decades. Problem: Oops! I didn't want to delete that: Solution: del (reversible rm) Usage: Once in the habit of using del path [...] rather than rm path [...], accidental deletions can be restored from the ~/.deleted directory. Weekly, I purge the ~/.deleted directory of files more than 7 days old. Emacs and other packages are configured to put their backups in ~/.deleted, thus reducing filespace clutter. Problem: Users complain of mysterious package failures when they run setup scripts too often and exceed environment string length, causing misconfiguration. Solution: Idempotent path extension. i.e. If already in path variable, move to front of list and remove duplicate. Usage: This snippet is modified and incorporated into scripts that setup a user's environment for particular package use. Thereafter the user simply runs the setup script before using the package. If there are two or more users, one can execute the script before every usage, and the other may execute the script only once, but neither complains of failure due to exceeding environment string length. Hopefully helpful, Ninad Date ================================================================================ Hi, Two small scripts for lan connectivity 1.To check which are the lan ports connected to the lan switches, if you have multiple lan ports connected but not assigned ip addresses. lanscan | awk '{print $2,$5}' | tail +3 | while read mac ppa do linkloop -i $(echo $ppa | sed -e 's/lan//g') $mac 1 /dev/null 2 &1 if [[ "$?" = 0 ]] then echo $ppa connected fi done 2. To check which lan ports of one server are accessible to the lan ports of other server at the Link layer. This is mostly useful when you are doing the connectivity for Cluster, providing redundant links using redundant switches and lan ports. This requires remsh/rcp to be enabled on the 2 servers/ can replace by ssh and scp as appropriate remsh server2 -n "/usr/sbin/lanscan /tmp/lanscansrv2.out" rcp server2:/tmp/lanscansrv2.out /tmp cat /tmp/lanscansrv2.out | tail +3 | awk '{print $2,$3}' | while read addr ppa do lanscan | tail +3 | awk '{print $2,$3}' | while read selfaddr selfppa do linkloop -i $selfppa $addr /tmp/linkloop.out 2 &1 OK=$(grep -c OK /tmp/linkloop.out) if [[ "$OK" = "1" ]] then echo "server1: lan$selfppa $selfaddr can reach server2: lan$ppa $addr" fi done done Regards, Ninad Ninad Date ================================================================================ Hi again, Again 2 small scripts for checking mirroring on vg00. 1. Check mirror status of lvols in /dev/vg00. This can be useful to check how much of mirroring is completed if you running mirroring in background for LVNAME in $(vgdisplay -v /dev/vg00 | grep 'LV Name' | awk '{print $NF}') do MIRROR=$(lvdisplay -v $LVNAME | grep 'Mirror copies' | awk '{print $NF}') if [[ $MIRROR != 0 ]] then totalext=`lvdisplay -v $LVNAME | awk '/Logical extents/,/zzz/' | egrep -v "^$" | tail +3 | wc -l` syncedext=`lvdisplay -v $LVNAME | awk '/Logical extents/,/zzz/' | egrep - v "^$" | tail +3 | awk '{print $NF}' | grep -c current` echo "Mirroring for $LVNAME is $(echo "($syncedext*100)/$totalext" | bc) % completed" fi done 2. Check stale PEs in mirrored lvols in /dev/vg00. This can be run as a shceduled job to regularly check if all lvols have synced PEs/mirroring for lvname in $(vgdisplay -v /dev/vg00 | grep 'LV Name' | awk '{print $NF}') do MIRROR=$(lvdisplay -v $lvname | grep 'Mirror copies' | awk '{print $NF}') if [[ $MIRROR != 0 ]] then MIRROR_STATUS=$(lvdisplay -v $lvname | grep -c -i stale) if [[ $MIRROR_STATUS != 0 ]] then echo $lvname has stale PEs else echo $lvname is mirrored fi fi done Regards, Ninad Hakki Aydin ================================================================================ A script tells total Disk size on the server; #!/usr/bin/sh #strt=$(ioscan -funC disk | awk '/rdsk/{print $2}') # Following part modified from Radhakrishnan's script . . . # strt=$(ioscan -funC disk |awk '{ if ($3 != "") printf ("%s",$0) ; else printf ("%s\n",$0)}' |grep -v DVD-ROM | grep -v Class | awk '/rdsk/{print $10}') i=0 p1=0 pT=0 echo $strt /tmp/siliniz clear for i in `cat /tmp/siliniz` do p1=$(diskinfo -b $i) pT=$(expr $p1 + $pT) done Tot=$(expr $pT / 1048576) echo "-------------------------" echo " Total Disk Size: $Tot GB" /usr/bin/rm /tmp/siliniz Hakki Aydin ================================================================================ This is a script to rename for group files as given *partial* file names and given server-name. Jan Zalman ================================================================================ How to find out the umask for all running processes. Quite slow, it uses q4 debugger ;-), but works. Hakki Aydin ================================================================================ This is from HP UX 11.31 resources first creates a directory lvmbackup; datafills from current LVM configuration and then checks if there is any change in LV config when executed. . .Useful. Hakki Aydin ================================================================================ This is from HP UX 11.31 resources modifed for HP UX 11.11 First creates a directory lvmbackup; datafills from current LVM configuration and then checks if there is any change in LV config when executed. Steve Post ================================================================================ Run dircmp but do NOT recurse through subdirectories. Tell us if files are in directory 1 but not in directory 2 Tell us if files are in directory 2 but not in directory 3 Tell us if a file is in both directories but have different contents If -d is added, give us a diff command on these files. Cesare Salvioni ================================================================================ Hi all, one more script to choose and kill FIN_WAIT_ network connections. The script use ndd -get /dev/tcp tcp_status to get a list of FIN_WAIT* connections and ndd -set /dev/tcp tcp_discon_by_addr to disconnect selected connections. The usage of script is shown with kill_finwait.sh -? and is the following: usage: ./kill_finwait.sh [-a] [-p local port ] [-i ip address ] [-k] -a select all FIN_WAIT connections -i ip address select only connections from given ip -p local port select only connections on given port -k kill selected connections default is to select no connections and do not kill hope it will be usefull bye Bill McNAMARA ================================================================================ see above! ps if someone wants to start then next thread, please go ahead! I don't log in so frequently to assign all the points I'd like!


SUBJECT: FAVOURITE SYSADMIN SCRIPTS YOU ALWAYS KEEP AROUND.... Bill McNAMARA ================================================================================ Hi add your scripts for a sharing to this thread.. top points awarded for TRIED and TESTED scripts! swcopy: ======= http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x9a6150011d20d6118ff40090279cd0f 9,00.html bdf in MB: ========== from the forums.. attached nickel: ======= html collect system info http://www.grc.hp.com/docs/nickel/ Later, Bill ================================================================================ Hi, This is a script provided by HP in order to get LVM information. Regards, Justo. PD: good issue!!! Thierry Poels ================================================================================ Hi, one of the favourite sysadmin scripts should be a cleanup script for /tmp /var/tmp and other (application) temporary directories. As this is server/site specific it's hard to give a standard script. Another important one is the cfg2html script, which gives you far more information about your server than you ever going to need ;-) (hopefully) http://members.tripod.com/rose_swe/cfg/cfg.html regards, Thierry. Animesh Chakraborty ================================================================================ Hi, Good examples of script available here. http://www.introcomp.co.uk/examples/index.html Steven Sim Kok Leong ================================================================================ Hi, My pfsmcd script, many years back. pfsmcd starts the pfs daemons if they have not been started, detects if a CD is already mounted and pfs-mounts the CD (Oracle CD) if it has not been mounted or pfs-unmounts the CD if it has already been mounted. In addition to root.sh, I had this script added to restricted sam so that the DBA won't come and bother me to mount and unmount Oracle CDs everytime. Hope this helps. Regards. Steven Sim Kok Leong #!/usr/bin/ksh if ps -ae|grep -v grep|grep pfs_mountd /dev/null 2 /dev/null then echo pfs_mountd already started else echo Starting pfs_mountd nohup /usr/sbin/pfs_mountd & sleep 5 fi if ps -ae|grep -v grep|grep pfsd /dev/null 2 /dev/null then echo pfsd already started else echo Starting pfsd nohup /usr/sbin/pfsd & sleep 5 fi if /sbin/mount|grep /cdrom /dev/null 2 /dev/null then echo Unmounting /cdrom pfs_umount /cdrom /dev/null 2 /dev/null else echo Mounting /cdrom pfs_mount /cdrom /dev/null 2 /dev/null fi Mark van Hassel ================================================================================ Not a shell script, but a little C program that creates a detailed memory report. Volker Borowski ================================================================================ Well, not a shell script, but a complete reference to UNIX: http://w3.softlookup.com/unix I am pretty sure you're gonna like chapter 15 Bill :-) Volker Volker Borowski ================================================================================ Oh dear, sorry for that link. Came accross it via search engine, and it worked fine, but if you call the link directly, you get a whole lot of commercial popups. Sorry for that, did not intend to..... Volker Bill McNAMARA ================================================================================ wooo, apparently I should be earning $4000 per week! I'm going to have to speak to my boss about that! 15 - Awk, Awk oh my God ;) Later, Bill Wim Rombauts ================================================================================ The script thta Jesto has given is great for HP-UX 10.20 machines, but returns an error on HP-UX 11.0 and has some layout issues because of new information that is given by HP-UX 11.0. Some time ago, i have done the effort to modify the script a very little and to correct the layout issues. For anyone who is interested : feel free to use and enhance it further : Craig Rants ================================================================================ There is not much to it, but it always solves the problem of running a script on the last day of the month. Put 28-31 (for days) in your crontab and put this little section in for date determination. #!/bin/sh if test `TZ=MET-24 date +%d` = 01 then exec command else exit 1 fi C Duncan Edmonstone ================================================================================ Can't claim to written this one, but its invaluable notheless... Produces a map of the lvol locations in vg00 HTH Duncan Tracey ================================================================================ I have two favorite scripts that I keep on all machines. This one is user_kill It gets rid of those nasty users who just won't log off when you ask them to in order to do maintenance. It does keep a few users that you don't accidently want to get rid of. Tracey Tracey ================================================================================ Here is my second one, it is idle_kill a C program. It clears out your system those users have been idle for too darn long, you can also provide a list of users to ignore (wouldn't want to knock yourself off, eh?) The exception list is just a file with contents like: root oracle tracey Tracey Paula J Frazer-Campbell ================================================================================ Hi Bill A small script to ensure that tapes are never missed. I have it cronned to run on all servers at 16:00 hrs every day. Change the Email address to suit -----------------cut here---------------- #!/bin/sh ############################################# # Check for tape in drive # PJFC 2002 ############################################# # Check if tape is in Drive (set for correct dev file) if /usr/bin/mt -t /dev/rmt/0m rew 2 /dev/null ; then ############################################# echo "----------------------------" /tmp/tape-log date /tmp/tape-log echo "------ Tape in ------" /tmp/tape-log else ############################################# # Inform if no tape in drive echo "----------------------------" /tmp/tape-log date /tmp/tape-log echo "------ TAPE NOT LOADED -----" /tmp/tape-log mailx -s "Tape not mounted on N0" paula@avro.co.uk /sysadmin/team mailx -s "Tape not in on N0" helpdesk@avro.co.uk /sysadmin/team exit fi -----------------cut here---------------- The /tmp/tape-log keeps historical data and the /sysadmin/team just contains the words "Unix Support Team". Paula Deshpande Prashant ================================================================================ HI Here is the SysInfo script. Thanks. Prashant Deshpande. Shiju Wilson ================================================================================ Hi, Here is a script for sending mail, with message body and attachment. HTH, Shiju Sanjay ================================================================================ Hi Bill, Here is one to find the clock speed of the system. ./mhz Regds Richard Darling ================================================================================ Here are two scripts that I love; first one uses cpio to copy from one system to another, retaining permissions and ownerships. Second one gives a really nice report on EVERYTHING you might want to know about a system. RD Alan Riggs ================================================================================ I use this to centralize common admin tasks. It runs on my admin server and executes a command on any of several preset server groups (specified by server.XXX files). # cat run #!/bin/ksh ############################################################################## # # THIS SCRIPT RUNS COMMANDS ON REMOTE SERVERS. IT EXPECTS TWO # COMMAND LINE PARAMETERS: # $1 SPECIFIES THE EXTENSION OF THE FILE CONTAINING SERVER NAMES # $2 CONTAINS THE COMMAND STRING TO RUN ON THE REMOTE SERV ERS. # # CREATED 04/05/00 Alan Riggs # ############################################################################## ############################################################################## # ESTABLISH ENVIRONMENTAL VARIABLES ############################################################################## FILE_BASE=/home/admin/server EXTENSION=$1 COMMAND=$2 ############################################################################## # USAGE STATEMENT: CHECK FOR EXACTLY TWO COMMAND LINE PARAMETERS ############################################################################## if [ "$#" -ne 2 ] then echo " usage: run [file extension] [command string]\n run will execute the command string on one or more remote servers. The script expects a list of servers in $FILE_BASE.[file extension] Remember to quote command strings of more than one line.\n " exit 1 fi ############################################################################## # RUN THE COMMAND ON THE REMOTE SERVERS ############################################################################## while read SERVER do echo "$SERVER" remsh $SERVER -n "$COMMAND" done "$FILE_BASE"."$EXTENSION" Alan Riggs ================================================================================ Here's a short and sweet to locate unallocated physical disks on a server. # cat find_free_disks.sh #!/bin/ksh ############################################################################## # # THIS SCRIPT FINDS DISKS WHICH NOT PRESENTLY BELONG TO A VOLUME GROUP # # CREATED 10/29/99 Alan Riggs # ########################################################## set -A DISKS `ls /dev/dsk` echo "BLOCK SPECIAL FILE\tSIZE\tTYPE" echo "==================\t====\t====" for DISK in ${DISKS[*]} do pvdisplay /dev/dsk/$DISK /dev/null 2 &1 if [ $? = 1 ] then SIZE=`diskinfo /dev/rdsk/$DISK|grep size|awk '{print $2}'` TYPE=`diskinfo /dev/rdsk/$DISK|grep type|awk '{print $2 $3}'` echo "/dev/dsk/$DISK \t$SIZE\t$TYPE" fi done A. Clay Stephenson ================================================================================ Hi: My contribution has to be my universal date engine, 'caljd.sh'. It converts a calendar date (or todays's date) to a true (well, almost) Julian day and also does the reverse. It then becomes trivially simple to calculate the number of days between any two dates. Examples: # What is the date in MM DD YYYY format 100 days from now? DATE=$(caljd.sh $(caljd.sh -n 100)) echo "New Date = ${DATE}" # What is the date in MM DD YYYY format 100 days from now unless that falls on a weekend? DATE=$(caljd.sh $(caljd.sh -n 100 -x 0 -x 6)) echo "New Date = ${DATE}" # What is the date in MM DD YYYY format 100 days from now unless that falls on a weekend? DATE=$(caljd.sh $(caljd.sh -n 100 -x 0 -x 6)) echo "New Date = ${DATE}" # What is the date in YYYY-MM-DD format 20 days previous unless that fell on a Friday? DATE=$(caljd.sh -S '-' -y $(caljd.sh -p 20 -x 5)) echo "New Date = ${DATE}" caljd.sh -u gives full usage. Regards, Clay Robert Gamble ================================================================================ This script can be used to check the output of a 'stat' type command regularly or in a cron. *NOTE* : Script must be edited for local use! *********************************************** #!/usr/bin/sh COMMAND="/$DIR1/$Stat_Like_Command" LOG_DIR="/$DIR2" $COMMAND $LOG_DIR/$COMMAND.current if [ -e $LOG_DIR/$COMMAND.current ] then /usr/bin/diff $LOG_DIR/$COMMAND.current $LOG_DIR/$COMMAND.normal $LOG_DIR/$COMMAND.diff if [ -s $LOG_DIR/$COMMAND.diff ] then echo "Possible Issue with $COMMAND" | mailx -S $COMMAND your@pager.email.com cat $LOG_DIR/$COMMAND.diff else echo "$COMMAND is OK" fi else echo "$COMMAND could not execute" fi *********************************************** Mark Greene ================================================================================ when you need to extract a range of lines from a file and grep won't get them all: # pg extract #!/bin/ksh # 10/08/01 # mark greene # sed -n 'StartLineNumber,EndingLineNumber' source_file target_file # $1=source file, $2=starting line, $3=ending line, $4=target file if [ $# -lt 4 ]; then echo "usage: extract source starting_line ending_line target" exit fi SOURCE=$1 START_PAGE=$2 END_PAGE=$3p TARGET=$4 QUOTE="'" CMD="-n $QUOTE$START_PAGE,$END_PAGE$QUOTE" eval "sed $CMD $SOURCE $TARGET" exit $? Sanjay ================================================================================ Hi, Here is another one i had downloaded from somewhere, but don't use. thought someone might find it useful. Regards sanjay Robert Hoey ================================================================================ Here's a script that we use to notify us if any filesystems have exceeded 90% usage. It runs every 15 minutes, but the script is setup to only e-mail you once per hour. -Rob Robert Hoey ================================================================================ Here's another one for those of you who are using Omniback. This script utilizes a text file that contains the schedule for rotating tapes. It then checks if the right tape is in the drive/slot. If no, then an e-mail is sent to the admins reminding them to switch the tapes. It also gives instructions to the on how to cancel a Mount Request if one has been detected. The format of the text schedule file is: MMDDYY:TAPENAME It's been great when I've been out of the office. The other admins are automatically reminded to change the tape. Thanks. -Rob Carlos Fernandez Riera ================================================================================ This is the script I wrote this morning. I am trying to know what disks are used by LVM. No check for lvmtab done. I think it is usefull for large disks environments. ******** mkdir /tmp/carlos/mapas for i in /dev/*/group do vg=`dirname $i` vgmap=`basename $vg` echo $i $vg $vgmap vgexport -s -m /tmp/carlos/mapas/${vgmap} -p $vg done for dsk in /dev/rdsk/* do echo $dsk "\c" dd if=$dsk bs=1024 skip=8 count=9 | dd bs=8 skip=2 count=1 | od -x done vgids_alldisks awk ' $1 ~ "/dev/rdsk" { print $3 $4 $5 $6, $1 }' vgids_alldisks | sort vgids_bydisk grep VGID mapas/* | sed -e "s#mapas/##" -e "s/:VGID//" | sort +1.0 vgids_byvg join -j1 2 -j2 1 -a 1 -a 2 -e "------" -o 2.2 2.1 1.1 vgids_byvg vgids_bydisk vgids.lst ***** Bill Hassell ================================================================================ OK, there are just too many to choose from so I'll just give y'all the URL: ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/ Look in coolscripts, cronscripts, programs and profiles. TYhe most popular ones (in coolscripts): bdfmegs (very useful, use -v for details) ljdisplay (personalize your LaserJet front panel) lls (long listing sorted by size) loadmedia (simple psgrep (grep through the ps listing) psram (sort all processes by RAM usage) viman (read man pages with vi) T. M. Louah ================================================================================ Attached script help Cleanup shared memory segments. cheers, t+- Bill McNAMARA ================================================================================ turning into a nice thread.. some cool scripts! Later, Bill Anthony khan ================================================================================ Hi Bill, Here is my contribution, ======================================================================= #!/bin/ksh # ------------------------------------------------------------------- # prodify -- set the file parameters properly on a subtree for # production # # Anthony Khan 2001 # # ------------------------------------------------------------------- PROGNAME=`basename $0` USAGE=" Usage: ${PROGNAME} [-o owner:group] [-u umask] [-v] directory\n \n This sets the owner/permissions/etc of all files recursively under\n the directory into a form suitable for production. The umask is set\n when the file executes, but does not do much atm.\n" # ------------------------------------------------------------------- # optional args. # OWNER_STRING="prod:xxprod" UMASK=002 VERBOSE=0 while getopts ":o:u:v" opt do case $opt in o) OWNER_STRING=$OPTARG;; u) UMASK=$OPTARG;; v) VERBOSE=1 ;; \?) echo $USAGE exit 1;; esac done shift `expr $OPTIND - 1` # ------------------------------------------------------------------- # non-optional args # DIR=${1:?"Provide a directory"} # ------------------------------------------------------------------- # steps # # umask umask ${UMASK} # go to directory if [ $VERBOSE -gt 0 ] then echo "cd ${DIR}"; fi cd ${DIR} || exit 1 # chown if [ $VERBOSE -gt 0 ] then echo "Changing ownership..."; fi chown -R ${OWNER_STRING} . || exit 1 # chmod dirs if [ $VERBOSE -gt 0 ] then echo "Changing directory permissions..."; fi find . -type d -mount -exec chmod 2775 {} \; || exit 1 # chmod files if [ $VERBOSE -gt 0 ] then echo "Changing file permissions..."; fi find . -type f -mount -perm -u=x -exec chmod 4774 {} \; || exit 1 find . -type f -mount ! -perm -u=x -exec chmod 0664 {} \; || exit 1 Kenny Chau ================================================================================ To check my machine status for whole day: /usr/sbin/sar -u -M /logging/perf/`date +%b%Y`/cpu`date +%d` 2 /dev/null /usr/sbin/sar -b /logging/perf/`date +%b%Y`/buffer`date +%d` 2 /dev/null /usr/sbin/sar -d /logging/perf/`date +%b%Y`/disk`date +%d` 2 /dev/null Regards, Kenny. SHABU KHAN ================================================================================ Bill, Here is my favourite.. This was written to check if a particular port on a remote host is alive .. --------------------------------------- # Author : Shabu Khan/Alan Acevedo #!/usr/local/bin/perl -w # Initialize! use IO::Socket; $numarg = @ARGV; if ($numarg != 2) { print "usage: tcpping host tcp port \n"; exit 1; } $host=$ARGV[0]; $tcpport=$ARGV[1]; # Main $socket=IO::Socket::INET- new ( PeerAddr = "$host", PeerPort = "$tcpport", Proto = "tcp", Type = SOCK_STREAM ) or die "Could not open port $tcpport.\n"; print "Able to open port $tcpport.\n"; close($socket); --------------------------------------------- -Shabu Charles Harris ================================================================================ Here's one of mine, with some valuable Forum code! Portscan on a line (almost): start_port=1 end_port=10000 host=127.0.0.1 if [ $# -eq 0 ] then echo "No options supplied, using defaults" sleep 2 clear else echo "Startport = $1, Endport = $2, Host = $3" export start_port=$1 export end_port=$2 export host=$3 fi [[ $start_port -gt $end_port ]] && echo "Start Port is Higher than the End Port" && exit 1 portscan () { echo " close"|telnet $host $start_port /dev/null 2 &1 if [ $? -eq 0 ] then echo "Port $start_port is open" fi export start_port=$(($start_port + 1)) } while [ $start_port -lt $(($end_port + 1)) ] do portscan done Chris Vail ================================================================================ This isn't a script per se, but I use it all the time in my scripts. I use it to parse a multi-line file into fields that I can do something with. Using the example of /etc/hosts: FILE=/etc/hosts LENGTH=`wc -l |$FILE|awk '{ print $1 }'` COUNTER=1 while test $COUNTER1 -le $LENGTH do LINE=`head -$COUNTER1 $FILE|tail -1` FIELD1=`echo $LINE|awk '{ print $1 }'` FIELD2=`echo $LINE|awk '{ print $2 }'` # etc..... COUNTER1=`echo "$COUNTER1 + 1"|bc` done Not every Unix supports the READ command, but all of them support HEAD and TAIL. Therefore this script can be used across all platforms. steven Burgess ================================================================================ Script to check free memory let x=$(grep -i physical: /var/adm/syslog/syslog.log | head -1 | awk '{print $7} ')/1048 let z=$(vmstat|tail -1|awk '{print $5}')*4096;let z=$z/1000000 let free=100000/$x*$z let free=$free/1000 let free=100-$free echo "$x Mb physical memory \n$z Mb memory free \n$free % used" steven Burgess ================================================================================ Check host file for entry #!/usr/bin/ksh ############################################################################## # Script to grep for host name in /etc/hosts # ############################################################################## site=$1 while [ ! "$site" ] do echo "\nPlease speckify a host name\n" read site junk done grep $site /etc/hosts John Dykes ================================================================================ Another Omniback script. emails stats for last 2 sessions, tape used for last session, next 10 tapes in the pool, and tapes in poor condition. One of my first scripts but it works so I don't mess with it. Kenny Chau ================================================================================ Here is my script to check File system: bdf /tmp/fstmplog num=0 while read fs kbyte used avail percent mount do if [ "$mount" != "" ] && [ X"$mount" != X"Mounted on" ] && [ "$mount" != "/cdrom" ] ; then count=`/usr/bin/echo $percent | cut -d"%" -f 1` if [ "$count" -ge "96" ] ; then /usr/bin/echo "$mount reach $percent." let "num = $num + 1" fi fi done /tmp/fstmplog if [ $num = 0 ] ; then /usr/bin/echo "All File Systems are ok!" fi Regards, Kenny. H.Merijn Brand (procura) ================================================================================ 1. appchk.pl insert your latest Application CD-Rom into the drive and run this script to see whether it has newer versions of installed software available. I expect the CD to be mounted on /cdrom (initialized on line 14) I skip japanese, german,french etc (lines 63 and on) 2. stm.pl a perl/Tk script to display the system's architecture and print it to a postscript printer you'll need perl, and the perl modules Tk, Tk::TreeGraph , and Graph Glenn L. Stewart ================================================================================ Would it be possible to attach some of these scripts as gz files? Many of the scripts are being word wrapped to 80 col therefore requiring a bit of debugging before execution. Thanks Glenn Kenny Chau ================================================================================ Here is my script to monitor the cluster: status=`/usr/sbin/cmviewcl | grep cluster | awk '{print $2}'` case $status in up ) /usr/bin/echo "Cluster is $status." Logging "Cluster is $status." ;; down ) /usr/bin/echo "Cluster is $status" Error "Cluster is $status" code=101 Pager Operator $code Pager Kenny $code ;; starting ) /usr/bin/echo "Cluster is $status" Error "Cluster is $status" code=102 Pager Operator $code ;; halting ) /usr/bin/echo "Cluster is $status" Error "Cluster is $status" code=103 Pager Operator $code ;; unknown ) /usr/bin/echo "Cluster is $status" Error "Cluster is $status" code=104 Pager Operator $code ;; * ) /usr/bin/echo "Cluster is $status" Error "Cluster is $status." code=105 Pager Operator $code ;; esac The Pager function will use mailx to send mail to the pagers. The Error function will log down the error. Regards, Kenny. Volker Borowski ================================================================================ Hi, ever had to check filesystems on 5 systems the same time ? Need to set date/time on 8 boxes concurrently, but no timeserver available ? What about a call like this: adsh bdf adsh date Not much music in this script, but a very nice tool! Volker Bill McNAMARA ================================================================================ ping! Pete Randall ================================================================================ Bill, Here's one I use when setting up a new system - nothing fancy but it copies over all the system type files that we've customized, modified, tuned, whatever. H.Merijn Brand (procura) ================================================================================ With kmtune as a very valuable tool, it's output is poor. This is a perl wrapper that makes it's output somewhat more useful. H.Merijn Brand (procura) ================================================================================ And, forgot, you can select on the command line, using PCRE N/A Nick Wickens ================================================================================ I hate setting up new users manually so heres a script originally created by my predecessor to do it, but substantially amended by me to ensure that duplicate UID's are not created across our two systems which means we can move the live user directories over to the development system using service guard. (And before anyone suggests it yes I could use NIS but I did'nt want to :@). The other invaluable script I run everynight is fairly site specific but I would recommend that everyone has one - Its a script to remotely print out all of the necessary information to recreate the system on a different box following a disaster and its proved invaluable many times (at least for recovery tests). Include output from the following to ensure you have enough information. vgdisplay -v bdf Your last omniback database backup tape No Full list of backup tapes for at least the last month. ioscan -fn print of /etc/fstab ll /dev/vg??/group (saves working out the minor numbers :@) ) swlist sysdef (plus a print out of /stand/system) Anyone else have any suggestions - I do also regualrly print out the LVMCollect script output mentioned in the earlier posting in this thread as it does come in handy for later reference. Rita C Workman ================================================================================ Changing password for a group of users.... This is now a favorite of mine. Issue: I had to mass change the password for a 'specific' group of users (identified by loginname=all cap letters & their password had expired). What we (Sven Liessem of HP Canada & me) came up with: Take a dummy account and key in the new password to get the encrypted password... Here's the script: newpass=" the encrypted p/w " cat /etc/passwd | while read line #read /etc/passwd line by line do echo $line | grep -q '^[A-Z][A-Z]*:[^:]*,3\.\.\.:' #see if it matches the criteria if [ $? -eq 0 ] then #now replace old passwd for new passwd and print line username=`echo $line | cut -d: -f1` therest=`echo $line | cut -d: -f 3-` echo $username:$newpass:$therest else #print unmodified lines echo $line fi done Well it worked for me..anyone else would need to edit the grep criteria to suit your needs.. Rgrds, Rita S.K. Chan ================================================================================ Script that I wrote to check LVM and device file status. See script for usage. Pete Randall ================================================================================ While not necessarily applicable to everyone, we find the attached script to move programs from development to production invaluable. We call it the Program Migration System, or PMS for short - politically incorrect for sure. Pete Nick Wickens ================================================================================ I have the attached script running at least once a day just to check if anything (particularly hardware) has changed or failed on the system since the previous run of the script just as a backup to other syslog checks. Yogeeraj ================================================================================ Hello, nice initiative BILL ;) Maybe this forum could have a section dedicated this topic. My contribution is the RDA(Remote Diagnostic Agent) which helps people running Oracle People should use to document their systems each time they do a change. Poeple having access to Metalink will get the latest version from here: http://metalink.oracle.com/cgi-bin/cr/getfile_cr.cgi?281592 otherwise the current version is attached. Cheers Yogeeraj John Carr ================================================================================ Hi Bill here is my bdf in MB , not as goos as yours but I needed a simple script quickly. John. Gnananandhan ================================================================================ Hi, This script will help in taking oracle database backup using tar utility. Regards, Gnana A. Yogeeraj ================================================================================ Hello, Another useful script that allows me to export my Oracle database and at the same time compress it. Saving precious diskspace. --------------------------------------------- #!/bin/csh -vx setenv UID / setenv FN exp.`date +%j_%Y`.dmp setenv PIPE /tmp/exp_tmp_ora8i.dmp setenv MAXSIZE 500m setenv EXPORT_WHAT "full=y COMPRESS=n" echo $FN cd /nfs/atc-netapp1/expbkup_ora8i ls -l rm expbkup.log export.test exp.*.dmp* $PIPE mknod $PIPE p date expbkup.log ( gzip $PIPE ) | split -b $MAXSIZE - $FN. & # uncomment this to just SPLIT the file, not compress and split #split -b $MAXSIZE $PIPE $FN. & exp userid=$UID buffer=20000000 file=$PIPE $EXPORT_WHAT & expbkup.log date expbkup.log date export.test cat `echo $FN.* | sort` | gunzip $PIPE & # uncomment this to just SPLIT the file, not compress and split #cat `echo $FN.* | sort` $PIPE & imp userid=sys/o8isgr8 file=$PIPE show=y full=y & export.test date export.test tail expbkup.log tail export.test ls -l rm -f $PIPE ----------------------------------------------- This also always does an 'integrity' check of the export right after it is done with an import show=y, that shows how to use these split files with import. ---------------------------------------------- !!! cat `echo $FN.* | sort` | gunzip $PIPE & sorts the filenames, sends them to cat, which give them to gunzip in the right order. Hope this will 1000's of you people Best Regards Yogeeraj Bill McNAMARA ================================================================================ Thanks all, Good scripts, and keep them coming! Later, Bill Yogeeraj ================================================================================ hi, This script DBAs will love it! ;) I still don't recall where i borrowed it however. Email Notification whenever an error (ORA type) occurs in the database. Hope someone appreciate it as we do it here! NB. please do the appropriate modifications before executing it. cheers yogeeraj noBADy ================================================================================ Hi, I would like to contribute with this small script, which I use to rename VG. Be careful, because we have a little bit different convention for naming VG and LV as usually used. No problem, script is easy customized... #!/sbin/sh export VG_OLD=$1 #Number of an old VG export VG_NEW=$2 #Number of a new VG vgchange -a n vg${VG_OLD} vgexport -s -m /tmp/vg${VG_OLD}.map vg${VG_OLD} mkdir /dev/vg${VG_NEW} mknod /dev/vg${VG_NEW}/group c 64 "0x"${VG_NEW}"0000" awk -v VG_NEW="${VG_NEW}" '{if ($2 ~ /^lv/) {print $1 " lv" VG_NEW} else {print $0}}' /tmp/vg${VG_OLD}.map /tmp/vg${VG_OLD}_.map vgimport -s -m /tmp/vg${VG_OLD}_.map vg${VG_NEW} vgchange -a y vg${VG_NEW} Have a nice time, Brano. Ceesjan van Hattum ================================================================================ statusinformation to html. This script collects specific system information; the smileys not attached. I use it to see in one glimps of an eye to check the status of the disks, system messages, specific processes, mail etc. The script is straightforward. Holger Knoppik ================================================================================ Hi, running this script once a month, i can get a quick overview of my machines. I hope the format of this attachment is ok ... If not, sorry ! Hey, where is Robin Wakefield ??? I got the STM stuff from him. RGDS, Holger Stefan Farrelly ================================================================================ serialnumber.sh echo "sel path system\ninfolog\nexit"|cstm|grep "System Serial Number" Yogeeraj ================================================================================ Hello, this one i use it quite often to locate my "memory hungry" sessions most of the time "zombies"... psram.sh regards Yogeeraj PS. Source from HP Forum ;) Justo Exposito ================================================================================ Hi, Based in an Stefan Farrelly Original Idea (http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa482107d277ad611abdb0090277a77 8c,00.html), this script change the permits to the original, for all the products an O.S. installed. Regards, Justo. Holger Knoppik ================================================================================ Wow, great stuff on this page ... Attached you will find a little modification of the smbstatus command in combination with cmviewcl and ssh ... RGDS, Holger Cheryl Griffin ================================================================================ I got this one years ago which will send a page if bdf reaches a threshold: Cron entry: 08 * * * * /cag/thresh /filesystem_here 75 2 &1 # cat thresh #!/usr/bin/ksh #bdf paging script to page when threshold is reached # $1 = Filesystem # $2 = Threshold CAPTHRESH=$2 bdf -i $1 | grep -v "^Filesystem" | paste - - | read FS V W X CAP Y Z IN OD MP if [[ ${CAP%\%*} -gt $CAPTHRESH ]] then echo "WARNING Filesystem $1 reach ${CAP%\%*}"%" Filesystem is almost Full" /usr/bin/mailx -s "Filesystem Alert" cag@youremail.com fi Cheryl Cheryl Griffin ================================================================================ I saw Stefan's serial number post and wanted to add: Starting at 11.11 some machines (Superdome, rp8400 and rp7410) will return serial number with: # getconf CS_MACHINE_SERIAL >From C, use confstr(_CS_MACHINE_SERIAL). Memory configuration: # echo "selclass qualifier memory;info;wait;infolog"|cstm /tmp/meminfo Processor information: # echo "selclass qualifier cpu;info;wait;infolog"|cstm /tmp/procinfo What disk and/or kernel you booted from: # echo 'boot_string/S'|adb /stand/vmunix /dev/mem H.Merijn Brand (procura) ================================================================================ And the serial command line (how useful!) does not work on 10.20 just FYI N/A Holger Knoppik ================================================================================ Hi again Bill, cannot get enough of this script collection and want to add something from our HA CIFS stuff ... NOTE: Every samba documentation i've read says, the daemons automatically re-read their configuration, but i didn't see any changes from testparm after manipulating the conf file ... So i wrote this little script sending a HANGUP to specific samba procs. The script also considers the different Fileservers ... ----------------------------------------------- #!/bin/sh # #set -x PATH=$PATH:/opt/samba/bin usage () { echo "USAGE: $0 Fileserver1 | Fileserver2 " } if [ "$#" != 1 ] then echo "ERROR in handling" usage exit 1 fi case $1 in Fileserver1) NETBIOS=fs_1 ;; Fileserver2) NETBIOS=fs_2 ;; *) echo "ERROR: $1 is an unknown instance!" usage exit 2 ;; esac echo "NOTE: Sending HANGUP to all samba procs belonging to $1" ps -ef | grep mb | grep ${NETBIOS} | grep -v grep | awk '{print $2}' | while read samba_proc;do echo "RELOADING ${samba_proc}" kill -1 ${samba_proc} done ----------------------------------------------- Hope it will be useful ! RGDS, Holger Thomas D. Harrison ================================================================================ chk.expired.passwd.sh Used Regularly on 11.0 This script generates a report with seven sections for accounts that are not allowed to login to the system and emails it to the sys admin. The seven reasons are: 1) Expired Passwords 2) Inactive Accounts 3) Past Absolute Account Lifetime 4) Excessive Invalid Login Attempts 5) Password Required but Using a Null Password 6) Administrative Lock 7) Password is "*" The script does use the /usr/lbin/getprpw command which is NOT supported by HP. These are used by SAM. Review the script before using. It assumes that the Working Directory is /sysadm/util/ Thomas D. Harrison ================================================================================ vicp Used regularly on 11.0 # vi and copy command # # This command copies the file you are about to edit # if this is the first time it is being edited on # the current date. If you use it multiple times # you will still have a copy of the days original # version. The backup file name is in the original # directory with the date (yymmdd format) appended # to the end. # # Syntax: vicp filename # Examples: vicp hosts # vicp /etc/hosts # # Results in a backup file called hosts.010602 if # this were run on 06.02.2001 It also used vipw for /etc/passwd and runs a grpck for /etc/group Thomas D. Harrison ================================================================================ getmac Used regularly on 11.0 # Script Description # This script is used to determine the MAC address of a system. It only works for # systems on the same subnet ( ie. 10.40.**.** ) It's simple enough. It simply uses ping, arp, and cut to get the info. Thomas D. Harrison ================================================================================ killname Used regularly on 11.0 This script greps "ps -ef" for up to 3 strings. If ONLY one job meets the criteria it prompts you with a (y/n) to kill it. If you replied "y" it does a "kill PID", sleeps 3 seconds, and then checks to see if the job has ended. e.g. killname run-amuck Bill Hassell ================================================================================ Just a note about Thomas's kill-by-name script. A little-known feature in ps (called XPG4 behavior) will improve the reliability of this type of script immeasureably. Typical: ps -ef | grep something | grep -v grep Easy and super reliable: UNIX95= ps -f -C something By setting (temporarily) UNIX95, the ps command inherits a bunch of new options such as -C -H and -o. -C does the grep for you but never looks at the entire line. Instead, -C finds the exact name of the process. Thus, -C sh will not find ksh but will find sh and -sh. Try these two examples: ps -ef | grep sh | grep -v grep UNIX95= ps -f -C sh Thomas D. Harrison ================================================================================ idmenu Used regularly on 11.0 This is a menu script for removing UserIDs. It prevents the removal of system IDs and any IDs that have BatchID in its description. It also verifies that the ID has "home" in it's home directory. The script shows the date all of the ID's home directory files were last accessed ( to ensure that a script that runs isn't using it etc...). The script then tars the directory into /sysadm/old.ids/ for a quick restore if needed. The script will need to be reviewed for appropriate directories etc... Yogeeraj ================================================================================ Hello, another good one. Sending files by batch to several server using ftp. We use it everyday. batchftp hostip user passwd sourcefile [ destfile ] best regards Yogeeraj Yogeeraj ================================================================================ Hi again, This one i got from HP. Helps me document my server configuration. Generates a report as below: ----------------------------------------------- cstm selclass qualifier cpu;info;wait;infolog -- Information Tool Log for CPU on path 160 -- Log creation time: Fri Jun 14 09:01:12 2002 Hardware path: 160 Product ID: CPU Module Type: 0 Hardware Model: 0x5c9 Software Model: 0x4 Hardware Revision: 0 Software Revision: 0 Hardware ID: 0 Software ID: 541706567 Boot ID: 0x2 Software Option: 0x91 Hard Physical Address: 0xfffa0000 Soft Physical Address: 0 Slot Number: 8 Software Capability: 0x100000f0 PDC Firmware Revision: 40.19 IODC Revision: 0 Instruction Cache [Kbyte]: 512 Processor Speed: N/A Data Cache [Kbyte]: 1024 Processor State: N/A Instruction TLB [entry]: 160 Processor Chip Revisions: 2.4 Data TLB Size [entry]: 160 2nd Level Cache Size:[KB] N/A Serial Number: 0 -------------- Memory Error Log Information -------------- Bus 0 Log Information No errors logged for this bus ------------ I/O Module Error Log Information ------------ No I/O module errors logged WARNING: The non-destructive test bit was set, so memory was not tested destructively. Information only, no action required. WARNING: One or more DIMMs in the system were not made by HP. Module Revision ------ -------- System Board A43938 PA 8500 CPU Module 2.4 ----------------------------------------------- Nice script. Best Regards Yogeeraj PS. oops! you will need stm installed on your machine. ;) H.Merijn Brand (procura) ================================================================================ In respons to all the 'ps' and 'kill' utilities, here's my perl scripts that do more like that 1. px A perl script that uses the portable Proc::ProcessTable module (also works on AIX and such), accepting ps options and patterns, showing the most interesting columns (IMHO) 2. px-ps Similar to px, but predates the Proc::ProcessTable module and uses ps parsing 3. killdown Shows processes in relation to eachother, and enables to kill a whole process tree 4. curses.pl Used by px and px-ps to make the headers use screen attributes 5. Getopt::Long-2.31 The most recent Getopt::Long module, part of the CORE perl distribution, but I use more recent features, requiring newer versions of this module than shipped with perl-5.6.1 6. Proc::ProcessTable-0.34.tgz The most recent Proc::ProcessTable module. Very much worth looking at if you want system independant scripts wrt ps Have (a lot of) fun! BTW I use px zillions of times a day, and almost never use ps anymore Sukant Naik ================================================================================ This is a simple script which I used to kill processes of certain type eg: I want to kill processes of user sukant # for i in `ps -ef|grep sukant | cut -c 10-14` do kill -9 $i done Regards, Sukant Ernesto Cappello ================================================================================ This script can be used to send by e-mail some daily backup report with OmniBack II 3.50 maybe in a cron. # !/bin/sh # Script to send by e-mail statistics on some backup report # 1) "LIST OF BACKUP SESSION" # 2) "CLIENT STATISTICS" # 3) "SESSION OBJECT REPORT" # datestr=`date '+%Y/%m/%d'` #### LIST OF BACKUP SESSION #### /opt/omni/bin/omnirpt -report list_sessions -timeframe 24 24 -html -email MY-EMAIL_ADDRESS #### SESSION OBJECT REPORT #### /opt/omni/bin/omnirpt -report session_objects -session $datestr-1 -html -email MY-EMAIL_ADDRESS /opt/omni/bin/omnirpt -report session_objects -session $datestr-2 -html -email MY-EMAIL_ADDRESS #### CLIENT STATISTICS #### /opt/omni/bin/omnirpt -report host_statistics -timeframe 24 24 -html -email MY-EMAIL_ADDRESS #### LIST MEDIA #### /opt/omni/bin/omnirpt -report media_list -html -email MY-EMAIL_ADDRESS I've 2 session objet in my office backup $datestr-1 and $datestr-2 .... in a my script session (#### SESSION OBJECT REPORT ####) Naturally you must replace instead of MY-EMAIL_ADDRESS his/her own e-mail address. For further information and other report look "man omnirpt". Regards Ernesto. Bill McNAMARA ================================================================================ I like that one Sukant! I'm going to have fun with that! PS: know what happens if you enter root? ;) Later, Bill John Eaton ================================================================================ Seems I posted a new message (http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2c87107d277ad611abdb0090277a77 8c,00.html ) rather than a response to this one. Oops I'll try again... I've written a report to generate an HTML email report of the previous days OmniBack backups, restores and used media, with color codes and clickable links. It's in the attachment as a shar file. It expands to 3 files, and shell wrapper, a perl script and a cgi perl script. We run the shell script from cron each morning and it delivers 2 versions - 1 for the admins, and one for managers and team leads. I tweaked it to remove site specific stuff, but it's self documented as to how to set it up, and my email is in there as well. Written with Perl5, HP-UX 10.20 and OmniBack 3.0. Fairly generic, but ya never know... Cheers, John Yogeeraj ================================================================================ Hi, This script is really helpful to me each time i need to kill blocking telnet user sessions from my server. == kick a user (deg) out of the system ;) Execution: L1000: home/deg kick ------------------------------- o o o oooo o o o o o o o o o oooo o o oooo o o o o o o o o o o o o o o o o oooo o o ------------------------------- 0 to cancel ENTER USER : deg I know many of you will find this simple script very useful. Cheers Yogeeraj George A Bodnar ================================================================================ This contains 2 scripts and 2 c programs (source code) that are used to show information on Omniback backups within a certain time range. The C programs are simple date manipulation programs that we use in a lot of our scripts to do things like get the date/time from 3 hours ago, 10 days from now, etc. Simply compile them to the same name as the c program without the extension - these compile fine an a number of other UNIX platforms. The omni_audit.ksh shell script is the main one in this bunch which can show 1 of 2 things: 1) Failed sessions within the last X hours including a guess at the reason for the failure. VERY useful for large Omniback shops that tend to have at least a few failures each night. 2) Session queuing for the last X hours. Once again useful to help balance your Omniback schedule. One warning - the data this uses seems to get reset when you cycle Omniback so trying to see 5 weeks ago data probably won't show you very much. Last warning - the filters used to parse output may need altered (see MSExchange) for shops using modules like Oracle, etc. since they change the name of sessions a bit. We only have the Exchange/Exchange 2000 filters so I dump this when creating output. Sample output: omni_audit.ksh: Generating list of sessions... omni_audit.ksh: Checking for jobs that ended unsuccessfully. Omniback failed jobs between Fri Jun 14 10:17:00 2002 and Sat Jun 15 10:17:00 2002 Datalist Session Status Reason Action server.full 2002/06/14-26 Aborted I/O drive1 NA ** Rerun attempt 2002/06/14-28 Completed SUCESSFUL NA *** Total Backups : 100 *** Total Successes : 100 (100.00%) *** Total Failures : 0 (0.00%) Greg Stark ================================================================================ Attached is a script called sys_info.sh that I run monthly on all of our servers for disaster recovery. After running it ftp's the info to our webserver. I used some code from this forum, thanks again, and some of my own. It also converts the txt to html for the web. It isn't pretty, but it does the job. Let me know if you think there is something missing. Thanks, Greg Dave La Mar ================================================================================ I got tired of the CE constantly asking me if I would get some files and email them to him. Now when he comes in, he uses the attached script to email any number of attachments to the email address of his choice. And yes, we do have security measures in place. HP-UX 11.0 Anthony khan ================================================================================ Hi Bill, Sorry I was late, but remember its never too late, here's my mediawrite script. Donald Kok ================================================================================ When a new user enters the company, I get the request for a new user promptly. When a user leaves, I do not hear anything. However, our helpdesk does know who left the comany. So I made a script that sends a trimmed version of the passwd-file to the helpdesk with the kind request to check it for gone users. So, once in a while I find a list on my desk with the users I can remove. Here is the script: #!/bin/sh /usr/bin/cat /etc/passwd | /usr/bin/cut -f1,5 -d: | /usr/bin/grep -v amor | /usr/bin/grep -v root | /usr/bin/grep -v daemon | /usr/bin/grep -v bin | /usr/bin/grep -v sys | /usr/bin/grep -v adm | /usr/bin/grep -v uucp | /usr/bin/grep -v lp | /usr/bin/grep -v nuucp | /usr/bin/grep -v hpdb | /usr/bin/grep -v nobody | /usr/bin/grep -v ingres | /usr/bin/grep -v behehv | /usr/bin/grep -v ohoan | /usr/bin/grep -v wapla | /usr/bin/grep -v golmp | /usr/bin/grep -v tftp | /usr/bin/grep -v pcs | /usr/bin/grep -v hmmodel | /usr/bin/grep -v hmso | /usr/bin/grep -v rwslod | /usr/bin/grep -v lmpipe | /usr/bin/grep -v lmguest | /usr/bin/grep -v arcinfo | /usr/bin/grep -v simadm | /usr/bin/sort | /usr/bin/elm -s "please check the left users " helpdesk@mycompany.nl George Abraham ================================================================================ hai I got a small script to find the clock speed of system CPUS if [ "`uname -r | cut -d. -f2`" = "11" ] then ADB="adb -k" else ADB="adb" fi echo "itick_per_tick/D" | ${ADB} /stand/vmunix /dev/kmem | awk 'NF == 2 {print $2 / 10000}'` cheero George Bob Moore ================================================================================ Here's a script that i put together to take a bunch of downloaded patches and put them into a depot. It will ask some questions about the patches that are downloaded and put them in the appropriate subdirs. It works well for us, and makes getting patches deployed alot faster. I hope you can use it to. Later, BOB Steve Post ================================================================================ two very small things that I use a lot. Remove control-M's from a windows text file. cat $1 | tr -d "\015" Set your xwindows display variable #!/bin/ksh FRMHST=`who am i -u | awk -F"\ *" '{print $8}'` DISPLAY=${FRMHST}:0.0 export $DISPLAY echo DISPLAY var set to $DISPLAY Steve Post ================================================================================ don't want to run xomni to see the status? Have this cronjob send you the morning report with the results of last nights backups. Mark Greene ================================================================================ If you have a postscript file that you only want to print certain pages of, but don't have ghostscript or other postscript savy editor, this script is for you: #!/bin/ksh # extracts page(s) from a ps file into a new ps file # assumes the use of %%Pages: (atend) in the prolog ### PAGE_CNT=0 FILE= # source file name here NEW_FILE= # target file name here cat /dev/null $NEW_FILE TEMP_FILE=/tmp/temp_ps.$$ # this is a work file and gets deleted at the end STRING= # unique string to search to id the page(s) needed QUOTE="'" TOP=`grep -n "%%EndProlog" $FILE|cut -d":" -f1` head -$TOP $FILE $NEW_FILE OLD_IFS=$IFS egrep -n "$STRING|%%Page" $FILE|grep -v "Pages" $TEMP_FILE exec 3 $TEMP_FILE while read -u3 LINE; do IFS=: set $LINE if [ "${2}" = "%%Page" ]; then HOLD_ROW=$1 # remember this row number STRING_FOUND=0 elif [ "${2}" = "%%PageTrailer" ]; then if [ "${STRING_FOUND}" -eq 1 ]; then END_ROW=$1p # last row of page CMD="-n $QUOTE$START_ROW,$END_ROW$QUOTE" eval "sed $CMD $FILE $NEW_FILE" (( PAGE_CNT = $PAGE_CNT + 1 )) fi else START_ROW=$HOLD_ROW # previous %%Page row is start of page STRING_FOUND=1 fi IFS=$OLD_IFS done # add ending comments to ps file # TOTAL_PAGES=$PAGE_CNT # end of document echo "%%Trailer" $NEW_FILE echo "%%Pages: "$PAGE_CNT $NEW_FILE echo "%%EOF" $NEW_FILE IFS=$OLD_IFS rm -i $TEMP_FILE ### end of script ### Vicente Sanchez ================================================================================ Here it's my contribution. A small script to create the mirror of the boot disk. Regards, Vicente. Holger Knoppik ================================================================================ Hi again Bill ! little script to store smb.conf information by testparm regarding multiple fileserver instances: ---snip--- #!/bin/sh # #set -x PATH=$PATH:/opt/samba/bin LOGDATE='date +%d%m%y-%H%M%S' usage () { echo "USAGE: $0 INSTANCE1|INSTANCE2|INSTANCE3 " } if [ $# != 1 ] then echo "ERROR in usage" usage exit 1 fi INST=$1 case $INST in INSTANCE1) CONF=/etc/opt/samba/smb.conf.instance1 LOG=/var/opt/samba/inst1/logs/conf.`$LOGDATE` ;; INSTANCE2) CONF=/etc/opt/samba/smb.conf.instance2 LOG=/var/opt/samba/inst2/logs/conf.`$LOGDATE` ;; INSTANCE3) CONF=/etc/opt/samba/smb.conf.instance3 LOG=/var/opt/samba/inst3/logs/conf.`$LOGDATE` ;; *) echo "ERROR: $INST is an unknown instance" usage exit 1 esac ( date testparm $CONF EOF $LOG EOF ) echo "CONFIG STORED IN $LOG" ---snip--- RGDS, Holger Paula J Frazer-Campbell ================================================================================ HI Not a scipt but a tweak. Create in /usr/bin a file:- mail(your initials) ie. mailpjfc. Give it execute permissions. It should contain one line:- mailx -s "From server Name " YOUR@EMAIL.ADDRESS. So you want to transfer a file to your desktop then. cat filename | mailpjfc or:- strings filename | mailpjfc or:- what filename | mailpjfc Paula John Dvorchak ================================================================================ One simple one that I wrote to issue the same command on multiple systems. I also check for a list of restricted words like rm, mv etc. so I don't mess up and rm -rf the root directory. #!/usr/bin/ksh USAGE="usage:rrun 'command' i.e, uname -a or who -r " # Get command to run from command line COMMAND=$* # Check to see if it is blank if [[ $COMMAND = "" ]] then print $USAGE exit 1 fi # Check for rm, mv, shutdown and other nasty commands and shut it down # Enter your list of restricted commands below if [[ "$COMMAND" = +(*rm*||*mv*||*reboot*||*shutdown*||*init*) ]] then echo echo "******************************************" echo echo "Your command: $COMMAND" echo "Will not allow rm, mv, init, reboot or shutdown!" echo echo "******************************************" exit 1 fi # If the command is not blank and not nasty then do it for i in `cat /usr/local/etc/rrun.conf` #Name of file containing system names do print "************************ $i ***************************" # print "Running the following command on $i:$COMMAND" print $COMMAND remsh $i -n $COMMAND # print "***********************************************************" print done Pete Randall ================================================================================ Almost more of an alias that a script but very handy when your fingers get tired of typing ps -ef |grep. David Child ================================================================================ The attached script is useful if you like(d) the functionality of EMC's PowerPath command: powermt vgdisplay dev=all The vgdisplay option was removed after PowerPath 1.5, but it provided a nice look at your EMC disks and where they were being used. After we upgraded I wrote the attached. It can definately use a little cleanup and would probably run faster by drawing on powermt instead of syminq, but it works. Here is a sample output: S Y M M E T R I X Mcode Cache Num Phys Num Symm SymmID Attachment Model Version Size (MB) Devices Devices 000182401709 Local 3700 5265 8192 56 402 000182403007 Local 3700 5265 6144 82 309 ========= Device: 0703A000 ========== /dev/dsk/c8t0d0: /dev/vgarbortest2 /dev/dsk/c10t0d0: /dev/vgarbortest2 ========= Device: 0703B000 ========== /dev/dsk/c8t0d1: /dev/vgias_empr_test1 /dev/dsk/c10t0d1: /dev/vgias_empr_test1 ========= Device: 0703C000 ========== /dev/dsk/c8t0d2: /dev/vgarbortest4 /dev/dsk/c10t0d2: /dev/vgarbortest4 ========= Device: 0703D000 ========== /dev/dsk/c8t0d3: FREE /dev/dsk/c10t0d3: FREE ========= Device: 0703E000 ========== /dev/dsk/c8t0d4: /dev/vgarbortest0 /dev/dsk/c10t0d4: FREE .. As you can see, it lists each path to the same device. Note the last entry - it is showing FREE on one path because the PV Link was not set up. David Justo Exposito ================================================================================ Hi all, An script to send an e-mail with one or more bodies, one or more enclosed files and subject. To one ore more e-mail address. Regards, Justo. Belinda Dermody ================================================================================ Here is one script, that I run each night. Important.sh. It copies all the identified important system files and does ioscans and lvdisplays, pvdisplays and other stuff and puts all the output into a directory and zips it up. Also it copies the zip file over to another system for backup. It comes in handy for system crash or recovery and especially during the cold Installation of HPUX11.00 John Ferrara ================================================================================ Here is a cron script that I run daily to check for failed disks on all of my systems. uname -n /tmp/stale.log echo "\n\n" /tmp/stale.log find /dev/vg* -type b -exec /sbin/lvdisplay -v {} \; | grep stale 2 /tmp/stale.log 1 &2 I then email the stale.log to myself. John Nick Wickens ================================================================================ I get the same problem as Donald above where I am never informed of "leavers". Therefore I created the attached script to email me and the office managers details of all users that have not been used for the last 60 days (set by a variable at the start of the script). It also lets me know of any users that the operators have created that have never logged in (normally because the person never accepted the contract !!) Jordi Gras ================================================================================ Hi, Here is a little one to control the data movement in a directory... #while true do ll sleep 2 done Goodbye!!! V. V. Ravi Kumar ================================================================================ hi bill, here is the one which gets the info about successful/failed or sulogs into a file and send the file in mail every day. Script name logdetails ---------------------------------------- #!/usr/bin/sh DIR= Your Directory D=`date +%d` if [ $D -lt 10 ] then DATE=`date |awk '{print $2,"",$3}'` else DATE=`date |awk '{print $2,$3}'` fi last -R | grep "$DATE" $DIR/goodlog lastb -R | grep "$DATE" $DIR/badlog dt=`date +%m/%d` cat /var/adm/sulog |grep "$dt" $DIR/sulog echo "GOOD LOGS" $DIR/complog echo "---------" $DIR/complog sort -k 7,7 $DIR/goodlog $DIR/complog echo $DIR/complog echo "BAD LOGS" $DIR/complog echo "--------" $DIR/complog sort -k 7,7 $DIR/badlog $DIR/complog echo $DIR/complog echo "SU LOGS" $DIR/complog echo "-------" $DIR/complog cat $DIR/sulog $DIR/complog -------------------------------------------- put the follwoing entry in crontab 55 23 * * * /sysadm/cord/shell/logdetails/logdetails.sh;elm -s "Log Details on HPTST" (mail id) (Your Directory)/complog V. V. Ravi Kumar ================================================================================ hi bill, i mentioned the path in crontab which is in my system, its a mistake it should be 55 23 * * * (Your Directory)/logdetails;elm -s "Log Details on machine name " (mail id) (Your Directory)/complog which runs everyday at 11:55 pm. regds ravi V. V. Ravi Kumar ================================================================================ hi, one more small script which sends the mail about file systems which are 90% or more full. Script name: fscron -------------------------------------------- #!/usr/bin/sh bdf|awk '{print $5," ",$6}'|sed 's/%/ /g'|awk '$1 89{print $1," ",$2}'|sed '1d' -------------------------------------------- put the following entry in crontab 55 8 * * * (your Directory)/fscron (your directory)/fssize;elm -s "FS Size more than 90 on machine name " (mail id) (yourdirectory)/fssize regds ravi benoit Bruckert ================================================================================ Nice things on this page... Here's my contribution : A little script to run every nite late, which send an email in case of any big error in omniback backups.. Geoff Wild ================================================================================ Here's one I got from HP, but added some more parameters. It displays memory, cpu, and some krenel parameters. Rgds...Geoff cat hpmem #!/bin/ksh # # Taken from the HP/UniGraphics FAQ # You must be ROOT to execute this since it uses adb to # examine the running kernel # GetKernelSymbol() { echo "$1/D" | adb -k $hpux /dev/kmem | tr "\012" " " | read junk junk2 kval } hpux=/hp-ux rev=$(uname -r | cut -d. -f2) if ((rev 9)); then hpux=/stand/vmunix ;fi /bin/uname -a GetKernelSymbol "processor_count" print CPU Count: $kval GetKernelSymbol "itick_per_tick" let speed=kval/10000 print CPU Speed: $speed MHz if ((rev 10)); then print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit print Kernel Support: `getconf KERNEL_BITS`-bit GetKernelSymbol "memory_installed_in_machine" else GetKernelSymbol "physmem" fi let mb=kval*4/1024 # convert pages to MB print RAM Size: $mb MB GetKernelSymbol "bufpages" let mb=kval*4/1024 # convert pages to MB print bufpages: $mb MB GetKernelSymbol "maxuprc" print maxuprc: $kval GetKernelSymbol "maxvgs" print maxvgs: $kval GetKernelSymbol "maxfiles" print maxfiles: $kval GetKernelSymbol "max_thread_proc" print max_thread_proc: $kval GetKernelSymbol "nfile" print nfile: $kval GetKernelSymbol "nflocks" print nflock: $kval GetKernelSymbol "nproc" print nproc: $kval GetKernelSymbol "ninode" print ninode: $kval GetKernelSymbol "vfd_cw" print shmmax: $kval GetKernelSymbol "shmmni" print shmmni: $kval Geoff Wild ================================================================================ Here's 1 more I use to check individual printers (this is used by our operators a lot). Rgds...Geoff cat /opt/hpnpl/bin/lpst #!/bin/sh # # check printer status # Geoff Wild if [ $# -lt 1 -o \( $# -gt 1 -a $# -lt 4 \) ] then echo "Usage:" echo "lpst \"printer\"" echo "Example:" echo "lpst W052" exit 1 fi echo " " /usr/sbin/ping $1 -n 2 echo " " lpstat -p$1 -v$1 echo " " echo "Output Requests" echo "-----------------------------------------------------------" lpstat -o$1 echo " " lpstat -r echo " " summary of site-wide JavaScript functionality this drop down will allow you to select a language English » Contact HP Search: Forums advanced search IT Resource Center (Forums) All of HP (US) IT Resource Center Forums HP-UX Serviceguard New cluster cmcheckconf fails on standby lan - This thread has been closed ========================================================================== » IT Resource Center ================== » Login » Register » My profile » Search knowledge base » Forums » Patch database » Download drivers, software and firmware » Warranty check » Support Case Manager » Software Update Manager » Training and Education » More maintenance and support options » Online help » Site map Member icons HP moderator Expert in this area Member status ITRC Pro 250 points ITRC Graduate 500 points ITRC Wizard 1000 points ITRC Royalty 2500 points ITRC Pharaoh 7500 points Olympian 20000 points 1-Star Olympian 40000 points 2-Star Olympian 80000 points » How to earn points » Support forums FAQs Question status Magical answer Message with a response that solved the author's question Favorites status Add to my favorites Delete from my favorites Thread closed Author Subject: New cluster cmcheckconf fails on standby lan Jim Naylor ================================================================================ I am creating a new two node cluster. When I run the cmcheckconf I get this error on the standby lans (lan2 on both nodes). Gathering Network Configuration ......... Done Warning: Network interface lan2 on node deimos couldn't talk to itself. Warning: Network interface lan2 on node mars couldn't talk to itself. Error: lan2 on node deimos cannot be configured in the cluster because it does not have an IP address, and it is not a standby lan for any other lan. Error: lan2 on node mars cannot be configured in the cluster because it does not have an IP address, and it is not a standby lan for any other lan. Failed to evaluate network cmcheckconf : Unable to reconcile configuration file /etc/cmcluster/cluster1.config with discovered configuration information. The lan2 devices are not configured. I tried toing an ifconfig lan2 unplumb and plumb but still get the same error. Here is my entry ing the /etc/cmcluster/cluster1.config: NODE_NAME mars NETWORK_INTERFACE lan0 HEARTBEAT_IP 10.146.0.187 NETWORK_INTERFACE lan2 NETWORK_INTERFACE lan3 HEARTBEAT_IP 10.147.0.185 NETWORK_INTERFACE lan4 HEARTBEAT_IP 10.145.0.183 FIRST_CLUSTER_LOCK_PV /dev/dsk/c8t1d0 I have identical entries for the second node. If I rmeove the lan2 entry then the cmcheckconf completes without error. Any suggestions will be appreciated. ================================================================================ You have an issue with the connectivity, the Standby networks are unable to get in conatct with each other or even themselves You need to verify this and rectyify, possible causes are bad cables, switch ports or switch connectivity Stephen Doud ================================================================================ Use 'linkloop' to determine whether lan2 has any physical contact with at least one of the NICs that have IPs assigned to them. If it is segregated from them, it cannot act as a standby LAN. In that case, comment it out of the cluster configuration file or connect lan2 on the same LAN/vLAN as an intended primary NIC. Syntax: # linkloop -I card instance MAC address of target NIC Where the card instance number can be resolved from 'lanscan' Jim Naylor ================================================================================ Thanks to both Melvyn and Stephen. It turns out both cables were wired incorrectly. We are running new cables and will make sure the are tested. Jim Naylor ================================================================================ Both Melvyn and Stephen had the correct answer. Both cables were wired incorrectly. Thanks for the help.


SUBJECT: SAN - DISKS ARE MISSING kholikt ================================================================================ Hi, I am having problem to see one path and I can confirm that HBA, Zoning all are correct. From the EMC storage side I was told that the HBA has logged on. Is this because last time I used the HBA connect to HP storage and now change to EMC some clean up needs to be done? I can see some of the following error message Jul 16 15:41:31 sgx651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 15:41:31 sgx651 vmunix: device id = loop id, for private loop devices Jul 16 15:41:31 sgx651 vmunix: device id = nport ID, for I have attached syslog and ioscan output ================================================================================ Class I H/W Path Driver S/W State H/W Type Description ============================================================================== root 0 root CLAIMED BUS_NEXUS cell 0 0 cell CLAIMED BUS_NEXUS ioa 0 0/0 sba CLAIMED BUS_NEXUS System Bus Adapter (805) ba 0 0/0/0 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782) tty 0 0/0/0/0/0 asio0 CLAIMED INTERFACE PCI SimpleComm (103c1290) /dev/diag/mux0 /dev/mux0 /dev/tty0p0 tty 1 0/0/0/0/1 asio0 CLAIMED INTERFACE PCI Serial (103c1048) /dev/GSPdiag1 /dev/diag/mux1 /dev/mux1 /dev/tty1p0 /dev/tty1p2 /dev/tty1p4 lan 0 0/0/0/1/0 igelan CLAIMED INTERFACE HP A7109-60001 PCI 1000Base-T Core ext_bus 0 0/0/0/2/0 c8xx CLAIMED INTERFACE SCSI C1010 Ultra Wide Single-Ended target 0 0/0/0/2/0.6 tgt CLAIMED DEVICE disk 0 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC /dev/dsk/c0t6d0 /dev/rdsk/c0t6d0 target 1 0/0/0/2/0.7 tgt CLAIMED DEVICE ctl 0 0/0/0/2/0.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c0t7d0 ext_bus 1 0/0/0/2/1 c8xx CLAIMED INTERFACE SCSI C1010 Ultra Wide Single-Ended target 2 0/0/0/2/1.2 tgt CLAIMED DEVICE disk 1 0/0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305 /dev/dsk/c1t2d0 /dev/rdsk/c1t2d0 target 3 0/0/0/2/1.7 tgt CLAIMED DEVICE ctl 1 0/0/0/2/1.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c1t7d0 ext_bus 2 0/0/0/3/0 c8xx CLAIMED INTERFACE SCSI C1010 Ultra Wide Single-Ended target 4 0/0/0/3/0.6 tgt CLAIMED DEVICE disk 2 0/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC /dev/dsk/c2t6d0 /dev/rdsk/c2t6d0 target 5 0/0/0/3/0.7 tgt CLAIMED DEVICE ctl 2 0/0/0/3/0.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c2t7d0 ext_bus 3 0/0/0/3/1 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD target 6 0/0/0/3/1.7 tgt CLAIMED DEVICE ctl 3 0/0/0/3/1.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c3t7d0 ba 1 0/0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 2 0/0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 3 0/0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 4 0/0/6 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 5 0/0/8 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 6 0/0/8/1/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge fc 0 0/0/8/1/0/4/0 fcd CLAIMED INTERFACE HP A9784-60001 PCI/PCI-X Fibre Channel FC/GigE Combo Adapter (FC Port 1) /dev/fcd0 fcp 2 0/0/8/1/0/4/0.1 fcd_fcp NO_HW INTERFACE FCP Domain ext_bus 12 0/0/8/1/0/4/0.1.0.0.1 fcd_vbus NO_HW INTERFACE FCP Array Interface target 7 0/0/8/1/0/4/0.1.0.0.1.0 tgt NO_HW DEVICE target 8 0/0/8/1/0/4/0.1.0.0.1.1 tgt NO_HW DEVICE target 9 0/0/8/1/0/4/0.1.0.0.1.2 tgt NO_HW DEVICE target 10 0/0/8/1/0/4/0.1.0.0.1.3 tgt NO_HW DEVICE target 11 0/0/8/1/0/4/0.1.0.0.1.4 tgt NO_HW DEVICE target 12 0/0/8/1/0/4/0.1.0.0.1.5 tgt NO_HW DEVICE target 13 0/0/8/1/0/4/0.1.0.0.1.6 tgt NO_HW DEVICE target 14 0/0/8/1/0/4/0.1.0.0.1.7 tgt NO_HW DEVICE target 15 0/0/8/1/0/4/0.1.0.0.1.8 tgt NO_HW DEVICE target 16 0/0/8/1/0/4/0.1.0.0.1.9 tgt NO_HW DEVICE target 17 0/0/8/1/0/4/0.1.0.0.1.10 tgt NO_HW DEVICE target 18 0/0/8/1/0/4/0.1.0.0.1.11 tgt NO_HW DEVICE target 19 0/0/8/1/0/4/0.1.0.0.1.12 tgt NO_HW DEVICE target 20 0/0/8/1/0/4/0.1.0.0.1.13 tgt NO_HW DEVICE target 21 0/0/8/1/0/4/0.1.0.0.1.14 tgt NO_HW DEVICE target 22 0/0/8/1/0/4/0.1.0.0.1.15 tgt NO_HW DEVICE ext_bus 13 0/0/8/1/0/4/0.1.0.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface target 23 0/0/8/1/0/4/0.1.0.255.0.0 tgt NO_HW DEVICE ctl 11 0/0/8/1/0/4/0.1.0.255.0.0.0 sctl NO_HW DEVICE HP OPEN-XP512 /dev/rscsi/c13t0d0 ext_bus 18 0/0/8/1/0/4/0.1.4.0.0 fcd_vbus NO_HW INTERFACE FCP Array Interface target 24 0/0/8/1/0/4/0.1.4.0.0.0 tgt NO_HW DEVICE target 25 0/0/8/1/0/4/0.1.4.0.0.1 tgt NO_HW DEVICE target 26 0/0/8/1/0/4/0.1.4.0.0.2 tgt NO_HW DEVICE target 27 0/0/8/1/0/4/0.1.4.0.0.3 tgt NO_HW DEVICE target 28 0/0/8/1/0/4/0.1.4.0.0.4 tgt NO_HW DEVICE target 29 0/0/8/1/0/4/0.1.4.0.0.5 tgt NO_HW DEVICE target 30 0/0/8/1/0/4/0.1.4.0.0.6 tgt NO_HW DEVICE target 31 0/0/8/1/0/4/0.1.4.0.0.7 tgt NO_HW DEVICE target 32 0/0/8/1/0/4/0.1.4.0.0.8 tgt NO_HW DEVICE target 33 0/0/8/1/0/4/0.1.4.0.0.9 tgt NO_HW DEVICE target 34 0/0/8/1/0/4/0.1.4.0.0.10 tgt NO_HW DEVICE target 35 0/0/8/1/0/4/0.1.4.0.0.11 tgt NO_HW DEVICE target 36 0/0/8/1/0/4/0.1.4.0.0.12 tgt NO_HW DEVICE target 37 0/0/8/1/0/4/0.1.4.0.0.13 tgt NO_HW DEVICE target 38 0/0/8/1/0/4/0.1.4.0.0.14 tgt NO_HW DEVICE target 39 0/0/8/1/0/4/0.1.4.0.0.15 tgt NO_HW DEVICE ext_bus 24 0/0/8/1/0/4/0.1.4.0.1 fcd_vbus NO_HW INTERFACE FCP Array Interface target 40 0/0/8/1/0/4/0.1.4.0.1.0 tgt NO_HW DEVICE target 41 0/0/8/1/0/4/0.1.4.0.1.1 tgt NO_HW DEVICE target 42 0/0/8/1/0/4/0.1.4.0.1.2 tgt NO_HW DEVICE target 43 0/0/8/1/0/4/0.1.4.0.1.3 tgt NO_HW DEVICE target 44 0/0/8/1/0/4/0.1.4.0.1.4 tgt NO_HW DEVICE target 45 0/0/8/1/0/4/0.1.4.0.1.5 tgt NO_HW DEVICE target 46 0/0/8/1/0/4/0.1.4.0.1.6 tgt NO_HW DEVICE target 47 0/0/8/1/0/4/0.1.4.0.1.7 tgt NO_HW DEVICE target 48 0/0/8/1/0/4/0.1.4.0.1.8 tgt NO_HW DEVICE target 49 0/0/8/1/0/4/0.1.4.0.1.9 tgt NO_HW DEVICE target 50 0/0/8/1/0/4/0.1.4.0.1.10 tgt NO_HW DEVICE target 51 0/0/8/1/0/4/0.1.4.0.1.11 tgt NO_HW DEVICE target 52 0/0/8/1/0/4/0.1.4.0.1.12 tgt NO_HW DEVICE target 53 0/0/8/1/0/4/0.1.4.0.1.13 tgt NO_HW DEVICE target 54 0/0/8/1/0/4/0.1.4.0.1.14 tgt NO_HW DEVICE target 55 0/0/8/1/0/4/0.1.4.0.1.15 tgt NO_HW DEVICE ext_bus 19 0/0/8/1/0/4/0.1.4.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface target 56 0/0/8/1/0/4/0.1.4.255.0.0 tgt NO_HW DEVICE ctl 13 0/0/8/1/0/4/0.1.4.255.0.0.0 sctl NO_HW DEVICE HP OPEN-XP512 /dev/rscsi/c19t0d0 fcp 3 0/0/8/1/0/4/0.2 fcd_fcp NO_HW INTERFACE FCP Domain ext_bus 14 0/0/8/1/0/4/0.2.0.0.1 fcd_vbus NO_HW INTERFACE FCP Array Interface target 57 0/0/8/1/0/4/0.2.0.0.1.0 tgt NO_HW DEVICE target 58 0/0/8/1/0/4/0.2.0.0.1.1 tgt NO_HW DEVICE target 59 0/0/8/1/0/4/0.2.0.0.1.2 tgt NO_HW DEVICE target 60 0/0/8/1/0/4/0.2.0.0.1.3 tgt NO_HW DEVICE target 61 0/0/8/1/0/4/0.2.0.0.1.4 tgt NO_HW DEVICE target 62 0/0/8/1/0/4/0.2.0.0.1.5 tgt NO_HW DEVICE target 63 0/0/8/1/0/4/0.2.0.0.1.6 tgt NO_HW DEVICE target 64 0/0/8/1/0/4/0.2.0.0.1.7 tgt NO_HW DEVICE target 65 0/0/8/1/0/4/0.2.0.0.1.8 tgt NO_HW DEVICE target 66 0/0/8/1/0/4/0.2.0.0.1.9 tgt NO_HW DEVICE target 67 0/0/8/1/0/4/0.2.0.0.1.10 tgt NO_HW DEVICE target 68 0/0/8/1/0/4/0.2.0.0.1.11 tgt NO_HW DEVICE target 69 0/0/8/1/0/4/0.2.0.0.1.12 tgt NO_HW DEVICE target 70 0/0/8/1/0/4/0.2.0.0.1.13 tgt NO_HW DEVICE target 71 0/0/8/1/0/4/0.2.0.0.1.14 tgt NO_HW DEVICE target 72 0/0/8/1/0/4/0.2.0.0.1.15 tgt NO_HW DEVICE ext_bus 15 0/0/8/1/0/4/0.2.0.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface target 73 0/0/8/1/0/4/0.2.0.255.0.0 tgt NO_HW DEVICE ctl 10 0/0/8/1/0/4/0.2.0.255.0.0.0 sctl NO_HW DEVICE HP OPEN-XP512 /dev/rscsi/c15t0d0 ext_bus 22 0/0/8/1/0/4/0.2.2.0.0 fcd_vbus NO_HW INTERFACE FCP Array Interface target 74 0/0/8/1/0/4/0.2.2.0.0.0 tgt NO_HW DEVICE target 75 0/0/8/1/0/4/0.2.2.0.0.1 tgt NO_HW DEVICE target 76 0/0/8/1/0/4/0.2.2.0.0.2 tgt NO_HW DEVICE target 77 0/0/8/1/0/4/0.2.2.0.0.3 tgt NO_HW DEVICE target 78 0/0/8/1/0/4/0.2.2.0.0.4 tgt NO_HW DEVICE target 79 0/0/8/1/0/4/0.2.2.0.0.5 tgt NO_HW DEVICE target 80 0/0/8/1/0/4/0.2.2.0.0.6 tgt NO_HW DEVICE target 81 0/0/8/1/0/4/0.2.2.0.0.7 tgt NO_HW DEVICE target 82 0/0/8/1/0/4/0.2.2.0.0.8 tgt NO_HW DEVICE target 83 0/0/8/1/0/4/0.2.2.0.0.9 tgt NO_HW DEVICE target 84 0/0/8/1/0/4/0.2.2.0.0.10 tgt NO_HW DEVICE target 85 0/0/8/1/0/4/0.2.2.0.0.11 tgt NO_HW DEVICE target 86 0/0/8/1/0/4/0.2.2.0.0.12 tgt NO_HW DEVICE target 87 0/0/8/1/0/4/0.2.2.0.0.13 tgt NO_HW DEVICE target 88 0/0/8/1/0/4/0.2.2.0.0.14 tgt NO_HW DEVICE target 89 0/0/8/1/0/4/0.2.2.0.0.15 tgt NO_HW DEVICE ext_bus 23 0/0/8/1/0/4/0.2.2.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface target 90 0/0/8/1/0/4/0.2.2.255.0.0 tgt NO_HW DEVICE ctl 15 0/0/8/1/0/4/0.2.2.255.0.0.0 sctl NO_HW DEVICE HP OPEN-XP512 /dev/rscsi/c23t0d0 fcp 6 0/0/8/1/0/4/0.82 fcd_fcp CLAIMED INTERFACE FCP Domain ext_bus 29 0/0/8/1/0/4/0.82.0.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface target 199 0/0/8/1/0/4/0.82.0.0.0.0 tgt CLAIMED DEVICE disk 33 0/0/8/1/0/4/0.82.0.0.0.0.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t0d0 /dev/rdsk/c29t0d0 disk 34 0/0/8/1/0/4/0.82.0.0.0.0.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t0d1 /dev/rdsk/c29t0d1 disk 35 0/0/8/1/0/4/0.82.0.0.0.0.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t0d2 /dev/rdsk/c29t0d2 disk 97 0/0/8/1/0/4/0.82.0.0.0.0.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t0d3 /dev/rdsk/c29t0d3 disk 98 0/0/8/1/0/4/0.82.0.0.0.0.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t0d4 /dev/rdsk/c29t0d4 target 200 0/0/8/1/0/4/0.82.0.0.0.1 tgt CLAIMED DEVICE disk 99 0/0/8/1/0/4/0.82.0.0.0.1.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t1d3 /dev/rdsk/c29t1d3 disk 100 0/0/8/1/0/4/0.82.0.0.0.1.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t1d4 /dev/rdsk/c29t1d4 disk 101 0/0/8/1/0/4/0.82.0.0.0.1.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t1d5 /dev/rdsk/c29t1d5 disk 102 0/0/8/1/0/4/0.82.0.0.0.1.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t1d6 /dev/rdsk/c29t1d6 disk 103 0/0/8/1/0/4/0.82.0.0.0.1.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t1d7 /dev/rdsk/c29t1d7 target 201 0/0/8/1/0/4/0.82.0.0.0.2 tgt CLAIMED DEVICE disk 104 0/0/8/1/0/4/0.82.0.0.0.2.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d0 /dev/rdsk/c29t2d0 disk 105 0/0/8/1/0/4/0.82.0.0.0.2.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d1 /dev/rdsk/c29t2d1 disk 106 0/0/8/1/0/4/0.82.0.0.0.2.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d2 /dev/rdsk/c29t2d2 disk 107 0/0/8/1/0/4/0.82.0.0.0.2.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d3 /dev/rdsk/c29t2d3 disk 108 0/0/8/1/0/4/0.82.0.0.0.2.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d4 /dev/rdsk/c29t2d4 disk 109 0/0/8/1/0/4/0.82.0.0.0.2.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d5 /dev/rdsk/c29t2d5 disk 110 0/0/8/1/0/4/0.82.0.0.0.2.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d6 /dev/rdsk/c29t2d6 disk 111 0/0/8/1/0/4/0.82.0.0.0.2.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d7 /dev/rdsk/c29t2d7 target 202 0/0/8/1/0/4/0.82.0.0.0.3 tgt CLAIMED DEVICE disk 112 0/0/8/1/0/4/0.82.0.0.0.3.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d0 /dev/rdsk/c29t3d0 disk 113 0/0/8/1/0/4/0.82.0.0.0.3.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d1 /dev/rdsk/c29t3d1 disk 114 0/0/8/1/0/4/0.82.0.0.0.3.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d2 /dev/rdsk/c29t3d2 disk 115 0/0/8/1/0/4/0.82.0.0.0.3.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d3 /dev/rdsk/c29t3d3 disk 116 0/0/8/1/0/4/0.82.0.0.0.3.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d4 /dev/rdsk/c29t3d4 disk 117 0/0/8/1/0/4/0.82.0.0.0.3.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d5 /dev/rdsk/c29t3d5 disk 118 0/0/8/1/0/4/0.82.0.0.0.3.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d6 /dev/rdsk/c29t3d6 disk 119 0/0/8/1/0/4/0.82.0.0.0.3.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d7 /dev/rdsk/c29t3d7 target 203 0/0/8/1/0/4/0.82.0.0.0.4 tgt CLAIMED DEVICE disk 120 0/0/8/1/0/4/0.82.0.0.0.4.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d0 /dev/rdsk/c29t4d0 disk 121 0/0/8/1/0/4/0.82.0.0.0.4.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d1 /dev/rdsk/c29t4d1 disk 122 0/0/8/1/0/4/0.82.0.0.0.4.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d2 /dev/rdsk/c29t4d2 disk 123 0/0/8/1/0/4/0.82.0.0.0.4.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d3 /dev/rdsk/c29t4d3 disk 125 0/0/8/1/0/4/0.82.0.0.0.4.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d4 /dev/rdsk/c29t4d4 disk 127 0/0/8/1/0/4/0.82.0.0.0.4.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d5 /dev/rdsk/c29t4d5 disk 129 0/0/8/1/0/4/0.82.0.0.0.4.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d6 /dev/rdsk/c29t4d6 disk 130 0/0/8/1/0/4/0.82.0.0.0.4.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d7 /dev/rdsk/c29t4d7 target 204 0/0/8/1/0/4/0.82.0.0.0.5 tgt CLAIMED DEVICE disk 132 0/0/8/1/0/4/0.82.0.0.0.5.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d0 /dev/rdsk/c29t5d0 disk 133 0/0/8/1/0/4/0.82.0.0.0.5.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d1 /dev/rdsk/c29t5d1 disk 134 0/0/8/1/0/4/0.82.0.0.0.5.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d2 /dev/rdsk/c29t5d2 disk 135 0/0/8/1/0/4/0.82.0.0.0.5.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d3 /dev/rdsk/c29t5d3 disk 137 0/0/8/1/0/4/0.82.0.0.0.5.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d4 /dev/rdsk/c29t5d4 disk 139 0/0/8/1/0/4/0.82.0.0.0.5.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d5 /dev/rdsk/c29t5d5 disk 140 0/0/8/1/0/4/0.82.0.0.0.5.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d6 /dev/rdsk/c29t5d6 disk 142 0/0/8/1/0/4/0.82.0.0.0.5.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d7 /dev/rdsk/c29t5d7 target 205 0/0/8/1/0/4/0.82.0.0.0.6 tgt CLAIMED DEVICE disk 143 0/0/8/1/0/4/0.82.0.0.0.6.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d0 /dev/rdsk/c29t6d0 disk 144 0/0/8/1/0/4/0.82.0.0.0.6.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d1 /dev/rdsk/c29t6d1 disk 145 0/0/8/1/0/4/0.82.0.0.0.6.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d2 /dev/rdsk/c29t6d2 disk 149 0/0/8/1/0/4/0.82.0.0.0.6.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d3 /dev/rdsk/c29t6d3 disk 151 0/0/8/1/0/4/0.82.0.0.0.6.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d4 /dev/rdsk/c29t6d4 disk 154 0/0/8/1/0/4/0.82.0.0.0.6.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d5 /dev/rdsk/c29t6d5 disk 155 0/0/8/1/0/4/0.82.0.0.0.6.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d6 /dev/rdsk/c29t6d6 disk 157 0/0/8/1/0/4/0.82.0.0.0.6.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d7 /dev/rdsk/c29t6d7 target 206 0/0/8/1/0/4/0.82.0.0.0.7 tgt CLAIMED DEVICE disk 158 0/0/8/1/0/4/0.82.0.0.0.7.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d0 /dev/rdsk/c29t7d0 disk 162 0/0/8/1/0/4/0.82.0.0.0.7.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d1 /dev/rdsk/c29t7d1 disk 167 0/0/8/1/0/4/0.82.0.0.0.7.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d2 /dev/rdsk/c29t7d2 disk 169 0/0/8/1/0/4/0.82.0.0.0.7.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d3 /dev/rdsk/c29t7d3 disk 174 0/0/8/1/0/4/0.82.0.0.0.7.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d4 /dev/rdsk/c29t7d4 disk 177 0/0/8/1/0/4/0.82.0.0.0.7.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d5 /dev/rdsk/c29t7d5 disk 180 0/0/8/1/0/4/0.82.0.0.0.7.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d6 /dev/rdsk/c29t7d6 disk 184 0/0/8/1/0/4/0.82.0.0.0.7.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d7 /dev/rdsk/c29t7d7 target 207 0/0/8/1/0/4/0.82.0.0.0.8 tgt CLAIMED DEVICE disk 185 0/0/8/1/0/4/0.82.0.0.0.8.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d0 /dev/rdsk/c29t8d0 disk 186 0/0/8/1/0/4/0.82.0.0.0.8.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d1 /dev/rdsk/c29t8d1 disk 187 0/0/8/1/0/4/0.82.0.0.0.8.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d2 /dev/rdsk/c29t8d2 disk 188 0/0/8/1/0/4/0.82.0.0.0.8.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d3 /dev/rdsk/c29t8d3 disk 190 0/0/8/1/0/4/0.82.0.0.0.8.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d4 /dev/rdsk/c29t8d4 disk 198 0/0/8/1/0/4/0.82.0.0.0.8.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d5 /dev/rdsk/c29t8d5 disk 199 0/0/8/1/0/4/0.82.0.0.0.8.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d6 /dev/rdsk/c29t8d6 disk 200 0/0/8/1/0/4/0.82.0.0.0.8.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d7 /dev/rdsk/c29t8d7 target 208 0/0/8/1/0/4/0.82.0.0.0.9 tgt CLAIMED DEVICE disk 201 0/0/8/1/0/4/0.82.0.0.0.9.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d0 /dev/rdsk/c29t9d0 disk 202 0/0/8/1/0/4/0.82.0.0.0.9.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d1 /dev/rdsk/c29t9d1 disk 203 0/0/8/1/0/4/0.82.0.0.0.9.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d2 /dev/rdsk/c29t9d2 disk 204 0/0/8/1/0/4/0.82.0.0.0.9.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d3 /dev/rdsk/c29t9d3 disk 213 0/0/8/1/0/4/0.82.0.0.0.9.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d4 /dev/rdsk/c29t9d4 disk 224 0/0/8/1/0/4/0.82.0.0.0.9.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d5 /dev/rdsk/c29t9d5 disk 225 0/0/8/1/0/4/0.82.0.0.0.9.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d6 /dev/rdsk/c29t9d6 disk 226 0/0/8/1/0/4/0.82.0.0.0.9.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d7 /dev/rdsk/c29t9d7 target 209 0/0/8/1/0/4/0.82.0.0.0.10 tgt CLAIMED DEVICE disk 227 0/0/8/1/0/4/0.82.0.0.0.10.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d0 /dev/rdsk/c29t10d0 disk 228 0/0/8/1/0/4/0.82.0.0.0.10.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d1 /dev/rdsk/c29t10d1 disk 229 0/0/8/1/0/4/0.82.0.0.0.10.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d2 /dev/rdsk/c29t10d2 disk 260 0/0/8/1/0/4/0.82.0.0.0.10.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d3 /dev/rdsk/c29t10d3 disk 261 0/0/8/1/0/4/0.82.0.0.0.10.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d4 /dev/rdsk/c29t10d4 disk 262 0/0/8/1/0/4/0.82.0.0.0.10.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d5 /dev/rdsk/c29t10d5 disk 263 0/0/8/1/0/4/0.82.0.0.0.10.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d6 /dev/rdsk/c29t10d6 disk 264 0/0/8/1/0/4/0.82.0.0.0.10.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d7 /dev/rdsk/c29t10d7 target 210 0/0/8/1/0/4/0.82.0.0.0.11 tgt CLAIMED DEVICE disk 265 0/0/8/1/0/4/0.82.0.0.0.11.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d0 /dev/rdsk/c29t11d0 disk 266 0/0/8/1/0/4/0.82.0.0.0.11.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d1 /dev/rdsk/c29t11d1 disk 267 0/0/8/1/0/4/0.82.0.0.0.11.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d2 /dev/rdsk/c29t11d2 disk 268 0/0/8/1/0/4/0.82.0.0.0.11.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d3 /dev/rdsk/c29t11d3 disk 269 0/0/8/1/0/4/0.82.0.0.0.11.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d4 /dev/rdsk/c29t11d4 disk 270 0/0/8/1/0/4/0.82.0.0.0.11.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d5 /dev/rdsk/c29t11d5 disk 271 0/0/8/1/0/4/0.82.0.0.0.11.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d6 /dev/rdsk/c29t11d6 disk 272 0/0/8/1/0/4/0.82.0.0.0.11.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d7 /dev/rdsk/c29t11d7 target 211 0/0/8/1/0/4/0.82.0.0.0.12 tgt CLAIMED DEVICE disk 273 0/0/8/1/0/4/0.82.0.0.0.12.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d0 /dev/rdsk/c29t12d0 disk 274 0/0/8/1/0/4/0.82.0.0.0.12.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d1 /dev/rdsk/c29t12d1 disk 275 0/0/8/1/0/4/0.82.0.0.0.12.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d2 /dev/rdsk/c29t12d2 disk 276 0/0/8/1/0/4/0.82.0.0.0.12.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d3 /dev/rdsk/c29t12d3 disk 277 0/0/8/1/0/4/0.82.0.0.0.12.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d4 /dev/rdsk/c29t12d4 disk 278 0/0/8/1/0/4/0.82.0.0.0.12.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d5 /dev/rdsk/c29t12d5 disk 279 0/0/8/1/0/4/0.82.0.0.0.12.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d6 /dev/rdsk/c29t12d6 disk 280 0/0/8/1/0/4/0.82.0.0.0.12.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d7 /dev/rdsk/c29t12d7 target 212 0/0/8/1/0/4/0.82.0.0.0.13 tgt CLAIMED DEVICE disk 292 0/0/8/1/0/4/0.82.0.0.0.13.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d0 /dev/rdsk/c29t13d0 disk 294 0/0/8/1/0/4/0.82.0.0.0.13.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d1 /dev/rdsk/c29t13d1 disk 301 0/0/8/1/0/4/0.82.0.0.0.13.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d2 /dev/rdsk/c29t13d2 disk 303 0/0/8/1/0/4/0.82.0.0.0.13.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d3 /dev/rdsk/c29t13d3 disk 304 0/0/8/1/0/4/0.82.0.0.0.13.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d4 /dev/rdsk/c29t13d4 disk 305 0/0/8/1/0/4/0.82.0.0.0.13.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d5 /dev/rdsk/c29t13d5 disk 306 0/0/8/1/0/4/0.82.0.0.0.13.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d6 /dev/rdsk/c29t13d6 disk 307 0/0/8/1/0/4/0.82.0.0.0.13.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d7 /dev/rdsk/c29t13d7 target 213 0/0/8/1/0/4/0.82.0.0.0.14 tgt CLAIMED DEVICE disk 308 0/0/8/1/0/4/0.82.0.0.0.14.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t14d0 /dev/rdsk/c29t14d0 disk 309 0/0/8/1/0/4/0.82.0.0.0.14.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t14d1 /dev/rdsk/c29t14d1 disk 310 0/0/8/1/0/4/0.82.0.0.0.14.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t14d2 /dev/rdsk/c29t14d2 disk 311 0/0/8/1/0/4/0.82.0.0.0.14.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t14d3 /dev/rdsk/c29t14d3 ext_bus 30 0/0/8/1/0/4/0.82.0.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface target 198 0/0/8/1/0/4/0.82.0.255.0.0 tgt CLAIMED DEVICE ctl 18 0/0/8/1/0/4/0.82.0.255.0.0.0 sctl CLAIMED DEVICE EMC SYMMETRIX lan 1 0/0/8/1/0/6/0 igelan CLAIMED INTERFACE HP A9784-60001 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter ba 7 0/0/10 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) lan 2 0/0/10/1/0 iether CLAIMED INTERFACE HP A7011-60001 PCI/PCI-X 1000Base-SX Dual-port Adapter lan 3 0/0/10/1/1 iether CLAIMED INTERFACE HP A7011-60001 PCI/PCI-X 1000Base-SX Dual-port Adapter ba 8 0/0/12 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) lan 4 0/0/12/1/0 iether CLAIMED INTERFACE HP A7012-60001 PCI/PCI-X 1000Base-T Dual-port Adapter lan 5 0/0/12/1/1 iether CLAIMED INTERFACE HP A7012-60001 PCI/PCI-X 1000Base-T Dual-port Adapter ba 9 0/0/14 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ext_bus 4 0/0/14/1/0 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD A6829-60101 target 164 0/0/14/1/0.6 tgt CLAIMED DEVICE tape 1 0/0/14/1/0.6.0 stape CLAIMED DEVICE COMPAQ SDLT320 /dev/rmt/1m /dev/rmt/1mn /dev/rmt/c4t6d0BEST /dev/rmt/c4t6d0BESTn /dev/rmt/1mb /dev/rmt/1mnb /dev/rmt/c4t6d0BESTb /dev/rmt/c4t6d0BESTnb target 91 0/0/14/1/0.7 tgt CLAIMED DEVICE ctl 4 0/0/14/1/0.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c4t7d0 ext_bus 5 0/0/14/1/1 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD A6829-60101 target 92 0/0/14/1/1.7 tgt CLAIMED DEVICE ctl 5 0/0/14/1/1.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c5t7d0 memory 0 0/5 memory CLAIMED MEMORY Memory ipmi 0 0/6 ipmi CLAIMED INTERFACE IPMI Controller /dev/ipmi processor 0 0/10 processor CLAIMED PROCESSOR Processor processor 1 0/11 processor CLAIMED PROCESSOR Processor processor 2 0/14 processor CLAIMED PROCESSOR Processor processor 3 0/15 processor CLAIMED PROCESSOR Processor cell 1 1 cell CLAIMED BUS_NEXUS ioa 1 1/0 sba CLAIMED BUS_NEXUS System Bus Adapter (805) ba 10 1/0/0 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782) ba 11 1/0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 12 1/0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 13 1/0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 14 1/0/6 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 15 1/0/8 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 16 1/0/8/1/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge fc 1 1/0/8/1/0/4/0 fcd CLAIMED INTERFACE HP A9784-60001 PCI/PCI-X Fibre Channel FC/GigE Combo Adapter (FC Port 1) /dev/fcd1 fcp 0 1/0/8/1/0/4/0.1 fcd_fcp CLAIMED INTERFACE FCP Domain ext_bus 8 1/0/8/1/0/4/0.1.0.0.1 fcd_vbus CLAIMED INTERFACE FCP Array Interface target 93 1/0/8/1/0/4/0.1.0.0.1.0 tgt CLAIMED DEVICE disk 4 1/0/8/1/0/4/0.1.0.0.1.0.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c8t0d0 /dev/rdsk/c8t0d0 target 94 1/0/8/1/0/4/0.1.0.0.1.1 tgt CLAIMED DEVICE disk 6 1/0/8/1/0/4/0.1.0.0.1.1.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c8t1d0 /dev/rdsk/c8t1d0 target 95 1/0/8/1/0/4/0.1.0.0.1.2 tgt CLAIMED DEVICE disk 9 1/0/8/1/0/4/0.1.0.0.1.2.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c8t2d0 /dev/rdsk/c8t2d0 target 96 1/0/8/1/0/4/0.1.0.0.1.3 tgt CLAIMED DEVICE disk 11 1/0/8/1/0/4/0.1.0.0.1.3.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM /dev/dsk/c8t3d0 /dev/rdsk/c8t3d0 target 97 1/0/8/1/0/4/0.1.0.0.1.4 tgt CLAIMED DEVICE disk 13 1/0/8/1/0/4/0.1.0.0.1.4.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c8t4d0 /dev/rdsk/c8t4d0 target 98 1/0/8/1/0/4/0.1.0.0.1.5 tgt CLAIMED DEVICE disk 17 1/0/8/1/0/4/0.1.0.0.1.5.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c8t5d0 /dev/rdsk/c8t5d0 target 99 1/0/8/1/0/4/0.1.0.0.1.6 tgt CLAIMED DEVICE disk 21 1/0/8/1/0/4/0.1.0.0.1.6.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c8t6d0 /dev/rdsk/c8t6d0 target 100 1/0/8/1/0/4/0.1.0.0.1.7 tgt CLAIMED DEVICE disk 29 1/0/8/1/0/4/0.1.0.0.1.7.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c8t7d0 /dev/rdsk/c8t7d0 disk 32 1/0/8/1/0/4/0.1.0.0.1.7.3 sdisk CLAIMED DEVICE HP OPEN-9-CVS /dev/dsk/c8t7d3 /dev/rdsk/c8t7d3 target 101 1/0/8/1/0/4/0.1.0.0.1.8 tgt CLAIMED DEVICE disk 40 1/0/8/1/0/4/0.1.0.0.1.8.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM /dev/dsk/c8t8d0 /dev/rdsk/c8t8d0 disk 54 1/0/8/1/0/4/0.1.0.0.1.8.5 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c8t8d5 /dev/rdsk/c8t8d5 target 102 1/0/8/1/0/4/0.1.0.0.1.9 tgt CLAIMED DEVICE disk 59 1/0/8/1/0/4/0.1.0.0.1.9.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM /dev/dsk/c8t9d0 /dev/rdsk/c8t9d0 target 103 1/0/8/1/0/4/0.1.0.0.1.10 tgt CLAIMED DEVICE disk 38 1/0/8/1/0/4/0.1.0.0.1.10.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM /dev/dsk/c8t10d0 /dev/rdsk/c8t10d0 target 104 1/0/8/1/0/4/0.1.0.0.1.11 tgt CLAIMED DEVICE disk 42 1/0/8/1/0/4/0.1.0.0.1.11.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM /dev/dsk/c8t11d0 /dev/rdsk/c8t11d0 disk 92 1/0/8/1/0/4/0.1.0.0.1.11.7 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c8t11d7 /dev/rdsk/c8t11d7 target 105 1/0/8/1/0/4/0.1.0.0.1.12 tgt CLAIMED DEVICE disk 93 1/0/8/1/0/4/0.1.0.0.1.12.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c8t12d0 /dev/rdsk/c8t12d0 target 106 1/0/8/1/0/4/0.1.0.0.1.13 tgt CLAIMED DEVICE disk 94 1/0/8/1/0/4/0.1.0.0.1.13.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c8t13d0 /dev/rdsk/c8t13d0 disk 205 1/0/8/1/0/4/0.1.0.0.1.13.6 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c8t13d6 /dev/rdsk/c8t13d6 target 107 1/0/8/1/0/4/0.1.0.0.1.14 tgt CLAIMED DEVICE disk 46 1/0/8/1/0/4/0.1.0.0.1.14.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM /dev/dsk/c8t14d0 /dev/rdsk/c8t14d0 target 108 1/0/8/1/0/4/0.1.0.0.1.15 tgt CLAIMED DEVICE disk 96 1/0/8/1/0/4/0.1.0.0.1.15.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c8t15d0 /dev/rdsk/c8t15d0 ext_bus 9 1/0/8/1/0/4/0.1.0.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface target 109 1/0/8/1/0/4/0.1.0.255.0.0 tgt CLAIMED DEVICE ctl 9 1/0/8/1/0/4/0.1.0.255.0.0.0 sctl CLAIMED DEVICE HP OPEN-XP512 /dev/rscsi/c9t0d0 ext_bus 16 1/0/8/1/0/4/0.1.4.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface target 110 1/0/8/1/0/4/0.1.4.0.0.0 tgt CLAIMED DEVICE disk 239 1/0/8/1/0/4/0.1.4.0.0.0.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c16t0d0 /dev/rdsk/c16t0d0 target 111 1/0/8/1/0/4/0.1.4.0.0.1 tgt CLAIMED DEVICE disk 240 1/0/8/1/0/4/0.1.4.0.0.1.0 sdisk CLAIMED DEVICE HP OPEN-9*8 /dev/dsk/c16t1d0 /dev/rdsk/c16t1d0 target 112 1/0/8/1/0/4/0.1.4.0.0.2 tgt CLAIMED DEVICE disk 241 1/0/8/1/0/4/0.1.4.0.0.2.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c16t2d0 /dev/rdsk/c16t2d0 target 113 1/0/8/1/0/4/0.1.4.0.0.3 tgt CLAIMED DEVICE disk 242 1/0/8/1/0/4/0.1.4.0.0.3.0 sdisk CLAIMED DEVICE HP OPEN-9*3 /dev/dsk/c16t3d0 /dev/rdsk/c16t3d0 target 114 1/0/8/1/0/4/0.1.4.0.0.4 tgt CLAIMED DEVICE disk 243 1/0/8/1/0/4/0.1.4.0.0.4.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t4d0 /dev/rdsk/c16t4d0 disk 244 1/0/8/1/0/4/0.1.4.0.0.4.5 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t4d5 /dev/rdsk/c16t4d5 disk 245 1/0/8/1/0/4/0.1.4.0.0.4.6 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t4d6 /dev/rdsk/c16t4d6 disk 246 1/0/8/1/0/4/0.1.4.0.0.4.7 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t4d7 /dev/rdsk/c16t4d7 target 115 1/0/8/1/0/4/0.1.4.0.0.5 tgt CLAIMED DEVICE disk 247 1/0/8/1/0/4/0.1.4.0.0.5.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t5d0 /dev/rdsk/c16t5d0 disk 248 1/0/8/1/0/4/0.1.4.0.0.5.1 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t5d1 /dev/rdsk/c16t5d1 disk 249 1/0/8/1/0/4/0.1.4.0.0.5.2 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t5d2 /dev/rdsk/c16t5d2 target 116 1/0/8/1/0/4/0.1.4.0.0.6 tgt CLAIMED DEVICE disk 250 1/0/8/1/0/4/0.1.4.0.0.6.0 sdisk CLAIMED DEVICE HP OPEN-9*8 /dev/dsk/c16t6d0 /dev/rdsk/c16t6d0 target 117 1/0/8/1/0/4/0.1.4.0.0.7 tgt CLAIMED DEVICE disk 251 1/0/8/1/0/4/0.1.4.0.0.7.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t7d0 /dev/rdsk/c16t7d0 target 118 1/0/8/1/0/4/0.1.4.0.0.8 tgt CLAIMED DEVICE disk 252 1/0/8/1/0/4/0.1.4.0.0.8.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t8d0 /dev/rdsk/c16t8d0 target 119 1/0/8/1/0/4/0.1.4.0.0.9 tgt CLAIMED DEVICE disk 253 1/0/8/1/0/4/0.1.4.0.0.9.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c16t9d0 /dev/rdsk/c16t9d0 target 120 1/0/8/1/0/4/0.1.4.0.0.10 tgt CLAIMED DEVICE disk 254 1/0/8/1/0/4/0.1.4.0.0.10.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c16t10d0 /dev/rdsk/c16t10d0 target 121 1/0/8/1/0/4/0.1.4.0.0.11 tgt CLAIMED DEVICE disk 255 1/0/8/1/0/4/0.1.4.0.0.11.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c16t11d0 /dev/rdsk/c16t11d0 target 122 1/0/8/1/0/4/0.1.4.0.0.12 tgt CLAIMED DEVICE disk 256 1/0/8/1/0/4/0.1.4.0.0.12.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c16t12d0 /dev/rdsk/c16t12d0 target 123 1/0/8/1/0/4/0.1.4.0.0.13 tgt CLAIMED DEVICE disk 257 1/0/8/1/0/4/0.1.4.0.0.13.0 sdisk CLAIMED DEVICE HP OPEN-9*8 /dev/dsk/c16t13d0 /dev/rdsk/c16t13d0 target 124 1/0/8/1/0/4/0.1.4.0.0.14 tgt CLAIMED DEVICE disk 258 1/0/8/1/0/4/0.1.4.0.0.14.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t14d0 /dev/rdsk/c16t14d0 target 125 1/0/8/1/0/4/0.1.4.0.0.15 tgt CLAIMED DEVICE disk 259 1/0/8/1/0/4/0.1.4.0.0.15.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c16t15d0 /dev/rdsk/c16t15d0 ext_bus 17 1/0/8/1/0/4/0.1.4.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface target 126 1/0/8/1/0/4/0.1.4.255.0.0 tgt CLAIMED DEVICE ctl 12 1/0/8/1/0/4/0.1.4.255.0.0.0 sctl CLAIMED DEVICE HP OPEN-XP512 /dev/rscsi/c17t0d0 fcp 1 1/0/8/1/0/4/0.2 fcd_fcp CLAIMED INTERFACE FCP Domain ext_bus 10 1/0/8/1/0/4/0.2.0.0.1 fcd_vbus CLAIMED INTERFACE FCP Array Interface target 127 1/0/8/1/0/4/0.2.0.0.1.0 tgt CLAIMED DEVICE disk 3 1/0/8/1/0/4/0.2.0.0.1.0.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c10t0d0 /dev/rdsk/c10t0d0 target 128 1/0/8/1/0/4/0.2.0.0.1.1 tgt CLAIMED DEVICE disk 5 1/0/8/1/0/4/0.2.0.0.1.1.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t1d0 /dev/rdsk/c10t1d0 target 129 1/0/8/1/0/4/0.2.0.0.1.2 tgt CLAIMED DEVICE disk 7 1/0/8/1/0/4/0.2.0.0.1.2.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t2d0 /dev/rdsk/c10t2d0 target 130 1/0/8/1/0/4/0.2.0.0.1.3 tgt CLAIMED DEVICE disk 8 1/0/8/1/0/4/0.2.0.0.1.3.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c10t3d0 /dev/rdsk/c10t3d0 target 131 1/0/8/1/0/4/0.2.0.0.1.4 tgt CLAIMED DEVICE disk 10 1/0/8/1/0/4/0.2.0.0.1.4.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t4d0 /dev/rdsk/c10t4d0 target 132 1/0/8/1/0/4/0.2.0.0.1.5 tgt CLAIMED DEVICE disk 12 1/0/8/1/0/4/0.2.0.0.1.5.0 sdisk CLAIMED DEVICE HP DISK-SUBSYSTEM /dev/dsk/c10t5d0 /dev/rdsk/c10t5d0 disk 14 1/0/8/1/0/4/0.2.0.0.1.5.6 sdisk CLAIMED DEVICE HP OPEN-9-CVS /dev/dsk/c10t5d6 /dev/rdsk/c10t5d6 disk 15 1/0/8/1/0/4/0.2.0.0.1.5.7 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t5d7 /dev/rdsk/c10t5d7 target 133 1/0/8/1/0/4/0.2.0.0.1.6 tgt CLAIMED DEVICE disk 16 1/0/8/1/0/4/0.2.0.0.1.6.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t6d0 /dev/rdsk/c10t6d0 disk 18 1/0/8/1/0/4/0.2.0.0.1.6.1 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t6d1 /dev/rdsk/c10t6d1 disk 19 1/0/8/1/0/4/0.2.0.0.1.6.2 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t6d2 /dev/rdsk/c10t6d2 disk 20 1/0/8/1/0/4/0.2.0.0.1.6.3 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t6d3 /dev/rdsk/c10t6d3 disk 22 1/0/8/1/0/4/0.2.0.0.1.6.4 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t6d4 /dev/rdsk/c10t6d4 disk 23 1/0/8/1/0/4/0.2.0.0.1.6.5 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t6d5 /dev/rdsk/c10t6d5 disk 24 1/0/8/1/0/4/0.2.0.0.1.6.6 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t6d6 /dev/rdsk/c10t6d6 disk 25 1/0/8/1/0/4/0.2.0.0.1.6.7 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t6d7 /dev/rdsk/c10t6d7 target 134 1/0/8/1/0/4/0.2.0.0.1.7 tgt CLAIMED DEVICE disk 26 1/0/8/1/0/4/0.2.0.0.1.7.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t7d0 /dev/rdsk/c10t7d0 disk 27 1/0/8/1/0/4/0.2.0.0.1.7.1 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t7d1 /dev/rdsk/c10t7d1 disk 28 1/0/8/1/0/4/0.2.0.0.1.7.2 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t7d2 /dev/rdsk/c10t7d2 disk 30 1/0/8/1/0/4/0.2.0.0.1.7.3 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t7d3 /dev/rdsk/c10t7d3 disk 31 1/0/8/1/0/4/0.2.0.0.1.7.4 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t7d4 /dev/rdsk/c10t7d4 disk 36 1/0/8/1/0/4/0.2.0.0.1.7.5 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t7d5 /dev/rdsk/c10t7d5 disk 37 1/0/8/1/0/4/0.2.0.0.1.7.6 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t7d6 /dev/rdsk/c10t7d6 disk 39 1/0/8/1/0/4/0.2.0.0.1.7.7 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t7d7 /dev/rdsk/c10t7d7 target 135 1/0/8/1/0/4/0.2.0.0.1.8 tgt CLAIMED DEVICE disk 41 1/0/8/1/0/4/0.2.0.0.1.8.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t8d0 /dev/rdsk/c10t8d0 disk 43 1/0/8/1/0/4/0.2.0.0.1.8.1 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t8d1 /dev/rdsk/c10t8d1 disk 44 1/0/8/1/0/4/0.2.0.0.1.8.2 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t8d2 /dev/rdsk/c10t8d2 disk 45 1/0/8/1/0/4/0.2.0.0.1.8.3 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t8d3 /dev/rdsk/c10t8d3 disk 47 1/0/8/1/0/4/0.2.0.0.1.8.4 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t8d4 /dev/rdsk/c10t8d4 disk 48 1/0/8/1/0/4/0.2.0.0.1.8.5 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t8d5 /dev/rdsk/c10t8d5 disk 50 1/0/8/1/0/4/0.2.0.0.1.8.7 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t8d7 /dev/rdsk/c10t8d7 target 136 1/0/8/1/0/4/0.2.0.0.1.9 tgt CLAIMED DEVICE disk 53 1/0/8/1/0/4/0.2.0.0.1.9.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t9d0 /dev/rdsk/c10t9d0 disk 57 1/0/8/1/0/4/0.2.0.0.1.9.1 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t9d1 /dev/rdsk/c10t9d1 disk 58 1/0/8/1/0/4/0.2.0.0.1.9.2 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t9d2 /dev/rdsk/c10t9d2 disk 60 1/0/8/1/0/4/0.2.0.0.1.9.3 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t9d3 /dev/rdsk/c10t9d3 disk 61 1/0/8/1/0/4/0.2.0.0.1.9.4 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t9d4 /dev/rdsk/c10t9d4 disk 64 1/0/8/1/0/4/0.2.0.0.1.9.5 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t9d5 /dev/rdsk/c10t9d5 disk 68 1/0/8/1/0/4/0.2.0.0.1.9.7 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t9d7 /dev/rdsk/c10t9d7 target 137 1/0/8/1/0/4/0.2.0.0.1.10 tgt CLAIMED DEVICE disk 70 1/0/8/1/0/4/0.2.0.0.1.10.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t10d0 /dev/rdsk/c10t10d0 target 138 1/0/8/1/0/4/0.2.0.0.1.11 tgt CLAIMED DEVICE disk 73 1/0/8/1/0/4/0.2.0.0.1.11.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t11d0 /dev/rdsk/c10t11d0 disk 191 1/0/8/1/0/4/0.2.0.0.1.11.1 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t11d1 /dev/rdsk/c10t11d1 disk 192 1/0/8/1/0/4/0.2.0.0.1.11.2 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t11d2 /dev/rdsk/c10t11d2 disk 193 1/0/8/1/0/4/0.2.0.0.1.11.3 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t11d3 /dev/rdsk/c10t11d3 disk 194 1/0/8/1/0/4/0.2.0.0.1.11.4 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t11d4 /dev/rdsk/c10t11d4 disk 195 1/0/8/1/0/4/0.2.0.0.1.11.5 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t11d5 /dev/rdsk/c10t11d5 disk 196 1/0/8/1/0/4/0.2.0.0.1.11.6 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t11d6 /dev/rdsk/c10t11d6 disk 197 1/0/8/1/0/4/0.2.0.0.1.11.7 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t11d7 /dev/rdsk/c10t11d7 target 139 1/0/8/1/0/4/0.2.0.0.1.12 tgt CLAIMED DEVICE disk 76 1/0/8/1/0/4/0.2.0.0.1.12.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t12d0 /dev/rdsk/c10t12d0 target 140 1/0/8/1/0/4/0.2.0.0.1.13 tgt CLAIMED DEVICE disk 83 1/0/8/1/0/4/0.2.0.0.1.13.0 sdisk CLAIMED DEVICE HP OPEN-9*4 /dev/dsk/c10t13d0 /dev/rdsk/c10t13d0 disk 221 1/0/8/1/0/4/0.2.0.0.1.13.1 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t13d1 /dev/rdsk/c10t13d1 disk 222 1/0/8/1/0/4/0.2.0.0.1.13.2 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t13d2 /dev/rdsk/c10t13d2 disk 223 1/0/8/1/0/4/0.2.0.0.1.13.3 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t13d3 /dev/rdsk/c10t13d3 target 141 1/0/8/1/0/4/0.2.0.0.1.14 tgt CLAIMED DEVICE disk 85 1/0/8/1/0/4/0.2.0.0.1.14.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t14d0 /dev/rdsk/c10t14d0 disk 230 1/0/8/1/0/4/0.2.0.0.1.14.5 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t14d5 /dev/rdsk/c10t14d5 disk 231 1/0/8/1/0/4/0.2.0.0.1.14.6 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t14d6 /dev/rdsk/c10t14d6 disk 232 1/0/8/1/0/4/0.2.0.0.1.14.7 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c10t14d7 /dev/rdsk/c10t14d7 target 142 1/0/8/1/0/4/0.2.0.0.1.15 tgt CLAIMED DEVICE disk 89 1/0/8/1/0/4/0.2.0.0.1.15.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c10t15d0 /dev/rdsk/c10t15d0 ext_bus 11 1/0/8/1/0/4/0.2.0.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface target 143 1/0/8/1/0/4/0.2.0.255.0.0 tgt CLAIMED DEVICE ctl 8 1/0/8/1/0/4/0.2.0.255.0.0.0 sctl CLAIMED DEVICE HP OPEN-XP512 /dev/rscsi/c11t0d0 ext_bus 20 1/0/8/1/0/4/0.2.2.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface target 144 1/0/8/1/0/4/0.2.2.0.0.0 tgt CLAIMED DEVICE disk 281 1/0/8/1/0/4/0.2.2.0.0.0.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c20t0d0 /dev/rdsk/c20t0d0 target 145 1/0/8/1/0/4/0.2.2.0.0.1 tgt CLAIMED DEVICE disk 282 1/0/8/1/0/4/0.2.2.0.0.1.0 sdisk CLAIMED DEVICE HP OPEN-9*8 /dev/dsk/c20t1d0 /dev/rdsk/c20t1d0 target 146 1/0/8/1/0/4/0.2.2.0.0.2 tgt CLAIMED DEVICE disk 283 1/0/8/1/0/4/0.2.2.0.0.2.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c20t2d0 /dev/rdsk/c20t2d0 target 147 1/0/8/1/0/4/0.2.2.0.0.3 tgt CLAIMED DEVICE disk 284 1/0/8/1/0/4/0.2.2.0.0.3.0 sdisk CLAIMED DEVICE HP OPEN-9*3 /dev/dsk/c20t3d0 /dev/rdsk/c20t3d0 target 148 1/0/8/1/0/4/0.2.2.0.0.4 tgt CLAIMED DEVICE disk 285 1/0/8/1/0/4/0.2.2.0.0.4.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t4d0 /dev/rdsk/c20t4d0 disk 286 1/0/8/1/0/4/0.2.2.0.0.4.5 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t4d5 /dev/rdsk/c20t4d5 disk 287 1/0/8/1/0/4/0.2.2.0.0.4.6 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t4d6 /dev/rdsk/c20t4d6 disk 288 1/0/8/1/0/4/0.2.2.0.0.4.7 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t4d7 /dev/rdsk/c20t4d7 target 149 1/0/8/1/0/4/0.2.2.0.0.5 tgt CLAIMED DEVICE disk 289 1/0/8/1/0/4/0.2.2.0.0.5.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t5d0 /dev/rdsk/c20t5d0 disk 290 1/0/8/1/0/4/0.2.2.0.0.5.1 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t5d1 /dev/rdsk/c20t5d1 disk 291 1/0/8/1/0/4/0.2.2.0.0.5.2 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t5d2 /dev/rdsk/c20t5d2 target 150 1/0/8/1/0/4/0.2.2.0.0.6 tgt CLAIMED DEVICE disk 313 1/0/8/1/0/4/0.2.2.0.0.6.0 sdisk CLAIMED DEVICE HP OPEN-9*8 /dev/dsk/c20t6d0 /dev/rdsk/c20t6d0 target 151 1/0/8/1/0/4/0.2.2.0.0.7 tgt CLAIMED DEVICE disk 293 1/0/8/1/0/4/0.2.2.0.0.7.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t7d0 /dev/rdsk/c20t7d0 target 152 1/0/8/1/0/4/0.2.2.0.0.8 tgt CLAIMED DEVICE disk 315 1/0/8/1/0/4/0.2.2.0.0.8.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t8d0 /dev/rdsk/c20t8d0 target 153 1/0/8/1/0/4/0.2.2.0.0.9 tgt CLAIMED DEVICE disk 295 1/0/8/1/0/4/0.2.2.0.0.9.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c20t9d0 /dev/rdsk/c20t9d0 target 154 1/0/8/1/0/4/0.2.2.0.0.10 tgt CLAIMED DEVICE disk 296 1/0/8/1/0/4/0.2.2.0.0.10.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c20t10d0 /dev/rdsk/c20t10d0 target 155 1/0/8/1/0/4/0.2.2.0.0.11 tgt CLAIMED DEVICE disk 297 1/0/8/1/0/4/0.2.2.0.0.11.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c20t11d0 /dev/rdsk/c20t11d0 target 156 1/0/8/1/0/4/0.2.2.0.0.12 tgt CLAIMED DEVICE disk 298 1/0/8/1/0/4/0.2.2.0.0.12.0 sdisk CLAIMED DEVICE HP OPEN-9*2 /dev/dsk/c20t12d0 /dev/rdsk/c20t12d0 target 157 1/0/8/1/0/4/0.2.2.0.0.13 tgt CLAIMED DEVICE disk 299 1/0/8/1/0/4/0.2.2.0.0.13.0 sdisk CLAIMED DEVICE HP OPEN-9*8 /dev/dsk/c20t13d0 /dev/rdsk/c20t13d0 target 158 1/0/8/1/0/4/0.2.2.0.0.14 tgt CLAIMED DEVICE disk 300 1/0/8/1/0/4/0.2.2.0.0.14.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t14d0 /dev/rdsk/c20t14d0 target 159 1/0/8/1/0/4/0.2.2.0.0.15 tgt CLAIMED DEVICE disk 302 1/0/8/1/0/4/0.2.2.0.0.15.0 sdisk CLAIMED DEVICE HP OPEN-9 /dev/dsk/c20t15d0 /dev/rdsk/c20t15d0 ext_bus 21 1/0/8/1/0/4/0.2.2.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface target 160 1/0/8/1/0/4/0.2.2.255.0.0 tgt CLAIMED DEVICE ctl 14 1/0/8/1/0/4/0.2.2.255.0.0.0 sctl CLAIMED DEVICE HP OPEN-XP512 /dev/rscsi/c21t0d0 lan 6 1/0/8/1/0/6/0 igelan CLAIMED INTERFACE HP A9784-60001 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter ba 17 1/0/10 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ba 18 1/0/10/1/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridge fc 2 1/0/10/1/0/4/0 fcd CLAIMED INTERFACE HP A9782-60001 PCI/PCI-X Fibre Channel FC/GigE Combo Adapter (FC Port 1) /dev/fcd2 fcp 4 1/0/10/1/0/4/0.1 fcd_fcp CLAIMED INTERFACE FCP Domain ext_bus 25 1/0/10/1/0/4/0.1.0.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface target 168 1/0/10/1/0/4/0.1.0.0.0.0 tgt CLAIMED DEVICE disk 341 1/0/10/1/0/4/0.1.0.0.0.0.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t0d0 /dev/rdsk/c25t0d0 disk 51 1/0/10/1/0/4/0.1.0.0.0.0.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t0d1 /dev/rdsk/c25t0d1 disk 52 1/0/10/1/0/4/0.1.0.0.0.0.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t0d2 /dev/rdsk/c25t0d2 disk 62 1/0/10/1/0/4/0.1.0.0.0.0.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t0d3 /dev/rdsk/c25t0d3 disk 63 1/0/10/1/0/4/0.1.0.0.0.0.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t0d4 /dev/rdsk/c25t0d4 target 184 1/0/10/1/0/4/0.1.0.0.0.1 tgt CLAIMED DEVICE disk 65 1/0/10/1/0/4/0.1.0.0.0.1.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t1d3 /dev/rdsk/c25t1d3 disk 67 1/0/10/1/0/4/0.1.0.0.0.1.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t1d4 /dev/rdsk/c25t1d4 disk 69 1/0/10/1/0/4/0.1.0.0.0.1.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t1d5 /dev/rdsk/c25t1d5 disk 71 1/0/10/1/0/4/0.1.0.0.0.1.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t1d6 /dev/rdsk/c25t1d6 disk 72 1/0/10/1/0/4/0.1.0.0.0.1.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t1d7 /dev/rdsk/c25t1d7 target 185 1/0/10/1/0/4/0.1.0.0.0.2 tgt CLAIMED DEVICE disk 74 1/0/10/1/0/4/0.1.0.0.0.2.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t2d0 /dev/rdsk/c25t2d0 disk 75 1/0/10/1/0/4/0.1.0.0.0.2.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t2d1 /dev/rdsk/c25t2d1 disk 77 1/0/10/1/0/4/0.1.0.0.0.2.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t2d2 /dev/rdsk/c25t2d2 disk 78 1/0/10/1/0/4/0.1.0.0.0.2.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t2d3 /dev/rdsk/c25t2d3 disk 79 1/0/10/1/0/4/0.1.0.0.0.2.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t2d4 /dev/rdsk/c25t2d4 disk 80 1/0/10/1/0/4/0.1.0.0.0.2.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t2d5 /dev/rdsk/c25t2d5 disk 81 1/0/10/1/0/4/0.1.0.0.0.2.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t2d6 /dev/rdsk/c25t2d6 disk 84 1/0/10/1/0/4/0.1.0.0.0.2.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t2d7 /dev/rdsk/c25t2d7 target 186 1/0/10/1/0/4/0.1.0.0.0.3 tgt CLAIMED DEVICE disk 86 1/0/10/1/0/4/0.1.0.0.0.3.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t3d0 /dev/rdsk/c25t3d0 disk 87 1/0/10/1/0/4/0.1.0.0.0.3.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t3d1 /dev/rdsk/c25t3d1 disk 88 1/0/10/1/0/4/0.1.0.0.0.3.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t3d2 /dev/rdsk/c25t3d2 disk 90 1/0/10/1/0/4/0.1.0.0.0.3.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t3d3 /dev/rdsk/c25t3d3 disk 91 1/0/10/1/0/4/0.1.0.0.0.3.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t3d4 /dev/rdsk/c25t3d4 disk 95 1/0/10/1/0/4/0.1.0.0.0.3.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t3d5 /dev/rdsk/c25t3d5 disk 124 1/0/10/1/0/4/0.1.0.0.0.3.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t3d6 /dev/rdsk/c25t3d6 disk 126 1/0/10/1/0/4/0.1.0.0.0.3.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t3d7 /dev/rdsk/c25t3d7 target 187 1/0/10/1/0/4/0.1.0.0.0.4 tgt CLAIMED DEVICE disk 128 1/0/10/1/0/4/0.1.0.0.0.4.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t4d0 /dev/rdsk/c25t4d0 disk 131 1/0/10/1/0/4/0.1.0.0.0.4.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t4d1 /dev/rdsk/c25t4d1 disk 136 1/0/10/1/0/4/0.1.0.0.0.4.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t4d2 /dev/rdsk/c25t4d2 disk 138 1/0/10/1/0/4/0.1.0.0.0.4.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t4d3 /dev/rdsk/c25t4d3 disk 141 1/0/10/1/0/4/0.1.0.0.0.4.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t4d4 /dev/rdsk/c25t4d4 disk 146 1/0/10/1/0/4/0.1.0.0.0.4.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t4d5 /dev/rdsk/c25t4d5 disk 147 1/0/10/1/0/4/0.1.0.0.0.4.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t4d6 /dev/rdsk/c25t4d6 disk 150 1/0/10/1/0/4/0.1.0.0.0.4.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t4d7 /dev/rdsk/c25t4d7 target 188 1/0/10/1/0/4/0.1.0.0.0.5 tgt CLAIMED DEVICE disk 152 1/0/10/1/0/4/0.1.0.0.0.5.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t5d0 /dev/rdsk/c25t5d0 disk 153 1/0/10/1/0/4/0.1.0.0.0.5.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t5d1 /dev/rdsk/c25t5d1 disk 156 1/0/10/1/0/4/0.1.0.0.0.5.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t5d2 /dev/rdsk/c25t5d2 disk 159 1/0/10/1/0/4/0.1.0.0.0.5.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t5d3 /dev/rdsk/c25t5d3 disk 160 1/0/10/1/0/4/0.1.0.0.0.5.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t5d4 /dev/rdsk/c25t5d4 disk 161 1/0/10/1/0/4/0.1.0.0.0.5.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t5d5 /dev/rdsk/c25t5d5 disk 163 1/0/10/1/0/4/0.1.0.0.0.5.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t5d6 /dev/rdsk/c25t5d6 disk 165 1/0/10/1/0/4/0.1.0.0.0.5.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t5d7 /dev/rdsk/c25t5d7 target 189 1/0/10/1/0/4/0.1.0.0.0.6 tgt CLAIMED DEVICE disk 166 1/0/10/1/0/4/0.1.0.0.0.6.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t6d0 /dev/rdsk/c25t6d0 disk 168 1/0/10/1/0/4/0.1.0.0.0.6.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t6d1 /dev/rdsk/c25t6d1 disk 170 1/0/10/1/0/4/0.1.0.0.0.6.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t6d2 /dev/rdsk/c25t6d2 disk 171 1/0/10/1/0/4/0.1.0.0.0.6.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t6d3 /dev/rdsk/c25t6d3 disk 172 1/0/10/1/0/4/0.1.0.0.0.6.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t6d4 /dev/rdsk/c25t6d4 disk 173 1/0/10/1/0/4/0.1.0.0.0.6.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t6d5 /dev/rdsk/c25t6d5 disk 176 1/0/10/1/0/4/0.1.0.0.0.6.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t6d6 /dev/rdsk/c25t6d6 disk 178 1/0/10/1/0/4/0.1.0.0.0.6.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t6d7 /dev/rdsk/c25t6d7 target 190 1/0/10/1/0/4/0.1.0.0.0.7 tgt CLAIMED DEVICE disk 179 1/0/10/1/0/4/0.1.0.0.0.7.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t7d0 /dev/rdsk/c25t7d0 disk 181 1/0/10/1/0/4/0.1.0.0.0.7.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t7d1 /dev/rdsk/c25t7d1 disk 182 1/0/10/1/0/4/0.1.0.0.0.7.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t7d2 /dev/rdsk/c25t7d2 disk 183 1/0/10/1/0/4/0.1.0.0.0.7.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t7d3 /dev/rdsk/c25t7d3 disk 189 1/0/10/1/0/4/0.1.0.0.0.7.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t7d4 /dev/rdsk/c25t7d4 disk 206 1/0/10/1/0/4/0.1.0.0.0.7.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t7d5 /dev/rdsk/c25t7d5 disk 207 1/0/10/1/0/4/0.1.0.0.0.7.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t7d6 /dev/rdsk/c25t7d6 disk 208 1/0/10/1/0/4/0.1.0.0.0.7.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t7d7 /dev/rdsk/c25t7d7 target 191 1/0/10/1/0/4/0.1.0.0.0.8 tgt CLAIMED DEVICE disk 209 1/0/10/1/0/4/0.1.0.0.0.8.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t8d0 /dev/rdsk/c25t8d0 disk 210 1/0/10/1/0/4/0.1.0.0.0.8.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t8d1 /dev/rdsk/c25t8d1 disk 211 1/0/10/1/0/4/0.1.0.0.0.8.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t8d2 /dev/rdsk/c25t8d2 disk 212 1/0/10/1/0/4/0.1.0.0.0.8.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t8d3 /dev/rdsk/c25t8d3 disk 214 1/0/10/1/0/4/0.1.0.0.0.8.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t8d4 /dev/rdsk/c25t8d4 disk 215 1/0/10/1/0/4/0.1.0.0.0.8.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t8d5 /dev/rdsk/c25t8d5 disk 216 1/0/10/1/0/4/0.1.0.0.0.8.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t8d6 /dev/rdsk/c25t8d6 disk 217 1/0/10/1/0/4/0.1.0.0.0.8.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t8d7 /dev/rdsk/c25t8d7 target 192 1/0/10/1/0/4/0.1.0.0.0.9 tgt CLAIMED DEVICE disk 218 1/0/10/1/0/4/0.1.0.0.0.9.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t9d0 /dev/rdsk/c25t9d0 disk 219 1/0/10/1/0/4/0.1.0.0.0.9.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t9d1 /dev/rdsk/c25t9d1 disk 220 1/0/10/1/0/4/0.1.0.0.0.9.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t9d2 /dev/rdsk/c25t9d2 disk 233 1/0/10/1/0/4/0.1.0.0.0.9.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t9d3 /dev/rdsk/c25t9d3 disk 234 1/0/10/1/0/4/0.1.0.0.0.9.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t9d4 /dev/rdsk/c25t9d4 disk 235 1/0/10/1/0/4/0.1.0.0.0.9.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t9d5 /dev/rdsk/c25t9d5 disk 236 1/0/10/1/0/4/0.1.0.0.0.9.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t9d6 /dev/rdsk/c25t9d6 disk 237 1/0/10/1/0/4/0.1.0.0.0.9.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t9d7 /dev/rdsk/c25t9d7 target 193 1/0/10/1/0/4/0.1.0.0.0.10 tgt CLAIMED DEVICE disk 238 1/0/10/1/0/4/0.1.0.0.0.10.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t10d0 /dev/rdsk/c25t10d0 disk 342 1/0/10/1/0/4/0.1.0.0.0.10.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t10d1 /dev/rdsk/c25t10d1 disk 343 1/0/10/1/0/4/0.1.0.0.0.10.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t10d2 /dev/rdsk/c25t10d2 disk 344 1/0/10/1/0/4/0.1.0.0.0.10.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t10d3 /dev/rdsk/c25t10d3 disk 345 1/0/10/1/0/4/0.1.0.0.0.10.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t10d4 /dev/rdsk/c25t10d4 disk 455 1/0/10/1/0/4/0.1.0.0.0.10.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t10d5 /dev/rdsk/c25t10d5 disk 456 1/0/10/1/0/4/0.1.0.0.0.10.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t10d6 /dev/rdsk/c25t10d6 disk 457 1/0/10/1/0/4/0.1.0.0.0.10.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t10d7 /dev/rdsk/c25t10d7 target 194 1/0/10/1/0/4/0.1.0.0.0.11 tgt CLAIMED DEVICE disk 458 1/0/10/1/0/4/0.1.0.0.0.11.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t11d0 /dev/rdsk/c25t11d0 disk 459 1/0/10/1/0/4/0.1.0.0.0.11.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t11d1 /dev/rdsk/c25t11d1 disk 460 1/0/10/1/0/4/0.1.0.0.0.11.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t11d2 /dev/rdsk/c25t11d2 disk 461 1/0/10/1/0/4/0.1.0.0.0.11.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t11d3 /dev/rdsk/c25t11d3 disk 462 1/0/10/1/0/4/0.1.0.0.0.11.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t11d4 /dev/rdsk/c25t11d4 disk 463 1/0/10/1/0/4/0.1.0.0.0.11.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t11d5 /dev/rdsk/c25t11d5 disk 464 1/0/10/1/0/4/0.1.0.0.0.11.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t11d6 /dev/rdsk/c25t11d6 disk 465 1/0/10/1/0/4/0.1.0.0.0.11.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t11d7 /dev/rdsk/c25t11d7 target 195 1/0/10/1/0/4/0.1.0.0.0.12 tgt CLAIMED DEVICE disk 466 1/0/10/1/0/4/0.1.0.0.0.12.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t12d0 /dev/rdsk/c25t12d0 disk 467 1/0/10/1/0/4/0.1.0.0.0.12.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t12d1 /dev/rdsk/c25t12d1 disk 468 1/0/10/1/0/4/0.1.0.0.0.12.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t12d2 /dev/rdsk/c25t12d2 disk 469 1/0/10/1/0/4/0.1.0.0.0.12.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t12d3 /dev/rdsk/c25t12d3 disk 470 1/0/10/1/0/4/0.1.0.0.0.12.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t12d4 /dev/rdsk/c25t12d4 disk 471 1/0/10/1/0/4/0.1.0.0.0.12.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t12d5 /dev/rdsk/c25t12d5 disk 472 1/0/10/1/0/4/0.1.0.0.0.12.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t12d6 /dev/rdsk/c25t12d6 disk 473 1/0/10/1/0/4/0.1.0.0.0.12.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t12d7 /dev/rdsk/c25t12d7 target 196 1/0/10/1/0/4/0.1.0.0.0.13 tgt CLAIMED DEVICE disk 474 1/0/10/1/0/4/0.1.0.0.0.13.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t13d0 /dev/rdsk/c25t13d0 disk 475 1/0/10/1/0/4/0.1.0.0.0.13.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t13d1 /dev/rdsk/c25t13d1 disk 476 1/0/10/1/0/4/0.1.0.0.0.13.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t13d2 /dev/rdsk/c25t13d2 disk 477 1/0/10/1/0/4/0.1.0.0.0.13.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t13d3 /dev/rdsk/c25t13d3 disk 478 1/0/10/1/0/4/0.1.0.0.0.13.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t13d4 /dev/rdsk/c25t13d4 disk 479 1/0/10/1/0/4/0.1.0.0.0.13.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t13d5 /dev/rdsk/c25t13d5 disk 480 1/0/10/1/0/4/0.1.0.0.0.13.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t13d6 /dev/rdsk/c25t13d6 disk 481 1/0/10/1/0/4/0.1.0.0.0.13.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t13d7 /dev/rdsk/c25t13d7 target 169 1/0/10/1/0/4/0.1.0.0.0.14 tgt CLAIMED DEVICE disk 482 1/0/10/1/0/4/0.1.0.0.0.14.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t14d0 /dev/rdsk/c25t14d0 disk 483 1/0/10/1/0/4/0.1.0.0.0.14.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t14d1 /dev/rdsk/c25t14d1 disk 484 1/0/10/1/0/4/0.1.0.0.0.14.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t14d2 /dev/rdsk/c25t14d2 disk 485 1/0/10/1/0/4/0.1.0.0.0.14.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t14d3 /dev/rdsk/c25t14d3 target 197 1/0/10/1/0/4/0.1.0.0.0.15 tgt CLAIMED DEVICE disk 55 1/0/10/1/0/4/0.1.0.0.0.15.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t15d0 /dev/rdsk/c25t15d0 disk 56 1/0/10/1/0/4/0.1.0.0.0.15.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c25t15d1 /dev/rdsk/c25t15d1 ext_bus 26 1/0/10/1/0/4/0.1.0.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface target 166 1/0/10/1/0/4/0.1.0.255.0.0 tgt CLAIMED DEVICE ctl 16 1/0/10/1/0/4/0.1.0.255.0.0.0 sctl CLAIMED DEVICE EMC SYMMETRIX /dev/rscsi/c26t0d0 fcp 5 1/0/10/1/0/4/0.81 fcd_fcp CLAIMED INTERFACE FCP Domain ext_bus 27 1/0/10/1/0/4/0.81.0.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface target 165 1/0/10/1/0/4/0.81.0.0.0.0 tgt CLAIMED DEVICE disk 340 1/0/10/1/0/4/0.81.0.0.0.0.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t0d0 /dev/rdsk/c27t0d0 disk 346 1/0/10/1/0/4/0.81.0.0.0.0.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t0d1 /dev/rdsk/c27t0d1 disk 347 1/0/10/1/0/4/0.81.0.0.0.0.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t0d2 /dev/rdsk/c27t0d2 disk 348 1/0/10/1/0/4/0.81.0.0.0.0.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t0d3 /dev/rdsk/c27t0d3 disk 349 1/0/10/1/0/4/0.81.0.0.0.0.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t0d4 /dev/rdsk/c27t0d4 target 170 1/0/10/1/0/4/0.81.0.0.0.1 tgt CLAIMED DEVICE disk 350 1/0/10/1/0/4/0.81.0.0.0.1.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t1d3 /dev/rdsk/c27t1d3 disk 351 1/0/10/1/0/4/0.81.0.0.0.1.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t1d4 /dev/rdsk/c27t1d4 disk 352 1/0/10/1/0/4/0.81.0.0.0.1.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t1d5 /dev/rdsk/c27t1d5 disk 353 1/0/10/1/0/4/0.81.0.0.0.1.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t1d6 /dev/rdsk/c27t1d6 disk 354 1/0/10/1/0/4/0.81.0.0.0.1.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t1d7 /dev/rdsk/c27t1d7 target 171 1/0/10/1/0/4/0.81.0.0.0.2 tgt CLAIMED DEVICE disk 355 1/0/10/1/0/4/0.81.0.0.0.2.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t2d0 /dev/rdsk/c27t2d0 disk 356 1/0/10/1/0/4/0.81.0.0.0.2.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t2d1 /dev/rdsk/c27t2d1 disk 357 1/0/10/1/0/4/0.81.0.0.0.2.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t2d2 /dev/rdsk/c27t2d2 disk 358 1/0/10/1/0/4/0.81.0.0.0.2.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t2d3 /dev/rdsk/c27t2d3 disk 359 1/0/10/1/0/4/0.81.0.0.0.2.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t2d4 /dev/rdsk/c27t2d4 disk 360 1/0/10/1/0/4/0.81.0.0.0.2.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t2d5 /dev/rdsk/c27t2d5 disk 361 1/0/10/1/0/4/0.81.0.0.0.2.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t2d6 /dev/rdsk/c27t2d6 disk 362 1/0/10/1/0/4/0.81.0.0.0.2.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t2d7 /dev/rdsk/c27t2d7 target 172 1/0/10/1/0/4/0.81.0.0.0.3 tgt CLAIMED DEVICE disk 363 1/0/10/1/0/4/0.81.0.0.0.3.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t3d0 /dev/rdsk/c27t3d0 disk 364 1/0/10/1/0/4/0.81.0.0.0.3.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t3d1 /dev/rdsk/c27t3d1 disk 365 1/0/10/1/0/4/0.81.0.0.0.3.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t3d2 /dev/rdsk/c27t3d2 disk 366 1/0/10/1/0/4/0.81.0.0.0.3.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t3d3 /dev/rdsk/c27t3d3 disk 367 1/0/10/1/0/4/0.81.0.0.0.3.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t3d4 /dev/rdsk/c27t3d4 disk 368 1/0/10/1/0/4/0.81.0.0.0.3.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t3d5 /dev/rdsk/c27t3d5 disk 369 1/0/10/1/0/4/0.81.0.0.0.3.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t3d6 /dev/rdsk/c27t3d6 disk 370 1/0/10/1/0/4/0.81.0.0.0.3.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t3d7 /dev/rdsk/c27t3d7 target 173 1/0/10/1/0/4/0.81.0.0.0.4 tgt CLAIMED DEVICE disk 371 1/0/10/1/0/4/0.81.0.0.0.4.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t4d0 /dev/rdsk/c27t4d0 disk 372 1/0/10/1/0/4/0.81.0.0.0.4.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t4d1 /dev/rdsk/c27t4d1 disk 373 1/0/10/1/0/4/0.81.0.0.0.4.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t4d2 /dev/rdsk/c27t4d2 disk 374 1/0/10/1/0/4/0.81.0.0.0.4.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t4d3 /dev/rdsk/c27t4d3 disk 375 1/0/10/1/0/4/0.81.0.0.0.4.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t4d4 /dev/rdsk/c27t4d4 disk 376 1/0/10/1/0/4/0.81.0.0.0.4.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t4d5 /dev/rdsk/c27t4d5 disk 377 1/0/10/1/0/4/0.81.0.0.0.4.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t4d6 /dev/rdsk/c27t4d6 disk 378 1/0/10/1/0/4/0.81.0.0.0.4.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t4d7 /dev/rdsk/c27t4d7 target 174 1/0/10/1/0/4/0.81.0.0.0.5 tgt CLAIMED DEVICE disk 379 1/0/10/1/0/4/0.81.0.0.0.5.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t5d0 /dev/rdsk/c27t5d0 disk 380 1/0/10/1/0/4/0.81.0.0.0.5.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t5d1 /dev/rdsk/c27t5d1 disk 381 1/0/10/1/0/4/0.81.0.0.0.5.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t5d2 /dev/rdsk/c27t5d2 disk 382 1/0/10/1/0/4/0.81.0.0.0.5.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t5d3 /dev/rdsk/c27t5d3 disk 383 1/0/10/1/0/4/0.81.0.0.0.5.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t5d4 /dev/rdsk/c27t5d4 disk 384 1/0/10/1/0/4/0.81.0.0.0.5.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t5d5 /dev/rdsk/c27t5d5 disk 385 1/0/10/1/0/4/0.81.0.0.0.5.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t5d6 /dev/rdsk/c27t5d6 disk 386 1/0/10/1/0/4/0.81.0.0.0.5.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t5d7 /dev/rdsk/c27t5d7 target 175 1/0/10/1/0/4/0.81.0.0.0.6 tgt CLAIMED DEVICE disk 387 1/0/10/1/0/4/0.81.0.0.0.6.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t6d0 /dev/rdsk/c27t6d0 disk 388 1/0/10/1/0/4/0.81.0.0.0.6.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t6d1 /dev/rdsk/c27t6d1 disk 389 1/0/10/1/0/4/0.81.0.0.0.6.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t6d2 /dev/rdsk/c27t6d2 disk 390 1/0/10/1/0/4/0.81.0.0.0.6.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t6d3 /dev/rdsk/c27t6d3 disk 391 1/0/10/1/0/4/0.81.0.0.0.6.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t6d4 /dev/rdsk/c27t6d4 disk 392 1/0/10/1/0/4/0.81.0.0.0.6.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t6d5 /dev/rdsk/c27t6d5 disk 393 1/0/10/1/0/4/0.81.0.0.0.6.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t6d6 /dev/rdsk/c27t6d6 disk 394 1/0/10/1/0/4/0.81.0.0.0.6.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t6d7 /dev/rdsk/c27t6d7 target 176 1/0/10/1/0/4/0.81.0.0.0.7 tgt CLAIMED DEVICE disk 395 1/0/10/1/0/4/0.81.0.0.0.7.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t7d0 /dev/rdsk/c27t7d0 disk 396 1/0/10/1/0/4/0.81.0.0.0.7.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t7d1 /dev/rdsk/c27t7d1 disk 397 1/0/10/1/0/4/0.81.0.0.0.7.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t7d2 /dev/rdsk/c27t7d2 disk 398 1/0/10/1/0/4/0.81.0.0.0.7.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t7d3 /dev/rdsk/c27t7d3 disk 399 1/0/10/1/0/4/0.81.0.0.0.7.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t7d4 /dev/rdsk/c27t7d4 disk 400 1/0/10/1/0/4/0.81.0.0.0.7.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t7d5 /dev/rdsk/c27t7d5 disk 401 1/0/10/1/0/4/0.81.0.0.0.7.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t7d6 /dev/rdsk/c27t7d6 disk 402 1/0/10/1/0/4/0.81.0.0.0.7.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t7d7 /dev/rdsk/c27t7d7 target 177 1/0/10/1/0/4/0.81.0.0.0.8 tgt CLAIMED DEVICE disk 403 1/0/10/1/0/4/0.81.0.0.0.8.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t8d0 /dev/rdsk/c27t8d0 disk 404 1/0/10/1/0/4/0.81.0.0.0.8.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t8d1 /dev/rdsk/c27t8d1 disk 405 1/0/10/1/0/4/0.81.0.0.0.8.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t8d2 /dev/rdsk/c27t8d2 disk 406 1/0/10/1/0/4/0.81.0.0.0.8.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t8d3 /dev/rdsk/c27t8d3 disk 407 1/0/10/1/0/4/0.81.0.0.0.8.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t8d4 /dev/rdsk/c27t8d4 disk 408 1/0/10/1/0/4/0.81.0.0.0.8.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t8d5 /dev/rdsk/c27t8d5 disk 409 1/0/10/1/0/4/0.81.0.0.0.8.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t8d6 /dev/rdsk/c27t8d6 disk 410 1/0/10/1/0/4/0.81.0.0.0.8.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t8d7 /dev/rdsk/c27t8d7 target 178 1/0/10/1/0/4/0.81.0.0.0.9 tgt CLAIMED DEVICE disk 411 1/0/10/1/0/4/0.81.0.0.0.9.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t9d0 /dev/rdsk/c27t9d0 disk 412 1/0/10/1/0/4/0.81.0.0.0.9.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t9d1 /dev/rdsk/c27t9d1 disk 413 1/0/10/1/0/4/0.81.0.0.0.9.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t9d2 /dev/rdsk/c27t9d2 disk 414 1/0/10/1/0/4/0.81.0.0.0.9.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t9d3 /dev/rdsk/c27t9d3 disk 415 1/0/10/1/0/4/0.81.0.0.0.9.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t9d4 /dev/rdsk/c27t9d4 disk 416 1/0/10/1/0/4/0.81.0.0.0.9.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t9d5 /dev/rdsk/c27t9d5 disk 417 1/0/10/1/0/4/0.81.0.0.0.9.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t9d6 /dev/rdsk/c27t9d6 disk 418 1/0/10/1/0/4/0.81.0.0.0.9.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t9d7 /dev/rdsk/c27t9d7 target 179 1/0/10/1/0/4/0.81.0.0.0.10 tgt CLAIMED DEVICE disk 419 1/0/10/1/0/4/0.81.0.0.0.10.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t10d0 /dev/rdsk/c27t10d0 disk 420 1/0/10/1/0/4/0.81.0.0.0.10.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t10d1 /dev/rdsk/c27t10d1 disk 421 1/0/10/1/0/4/0.81.0.0.0.10.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t10d2 /dev/rdsk/c27t10d2 disk 422 1/0/10/1/0/4/0.81.0.0.0.10.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t10d3 /dev/rdsk/c27t10d3 disk 423 1/0/10/1/0/4/0.81.0.0.0.10.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t10d4 /dev/rdsk/c27t10d4 disk 424 1/0/10/1/0/4/0.81.0.0.0.10.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t10d5 /dev/rdsk/c27t10d5 disk 425 1/0/10/1/0/4/0.81.0.0.0.10.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t10d6 /dev/rdsk/c27t10d6 disk 426 1/0/10/1/0/4/0.81.0.0.0.10.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t10d7 /dev/rdsk/c27t10d7 target 180 1/0/10/1/0/4/0.81.0.0.0.11 tgt CLAIMED DEVICE disk 427 1/0/10/1/0/4/0.81.0.0.0.11.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t11d0 /dev/rdsk/c27t11d0 disk 428 1/0/10/1/0/4/0.81.0.0.0.11.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t11d1 /dev/rdsk/c27t11d1 disk 429 1/0/10/1/0/4/0.81.0.0.0.11.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t11d2 /dev/rdsk/c27t11d2 disk 430 1/0/10/1/0/4/0.81.0.0.0.11.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t11d3 /dev/rdsk/c27t11d3 disk 431 1/0/10/1/0/4/0.81.0.0.0.11.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t11d4 /dev/rdsk/c27t11d4 disk 432 1/0/10/1/0/4/0.81.0.0.0.11.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t11d5 /dev/rdsk/c27t11d5 disk 433 1/0/10/1/0/4/0.81.0.0.0.11.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t11d6 /dev/rdsk/c27t11d6 disk 434 1/0/10/1/0/4/0.81.0.0.0.11.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t11d7 /dev/rdsk/c27t11d7 target 181 1/0/10/1/0/4/0.81.0.0.0.12 tgt CLAIMED DEVICE disk 435 1/0/10/1/0/4/0.81.0.0.0.12.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t12d0 /dev/rdsk/c27t12d0 disk 436 1/0/10/1/0/4/0.81.0.0.0.12.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t12d1 /dev/rdsk/c27t12d1 disk 437 1/0/10/1/0/4/0.81.0.0.0.12.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t12d2 /dev/rdsk/c27t12d2 disk 438 1/0/10/1/0/4/0.81.0.0.0.12.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t12d3 /dev/rdsk/c27t12d3 disk 439 1/0/10/1/0/4/0.81.0.0.0.12.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t12d4 /dev/rdsk/c27t12d4 disk 440 1/0/10/1/0/4/0.81.0.0.0.12.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t12d5 /dev/rdsk/c27t12d5 disk 441 1/0/10/1/0/4/0.81.0.0.0.12.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t12d6 /dev/rdsk/c27t12d6 disk 442 1/0/10/1/0/4/0.81.0.0.0.12.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t12d7 /dev/rdsk/c27t12d7 target 182 1/0/10/1/0/4/0.81.0.0.0.13 tgt CLAIMED DEVICE disk 443 1/0/10/1/0/4/0.81.0.0.0.13.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t13d0 /dev/rdsk/c27t13d0 disk 444 1/0/10/1/0/4/0.81.0.0.0.13.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t13d1 /dev/rdsk/c27t13d1 disk 445 1/0/10/1/0/4/0.81.0.0.0.13.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t13d2 /dev/rdsk/c27t13d2 disk 446 1/0/10/1/0/4/0.81.0.0.0.13.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t13d3 /dev/rdsk/c27t13d3 disk 447 1/0/10/1/0/4/0.81.0.0.0.13.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t13d4 /dev/rdsk/c27t13d4 disk 448 1/0/10/1/0/4/0.81.0.0.0.13.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t13d5 /dev/rdsk/c27t13d5 disk 449 1/0/10/1/0/4/0.81.0.0.0.13.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t13d6 /dev/rdsk/c27t13d6 disk 450 1/0/10/1/0/4/0.81.0.0.0.13.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t13d7 /dev/rdsk/c27t13d7 target 183 1/0/10/1/0/4/0.81.0.0.0.14 tgt CLAIMED DEVICE disk 451 1/0/10/1/0/4/0.81.0.0.0.14.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t14d0 /dev/rdsk/c27t14d0 disk 452 1/0/10/1/0/4/0.81.0.0.0.14.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t14d1 /dev/rdsk/c27t14d1 disk 453 1/0/10/1/0/4/0.81.0.0.0.14.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t14d2 /dev/rdsk/c27t14d2 disk 454 1/0/10/1/0/4/0.81.0.0.0.14.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c27t14d3 /dev/rdsk/c27t14d3 ext_bus 28 1/0/10/1/0/4/0.81.0.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface target 167 1/0/10/1/0/4/0.81.0.255.0.0 tgt CLAIMED DEVICE ctl 17 1/0/10/1/0/4/0.81.0.255.0.0.0 sctl CLAIMED DEVICE EMC SYMMETRIX /dev/rscsi/c28t0d0 lan 7 1/0/10/1/0/6/0 igelan CLAIMED INTERFACE HP A9782-60001 PCI/PCI-X 1000Base-SX FC/GigE Combo Adapter ba 19 1/0/12 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) lan 8 1/0/12/1/0 iether CLAIMED INTERFACE HP A7012-60001 PCI/PCI-X 1000Base-T Dual-port Adapter lan 9 1/0/12/1/1 iether CLAIMED INTERFACE HP A7012-60001 PCI/PCI-X 1000Base-T Dual-port Adapter ba 20 1/0/14 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783) ext_bus 6 1/0/14/1/0 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD A6829-60101 target 161 1/0/14/1/0.3 tgt CLAIMED DEVICE tape 0 1/0/14/1/0.3.0 stape CLAIMED DEVICE HP C5683A /dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c6t3d0BESTn /dev/rmt/c6t3d0DDSb /dev/rmt/0mb /dev/rmt/c6t3d0BEST /dev/rmt/c6t3d0BESTnb /dev/rmt/c6t3d0DDSn /dev/rmt/0mn /dev/rmt/c6t3d0BESTb /dev/rmt/c6t3d0DDS /dev/rmt/c6t3d0DDSnb target 162 1/0/14/1/0.7 tgt CLAIMED DEVICE ctl 6 1/0/14/1/0.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c6t7d0 ext_bus 7 1/0/14/1/1 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD A6829-60101 target 163 1/0/14/1/1.7 tgt CLAIMED DEVICE ctl 7 1/0/14/1/1.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c7t7d0 memory 1 1/5 memory CLAIMED MEMORY Memory processor 4 1/10 processor CLAIMED PROCESSOR Processor processor 5 1/11 processor CLAIMED PROCESSOR Processor processor 6 1/14 processor CLAIMED PROCESSOR Processor processor 7 1/15 processor CLAIMED PROCESSOR Processor KapilRaj ================================================================================ That is too long to read and make out something [ am lazy ] . Open two sessions and see what comes in syslog when you run an ioscan Regards, Kaps Mridul Shrivastava ================================================================================ >From the EMC storage side I was told that the HBA has logged on. Is this because last time I used the HBA connect to HP storage and now change to EMC some clean up needs to be done??? Yes, I could see that there are few devices showing as NO_HW.. If this HBA was connected to other HP Storage and then to EMC , and server was up and running all this time then you will have new device files created for the devices and it will start showing you NO_HW for old device files. So at current scenario there is possibility that there no problem exist. You need to reboot the server once and then all the devices which are no more connected to the server will disappear. Santhosh Kumar Theyyan ================================================================================ or run an rmsf on NO_HW hardware paths after confirming you are doing it on right path. "powermt display" shows what paths are currently in use in system. kholikt ================================================================================ Hi, Let me summarize my problem sorry for posting too large log file as the attachment is not working in the forum. First of all the problem is only on /dev/fcd0 Vendor ID is = 0x001077 Device ID is = 0x002312 PCI Sub-system Vendor ID is = 0x00103c PCI Sub-system ID is = 0x0012c7 PCI Mode = PCI-X 133 MHz ISP Code version = 3.3.153 ISP Chip version = 3 Topology = PTTOPT_FABRIC Link Speed = 2Gb Local N_Port_id is = 0x020a00 Previous N_Port_id is = 0x020a00 N_Port Node World Wide Name = 0x50060b00002987df N_Port Port World Wide Name = 0x50060b00002987de Switch Port World Wide Name = 0x200a00051e348790 Switch Node World Wide Name = 0x100000051e348790 Driver state = ONLINE Hardware Path is = 0/0/8/1/0/4/0 Maximum Frame Size = 2048 Driver-Firmware Dump Available = NO Driver-Firmware Dump Timestamp = N/A Driver Version = @(#) libfcd.a HP Fibre Channel ISP 23xx Driver B.11.11.05 /ux/kern/kisu/FCD/src/common/wsio/fcd_init.c:Feb 25 2005,15:52:23 The HBA was previoulsy attached to HP storage and then connected to two EMC storage. During the migration there is no reboot on the servers. According to EMC, the zoning is correct as well as masking is correct. There is no powerpath. One interesting thing this HBA suppose to see two storage, but only one is visible. I am not too sure whether this is due to conflict of OLD device file. I have filter out the ioscan output with just the HBA hardware path along, as you can see it can see one EMC storage only but there is also lot of NO_HW fcp 2 0/0/8/1/0/4/0.1 fcd_fcp NO_HW INTERFACE FCP Domain ext_bus 12 0/0/8/1/0/4/0.1.0.0.1 fcd_vbus NO_HW INTERFACE FCP Array Interface target 7 0/0/8/1/0/4/0.1.0.0.1.0 tgt NO_HW DEVICE target 8 0/0/8/1/0/4/0.1.0.0.1.1 tgt NO_HW DEVICE target 9 0/0/8/1/0/4/0.1.0.0.1.2 tgt NO_HW DEVICE target 10 0/0/8/1/0/4/0.1.0.0.1.3 tgt NO_HW DEVICE target 11 0/0/8/1/0/4/0.1.0.0.1.4 tgt NO_HW DEVICE target 12 0/0/8/1/0/4/0.1.0.0.1.5 tgt NO_HW DEVICE target 13 0/0/8/1/0/4/0.1.0.0.1.6 tgt NO_HW DEVICE target 14 0/0/8/1/0/4/0.1.0.0.1.7 tgt NO_HW DEVICE target 15 0/0/8/1/0/4/0.1.0.0.1.8 tgt NO_HW DEVICE target 16 0/0/8/1/0/4/0.1.0.0.1.9 tgt NO_HW DEVICE target 17 0/0/8/1/0/4/0.1.0.0.1.10 tgt NO_HW DEVICE target 18 0/0/8/1/0/4/0.1.0.0.1.11 tgt NO_HW DEVICE target 19 0/0/8/1/0/4/0.1.0.0.1.12 tgt NO_HW DEVICE target 20 0/0/8/1/0/4/0.1.0.0.1.13 tgt NO_HW DEVICE target 21 0/0/8/1/0/4/0.1.0.0.1.14 tgt NO_HW DEVICE target 22 0/0/8/1/0/4/0.1.0.0.1.15 tgt NO_HW DEVICE ext_bus 13 0/0/8/1/0/4/0.1.0.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface target 23 0/0/8/1/0/4/0.1.0.255.0.0 tgt NO_HW DEVICE ctl 11 0/0/8/1/0/4/0.1.0.255.0.0.0 sctl NO_HW DEVICE HP OPEN-XP512 /dev/rscsi/c13t0d0 ext_bus 18 0/0/8/1/0/4/0.1.4.0.0 fcd_vbus NO_HW INTERFACE FCP Array Interface target 24 0/0/8/1/0/4/0.1.4.0.0.0 tgt NO_HW DEVICE target 25 0/0/8/1/0/4/0.1.4.0.0.1 tgt NO_HW DEVICE target 26 0/0/8/1/0/4/0.1.4.0.0.2 tgt NO_HW DEVICE target 27 0/0/8/1/0/4/0.1.4.0.0.3 tgt NO_HW DEVICE target 28 0/0/8/1/0/4/0.1.4.0.0.4 tgt NO_HW DEVICE target 29 0/0/8/1/0/4/0.1.4.0.0.5 tgt NO_HW DEVICE target 30 0/0/8/1/0/4/0.1.4.0.0.6 tgt NO_HW DEVICE target 31 0/0/8/1/0/4/0.1.4.0.0.7 tgt NO_HW DEVICE target 32 0/0/8/1/0/4/0.1.4.0.0.8 tgt NO_HW DEVICE target 33 0/0/8/1/0/4/0.1.4.0.0.9 tgt NO_HW DEVICE target 34 0/0/8/1/0/4/0.1.4.0.0.10 tgt NO_HW DEVICE target 35 0/0/8/1/0/4/0.1.4.0.0.11 tgt NO_HW DEVICE target 36 0/0/8/1/0/4/0.1.4.0.0.12 tgt NO_HW DEVICE target 37 0/0/8/1/0/4/0.1.4.0.0.13 tgt NO_HW DEVICE target 38 0/0/8/1/0/4/0.1.4.0.0.14 tgt NO_HW DEVICE target 39 0/0/8/1/0/4/0.1.4.0.0.15 tgt NO_HW DEVICE ext_bus 24 0/0/8/1/0/4/0.1.4.0.1 fcd_vbus NO_HW INTERFACE FCP Array Interface target 40 0/0/8/1/0/4/0.1.4.0.1.0 tgt NO_HW DEVICE target 41 0/0/8/1/0/4/0.1.4.0.1.1 tgt NO_HW DEVICE target 42 0/0/8/1/0/4/0.1.4.0.1.2 tgt NO_HW DEVICE target 43 0/0/8/1/0/4/0.1.4.0.1.3 tgt NO_HW DEVICE target 44 0/0/8/1/0/4/0.1.4.0.1.4 tgt NO_HW DEVICE target 45 0/0/8/1/0/4/0.1.4.0.1.5 tgt NO_HW DEVICE target 46 0/0/8/1/0/4/0.1.4.0.1.6 tgt NO_HW DEVICE target 47 0/0/8/1/0/4/0.1.4.0.1.7 tgt NO_HW DEVICE target 48 0/0/8/1/0/4/0.1.4.0.1.8 tgt NO_HW DEVICE target 49 0/0/8/1/0/4/0.1.4.0.1.9 tgt NO_HW DEVICE target 50 0/0/8/1/0/4/0.1.4.0.1.10 tgt NO_HW DEVICE target 51 0/0/8/1/0/4/0.1.4.0.1.11 tgt NO_HW DEVICE target 52 0/0/8/1/0/4/0.1.4.0.1.12 tgt NO_HW DEVICE target 53 0/0/8/1/0/4/0.1.4.0.1.13 tgt NO_HW DEVICE target 54 0/0/8/1/0/4/0.1.4.0.1.14 tgt NO_HW DEVICE target 55 0/0/8/1/0/4/0.1.4.0.1.15 tgt NO_HW DEVICE ext_bus 19 0/0/8/1/0/4/0.1.4.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface target 56 0/0/8/1/0/4/0.1.4.255.0.0 tgt NO_HW DEVICE ctl 13 0/0/8/1/0/4/0.1.4.255.0.0.0 sctl NO_HW DEVICE HP OPEN-XP512 /dev/rscsi/c19t0d0 fcp 3 0/0/8/1/0/4/0.2 fcd_fcp NO_HW INTERFACE FCP Domain ext_bus 14 0/0/8/1/0/4/0.2.0.0.1 fcd_vbus NO_HW INTERFACE FCP Array Interface target 57 0/0/8/1/0/4/0.2.0.0.1.0 tgt NO_HW DEVICE target 58 0/0/8/1/0/4/0.2.0.0.1.1 tgt NO_HW DEVICE target 59 0/0/8/1/0/4/0.2.0.0.1.2 tgt NO_HW DEVICE target 60 0/0/8/1/0/4/0.2.0.0.1.3 tgt NO_HW DEVICE target 61 0/0/8/1/0/4/0.2.0.0.1.4 tgt NO_HW DEVICE target 62 0/0/8/1/0/4/0.2.0.0.1.5 tgt NO_HW DEVICE target 63 0/0/8/1/0/4/0.2.0.0.1.6 tgt NO_HW DEVICE target 64 0/0/8/1/0/4/0.2.0.0.1.7 tgt NO_HW DEVICE target 65 0/0/8/1/0/4/0.2.0.0.1.8 tgt NO_HW DEVICE target 66 0/0/8/1/0/4/0.2.0.0.1.9 tgt NO_HW DEVICE target 67 0/0/8/1/0/4/0.2.0.0.1.10 tgt NO_HW DEVICE target 68 0/0/8/1/0/4/0.2.0.0.1.11 tgt NO_HW DEVICE target 69 0/0/8/1/0/4/0.2.0.0.1.12 tgt NO_HW DEVICE target 70 0/0/8/1/0/4/0.2.0.0.1.13 tgt NO_HW DEVICE target 71 0/0/8/1/0/4/0.2.0.0.1.14 tgt NO_HW DEVICE target 72 0/0/8/1/0/4/0.2.0.0.1.15 tgt NO_HW DEVICE ext_bus 15 0/0/8/1/0/4/0.2.0.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface target 73 0/0/8/1/0/4/0.2.0.255.0.0 tgt NO_HW DEVICE ctl 10 0/0/8/1/0/4/0.2.0.255.0.0.0 sctl NO_HW DEVICE HP OPEN-XP512 /dev/rscsi/c15t0d0 ext_bus 22 0/0/8/1/0/4/0.2.2.0.0 fcd_vbus NO_HW INTERFACE FCP Array Interface target 74 0/0/8/1/0/4/0.2.2.0.0.0 tgt NO_HW DEVICE target 75 0/0/8/1/0/4/0.2.2.0.0.1 tgt NO_HW DEVICE target 76 0/0/8/1/0/4/0.2.2.0.0.2 tgt NO_HW DEVICE target 77 0/0/8/1/0/4/0.2.2.0.0.3 tgt NO_HW DEVICE target 78 0/0/8/1/0/4/0.2.2.0.0.4 tgt NO_HW DEVICE target 79 0/0/8/1/0/4/0.2.2.0.0.5 tgt NO_HW DEVICE target 80 0/0/8/1/0/4/0.2.2.0.0.6 tgt NO_HW DEVICE target 81 0/0/8/1/0/4/0.2.2.0.0.7 tgt NO_HW DEVICE target 82 0/0/8/1/0/4/0.2.2.0.0.8 tgt NO_HW DEVICE target 83 0/0/8/1/0/4/0.2.2.0.0.9 tgt NO_HW DEVICE target 84 0/0/8/1/0/4/0.2.2.0.0.10 tgt NO_HW DEVICE target 85 0/0/8/1/0/4/0.2.2.0.0.11 tgt NO_HW DEVICE target 86 0/0/8/1/0/4/0.2.2.0.0.12 tgt NO_HW DEVICE target 87 0/0/8/1/0/4/0.2.2.0.0.13 tgt NO_HW DEVICE target 88 0/0/8/1/0/4/0.2.2.0.0.14 tgt NO_HW DEVICE target 89 0/0/8/1/0/4/0.2.2.0.0.15 tgt NO_HW DEVICE ext_bus 23 0/0/8/1/0/4/0.2.2.255.0 fcd_vbus NO_HW INTERFACE FCP Device Interface target 90 0/0/8/1/0/4/0.2.2.255.0.0 tgt NO_HW DEVICE ctl 15 0/0/8/1/0/4/0.2.2.255.0.0.0 sctl NO_HW DEVICE HP OPEN-XP512 /dev/rscsi/c23t0d0 fcp 6 0/0/8/1/0/4/0.82 fcd_fcp CLAIMED INTERFACE FCP Domain ext_bus 29 0/0/8/1/0/4/0.82.0.0.0 fcd_vbus CLAIMED INTERFACE FCP Array Interface target 199 0/0/8/1/0/4/0.82.0.0.0.0 tgt CLAIMED DEVICE disk 33 0/0/8/1/0/4/0.82.0.0.0.0.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t0d0 /dev/rdsk/c29t0d0 disk 34 0/0/8/1/0/4/0.82.0.0.0.0.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t0d1 /dev/rdsk/c29t0d1 disk 35 0/0/8/1/0/4/0.82.0.0.0.0.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t0d2 /dev/rdsk/c29t0d2 disk 97 0/0/8/1/0/4/0.82.0.0.0.0.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t0d3 /dev/rdsk/c29t0d3 disk 98 0/0/8/1/0/4/0.82.0.0.0.0.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t0d4 /dev/rdsk/c29t0d4 target 200 0/0/8/1/0/4/0.82.0.0.0.1 tgt CLAIMED DEVICE disk 99 0/0/8/1/0/4/0.82.0.0.0.1.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t1d3 /dev/rdsk/c29t1d3 disk 100 0/0/8/1/0/4/0.82.0.0.0.1.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t1d4 /dev/rdsk/c29t1d4 disk 101 0/0/8/1/0/4/0.82.0.0.0.1.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t1d5 /dev/rdsk/c29t1d5 disk 102 0/0/8/1/0/4/0.82.0.0.0.1.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t1d6 /dev/rdsk/c29t1d6 disk 103 0/0/8/1/0/4/0.82.0.0.0.1.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t1d7 /dev/rdsk/c29t1d7 target 201 0/0/8/1/0/4/0.82.0.0.0.2 tgt CLAIMED DEVICE disk 104 0/0/8/1/0/4/0.82.0.0.0.2.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d0 /dev/rdsk/c29t2d0 disk 105 0/0/8/1/0/4/0.82.0.0.0.2.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d1 /dev/rdsk/c29t2d1 disk 106 0/0/8/1/0/4/0.82.0.0.0.2.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d2 /dev/rdsk/c29t2d2 disk 107 0/0/8/1/0/4/0.82.0.0.0.2.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d3 /dev/rdsk/c29t2d3 disk 108 0/0/8/1/0/4/0.82.0.0.0.2.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d4 /dev/rdsk/c29t2d4 disk 109 0/0/8/1/0/4/0.82.0.0.0.2.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d5 /dev/rdsk/c29t2d5 disk 110 0/0/8/1/0/4/0.82.0.0.0.2.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d6 /dev/rdsk/c29t2d6 disk 111 0/0/8/1/0/4/0.82.0.0.0.2.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t2d7 /dev/rdsk/c29t2d7 target 202 0/0/8/1/0/4/0.82.0.0.0.3 tgt CLAIMED DEVICE disk 112 0/0/8/1/0/4/0.82.0.0.0.3.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d0 /dev/rdsk/c29t3d0 disk 113 0/0/8/1/0/4/0.82.0.0.0.3.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d1 /dev/rdsk/c29t3d1 disk 114 0/0/8/1/0/4/0.82.0.0.0.3.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d2 /dev/rdsk/c29t3d2 disk 115 0/0/8/1/0/4/0.82.0.0.0.3.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d3 /dev/rdsk/c29t3d3 disk 116 0/0/8/1/0/4/0.82.0.0.0.3.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d4 /dev/rdsk/c29t3d4 disk 117 0/0/8/1/0/4/0.82.0.0.0.3.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d5 /dev/rdsk/c29t3d5 disk 118 0/0/8/1/0/4/0.82.0.0.0.3.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d6 /dev/rdsk/c29t3d6 disk 119 0/0/8/1/0/4/0.82.0.0.0.3.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t3d7 /dev/rdsk/c29t3d7 target 203 0/0/8/1/0/4/0.82.0.0.0.4 tgt CLAIMED DEVICE disk 120 0/0/8/1/0/4/0.82.0.0.0.4.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d0 /dev/rdsk/c29t4d0 disk 121 0/0/8/1/0/4/0.82.0.0.0.4.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d1 /dev/rdsk/c29t4d1 disk 122 0/0/8/1/0/4/0.82.0.0.0.4.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d2 /dev/rdsk/c29t4d2 disk 123 0/0/8/1/0/4/0.82.0.0.0.4.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d3 /dev/rdsk/c29t4d3 disk 125 0/0/8/1/0/4/0.82.0.0.0.4.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d4 /dev/rdsk/c29t4d4 disk 127 0/0/8/1/0/4/0.82.0.0.0.4.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d5 /dev/rdsk/c29t4d5 disk 129 0/0/8/1/0/4/0.82.0.0.0.4.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d6 /dev/rdsk/c29t4d6 disk 130 0/0/8/1/0/4/0.82.0.0.0.4.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t4d7 /dev/rdsk/c29t4d7 target 204 0/0/8/1/0/4/0.82.0.0.0.5 tgt CLAIMED DEVICE disk 132 0/0/8/1/0/4/0.82.0.0.0.5.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d0 /dev/rdsk/c29t5d0 disk 133 0/0/8/1/0/4/0.82.0.0.0.5.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d1 /dev/rdsk/c29t5d1 disk 134 0/0/8/1/0/4/0.82.0.0.0.5.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d2 /dev/rdsk/c29t5d2 disk 135 0/0/8/1/0/4/0.82.0.0.0.5.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d3 /dev/rdsk/c29t5d3 disk 137 0/0/8/1/0/4/0.82.0.0.0.5.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d4 /dev/rdsk/c29t5d4 disk 139 0/0/8/1/0/4/0.82.0.0.0.5.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d5 /dev/rdsk/c29t5d5 disk 140 0/0/8/1/0/4/0.82.0.0.0.5.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d6 /dev/rdsk/c29t5d6 disk 142 0/0/8/1/0/4/0.82.0.0.0.5.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t5d7 /dev/rdsk/c29t5d7 target 205 0/0/8/1/0/4/0.82.0.0.0.6 tgt CLAIMED DEVICE disk 143 0/0/8/1/0/4/0.82.0.0.0.6.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d0 /dev/rdsk/c29t6d0 disk 144 0/0/8/1/0/4/0.82.0.0.0.6.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d1 /dev/rdsk/c29t6d1 disk 145 0/0/8/1/0/4/0.82.0.0.0.6.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d2 /dev/rdsk/c29t6d2 disk 149 0/0/8/1/0/4/0.82.0.0.0.6.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d3 /dev/rdsk/c29t6d3 disk 151 0/0/8/1/0/4/0.82.0.0.0.6.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d4 /dev/rdsk/c29t6d4 disk 154 0/0/8/1/0/4/0.82.0.0.0.6.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d5 /dev/rdsk/c29t6d5 disk 155 0/0/8/1/0/4/0.82.0.0.0.6.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d6 /dev/rdsk/c29t6d6 disk 157 0/0/8/1/0/4/0.82.0.0.0.6.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t6d7 /dev/rdsk/c29t6d7 target 206 0/0/8/1/0/4/0.82.0.0.0.7 tgt CLAIMED DEVICE disk 158 0/0/8/1/0/4/0.82.0.0.0.7.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d0 /dev/rdsk/c29t7d0 disk 162 0/0/8/1/0/4/0.82.0.0.0.7.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d1 /dev/rdsk/c29t7d1 disk 167 0/0/8/1/0/4/0.82.0.0.0.7.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d2 /dev/rdsk/c29t7d2 disk 169 0/0/8/1/0/4/0.82.0.0.0.7.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d3 /dev/rdsk/c29t7d3 disk 174 0/0/8/1/0/4/0.82.0.0.0.7.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d4 /dev/rdsk/c29t7d4 disk 177 0/0/8/1/0/4/0.82.0.0.0.7.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d5 /dev/rdsk/c29t7d5 disk 180 0/0/8/1/0/4/0.82.0.0.0.7.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d6 /dev/rdsk/c29t7d6 disk 184 0/0/8/1/0/4/0.82.0.0.0.7.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t7d7 /dev/rdsk/c29t7d7 target 207 0/0/8/1/0/4/0.82.0.0.0.8 tgt CLAIMED DEVICE disk 185 0/0/8/1/0/4/0.82.0.0.0.8.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d0 /dev/rdsk/c29t8d0 disk 186 0/0/8/1/0/4/0.82.0.0.0.8.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d1 /dev/rdsk/c29t8d1 disk 187 0/0/8/1/0/4/0.82.0.0.0.8.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d2 /dev/rdsk/c29t8d2 disk 188 0/0/8/1/0/4/0.82.0.0.0.8.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d3 /dev/rdsk/c29t8d3 disk 190 0/0/8/1/0/4/0.82.0.0.0.8.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d4 /dev/rdsk/c29t8d4 disk 198 0/0/8/1/0/4/0.82.0.0.0.8.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d5 /dev/rdsk/c29t8d5 disk 199 0/0/8/1/0/4/0.82.0.0.0.8.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d6 /dev/rdsk/c29t8d6 disk 200 0/0/8/1/0/4/0.82.0.0.0.8.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t8d7 /dev/rdsk/c29t8d7 target 208 0/0/8/1/0/4/0.82.0.0.0.9 tgt CLAIMED DEVICE disk 201 0/0/8/1/0/4/0.82.0.0.0.9.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d0 /dev/rdsk/c29t9d0 disk 202 0/0/8/1/0/4/0.82.0.0.0.9.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d1 /dev/rdsk/c29t9d1 disk 203 0/0/8/1/0/4/0.82.0.0.0.9.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d2 /dev/rdsk/c29t9d2 disk 204 0/0/8/1/0/4/0.82.0.0.0.9.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d3 /dev/rdsk/c29t9d3 disk 213 0/0/8/1/0/4/0.82.0.0.0.9.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d4 /dev/rdsk/c29t9d4 disk 224 0/0/8/1/0/4/0.82.0.0.0.9.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d5 /dev/rdsk/c29t9d5 disk 225 0/0/8/1/0/4/0.82.0.0.0.9.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d6 /dev/rdsk/c29t9d6 disk 226 0/0/8/1/0/4/0.82.0.0.0.9.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t9d7 /dev/rdsk/c29t9d7 target 209 0/0/8/1/0/4/0.82.0.0.0.10 tgt CLAIMED DEVICE disk 227 0/0/8/1/0/4/0.82.0.0.0.10.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d0 /dev/rdsk/c29t10d0 disk 228 0/0/8/1/0/4/0.82.0.0.0.10.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d1 /dev/rdsk/c29t10d1 disk 229 0/0/8/1/0/4/0.82.0.0.0.10.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d2 /dev/rdsk/c29t10d2 disk 260 0/0/8/1/0/4/0.82.0.0.0.10.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d3 /dev/rdsk/c29t10d3 disk 261 0/0/8/1/0/4/0.82.0.0.0.10.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d4 /dev/rdsk/c29t10d4 disk 262 0/0/8/1/0/4/0.82.0.0.0.10.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d5 /dev/rdsk/c29t10d5 disk 263 0/0/8/1/0/4/0.82.0.0.0.10.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d6 /dev/rdsk/c29t10d6 disk 264 0/0/8/1/0/4/0.82.0.0.0.10.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t10d7 /dev/rdsk/c29t10d7 target 210 0/0/8/1/0/4/0.82.0.0.0.11 tgt CLAIMED DEVICE disk 265 0/0/8/1/0/4/0.82.0.0.0.11.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d0 /dev/rdsk/c29t11d0 disk 266 0/0/8/1/0/4/0.82.0.0.0.11.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d1 /dev/rdsk/c29t11d1 disk 267 0/0/8/1/0/4/0.82.0.0.0.11.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d2 /dev/rdsk/c29t11d2 disk 268 0/0/8/1/0/4/0.82.0.0.0.11.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d3 /dev/rdsk/c29t11d3 disk 269 0/0/8/1/0/4/0.82.0.0.0.11.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d4 /dev/rdsk/c29t11d4 disk 270 0/0/8/1/0/4/0.82.0.0.0.11.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d5 /dev/rdsk/c29t11d5 disk 271 0/0/8/1/0/4/0.82.0.0.0.11.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d6 /dev/rdsk/c29t11d6 disk 272 0/0/8/1/0/4/0.82.0.0.0.11.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t11d7 /dev/rdsk/c29t11d7 target 211 0/0/8/1/0/4/0.82.0.0.0.12 tgt CLAIMED DEVICE disk 273 0/0/8/1/0/4/0.82.0.0.0.12.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d0 /dev/rdsk/c29t12d0 disk 274 0/0/8/1/0/4/0.82.0.0.0.12.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d1 /dev/rdsk/c29t12d1 disk 275 0/0/8/1/0/4/0.82.0.0.0.12.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d2 /dev/rdsk/c29t12d2 disk 276 0/0/8/1/0/4/0.82.0.0.0.12.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d3 /dev/rdsk/c29t12d3 disk 277 0/0/8/1/0/4/0.82.0.0.0.12.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d4 /dev/rdsk/c29t12d4 disk 278 0/0/8/1/0/4/0.82.0.0.0.12.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d5 /dev/rdsk/c29t12d5 disk 279 0/0/8/1/0/4/0.82.0.0.0.12.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d6 /dev/rdsk/c29t12d6 disk 280 0/0/8/1/0/4/0.82.0.0.0.12.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t12d7 /dev/rdsk/c29t12d7 target 212 0/0/8/1/0/4/0.82.0.0.0.13 tgt CLAIMED DEVICE disk 292 0/0/8/1/0/4/0.82.0.0.0.13.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d0 /dev/rdsk/c29t13d0 disk 294 0/0/8/1/0/4/0.82.0.0.0.13.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d1 /dev/rdsk/c29t13d1 disk 301 0/0/8/1/0/4/0.82.0.0.0.13.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d2 /dev/rdsk/c29t13d2 disk 303 0/0/8/1/0/4/0.82.0.0.0.13.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d3 /dev/rdsk/c29t13d3 disk 304 0/0/8/1/0/4/0.82.0.0.0.13.4 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d4 /dev/rdsk/c29t13d4 disk 305 0/0/8/1/0/4/0.82.0.0.0.13.5 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d5 /dev/rdsk/c29t13d5 disk 306 0/0/8/1/0/4/0.82.0.0.0.13.6 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d6 /dev/rdsk/c29t13d6 disk 307 0/0/8/1/0/4/0.82.0.0.0.13.7 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t13d7 /dev/rdsk/c29t13d7 target 213 0/0/8/1/0/4/0.82.0.0.0.14 tgt CLAIMED DEVICE disk 308 0/0/8/1/0/4/0.82.0.0.0.14.0 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t14d0 /dev/rdsk/c29t14d0 disk 309 0/0/8/1/0/4/0.82.0.0.0.14.1 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t14d1 /dev/rdsk/c29t14d1 disk 310 0/0/8/1/0/4/0.82.0.0.0.14.2 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t14d2 /dev/rdsk/c29t14d2 disk 311 0/0/8/1/0/4/0.82.0.0.0.14.3 sdisk CLAIMED DEVICE EMC SYMMETRIX /dev/dsk/c29t14d3 /dev/rdsk/c29t14d3 ext_bus 30 0/0/8/1/0/4/0.82.0.255.0 fcd_vbus CLAIMED INTERFACE FCP Device Interface target 198 0/0/8/1/0/4/0.82.0.255.0.0 tgt CLAIMED DEVICE ctl 18 0/0/8/1/0/4/0.82.0.255.0.0.0 sctl CLAIMED DEVICE EMC SYMMETRIX AwadheshPandey ================================================================================ is powerpath there? put a powermt display command and check for every thing is optimal? post the result please.. kholikt ================================================================================ as I mentioned in the post. No powerpath here. The only relevant message in syslog is Jul 16 11:02:36 sgd651 vmunix: 0/0/8/1/0/4/0: Fibre Channel Driver received Link Dead Notification. Jul 16 11:02:36 sgd651 vmunix: Jul 16 11:02:36 sgd651 EMS [3154]: ------ EMS Event Notification ------ Value: "CRITICAL (5)" for Resource: "/adapters/events/ql_adapter/0_0_8_1_0_4_0" (Threshold: = " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 206700546 -r /adapters/events/ql_adapter/0_0_8_1_0_4_0 -n 206700556 -a Jul 16 11:04:30 sgd651 vmunix: Jul 16 11:04:30 sgd651 vmunix: AUTOPATH : Path 0xbc0e5700 failed! Rerouting to alternate path Jul 16 11:04:50 sgd651 vmunix: AUTOPATH : Path 0xbc0e8300 failed! Rerouting to alternate path Jul 16 11:04:50 sgd651 vmunix: Jul 16 12:13:16 sgd651 vmunix: 0/0/8/1/0/4/0: Fabric Name Server rejected GPN_FT query. Jul 16 12:13:16 sgd651 vmunix: Reason code: unable to perform request; Jul 16 12:13:16 sgd651 vmunix: Explanation: FC-4 Type not registered. Jul 16 12:13:16 sgd651 vmunix: This may indicate that the HBA port is not part of a zone. Jul 16 12:13:16 sgd651 vmunix: Please check zone configuration on your switch. Jul 16 12:13:16 sgd651 vmunix: Jul 16 12:13:16 sgd651 vmunix: 0/0/8/1/0/4/0: Device at device id 0x20000 has disappeared from Name Server GPN_FT Jul 16 12:13:16 sgd651 vmunix: (FCP type) response, or its 'Port World-Wide Name' has changed. Jul 16 12:13:16 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 12:13:16 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 12:13:16 sgd651 vmunix: System won't be able to see LUNs behind this port. Jul 16 12:13:16 sgd651 vmunix: Jul 16 12:13:16 sgd651 vmunix: 0/0/8/1/0/4/0: Device at device id 0x20200 has disappeared from Name Server GPN_FT Jul 16 12:13:16 sgd651 vmunix: (FCP type) response, or its 'Port World-Wide Name' has changed. Jul 16 12:13:16 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 12:13:16 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 12:13:16 sgd651 vmunix: System won't be able to see LUNs behind this port. Jul 16 12:13:16 sgd651 vmunix: Jul 16 12:13:16 sgd651 vmunix: 0/0/8/1/0/4/0: Device at device id 0x10000 has disappeared from Name Server GPN_FT Jul 16 12:13:16 sgd651 vmunix: (FCP type) response, or its 'Port World-Wide Name' has changed. Jul 16 12:13:16 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 12:13:16 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 12:13:16 sgd651 vmunix: System won't be able to see LUNs behind this port. Jul 16 12:13:16 sgd651 vmunix: Jul 16 12:13:16 sgd651 vmunix: 0/0/8/1/0/4/0: Device at device id 0x10400 has disappeared from Name Server GPN_FT Jul 16 12:13:16 sgd651 vmunix: (FCP type) response, or its 'Port World-Wide Name' has changed. Jul 16 12:13:16 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 12:13:16 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 12:13:16 sgd651 vmunix: System won't be able to see LUNs behind this port. Jul 16 12:13:16 sgd651 vmunix: Jul 16 12:13:16 sgd651 EMS [3154]: ------ EMS Event Notification ------ Value: "CRITICAL (5)" for Resource: "/adapters/events/ql_adapter/0_0_8_1_0_4_0" (Threshold: = " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 206700546 -r /adapters/events/ql_adapter/0_0_8_1_0_4_0 -n 206700557 -a Jul 16 12:13:17 sgd651 EMS [3154]: ------ EMS Event Notification ------ Value: "CRITICAL (5)" for Resource: "/adapters/events/ql_adapter/0_0_8_1_0_4_0" (Threshold: = " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 206700546 -r /adapters/events/ql_adapter/0_0_8_1_0_4_0 -n 206700558 -a Jul 16 13:04:48 sgd651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 13:04:48 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 13:04:48 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 13:04:48 sgd651 vmunix: Jul 16 13:04:48 sgd651 vmunix: 0/0/8/1/0/4/0.82 fcd_fcp Jul 16 13:04:48 sgd651 vmunix: 0/0/8/1/0/4/0.82.0.0.0 fcd_vbus Jul 16 13:04:48 sgd651 vmunix: 0/0/8/1/0/4/0.82.0.255.0 fcd_vbus Jul 16 13:04:48 sgd651 vmunix: 0/0/8/1/0/4/0.82.0.255.0.0 tgt Jul 16 13:04:48 sgd651 vmunix: 0/0/8/1/0/4/0.82.0.0.0.0 tgt Jul 16 13:04:48 sgd651 vmunix: 0/0/8/1/0/4/0.82.0.255.0.0.0 sctl Jul 16 13:04:48 sgd651 vmunix: 0/0/8/1/0/4/0.82.0.0.0.0.0 sdisk Jul 16 13:04:48 sgd651 EMS [3154]: ------ EMS Event Notification ------ Value: "CRITICAL (5)" for Resource: "/adapters/events/ql_adapter/0_0_8_1_0_4_0" (Threshold: = " 3") Execute the following command to obtain event details: /opt/resmon/bin/resdata -R 206700546 -r /adapters/events/ql_adapter/0_0_8_1_0_4_0 -n 206700559 -a Jul 16 13:11:01 sgd651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 13:11:01 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 13:11:01 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 13:11:01 sgd651 vmunix: Jul 16 13:14:03 sgd651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 13:14:03 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 13:14:03 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 13:14:03 sgd651 vmunix: Jul 16 13:20:05 sgd651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 13:21:12 sgd651 above message repeats 2 times Jul 16 13:20:05 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 13:23:06 sgd651 above message repeats 2 times Jul 16 13:23:06 sgd651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 13:20:05 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 13:23:06 sgd651 above message repeats 2 times Jul 16 13:23:06 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 13:20:05 sgd651 vmunix: Jul 16 13:23:06 sgd651 above message repeats 2 times Jul 16 13:23:06 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 13:23:06 sgd651 vmunix: Jul 16 13:27:14 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 13:27:14 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 13:27:14 sgd651 vmunix: Jul 16 13:27:14 sgd651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 13:37:08 sgd651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 13:37:08 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 13:37:08 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 13:37:08 sgd651 vmunix: Jul 16 13:57:21 sgd651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 13:57:21 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 13:57:21 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 13:57:21 sgd651 vmunix: Jul 16 14:13:02 sgd651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 14:13:02 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 14:13:02 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 14:13:02 sgd651 vmunix: Jul 16 14:13:03 sgd651 vmunix: 0/0/8/1/0/4/0.82.0.0.0.0.1 sdisk Jul 16 14:13:03 sgd651 vmunix: 0/0/8/1/0/4/0.82.0.0.0.0.2 sdisk Jul 16 14:13:03 sgd651 vmunix: 0/0/8/1/0/4/0.82.0.0.0.0.3 sdisk Jul 16 14:13:03 sgd651 vmunix: 0/0/8/1/0/4/0.82.0.0.0.0.4 sdisk Jul 16 14:32:35 sgd651 vmunix: 0/0/8/1/0/4/0: Inquiry failed on FCP device with device id 0x20000 Jul 16 14:32:35 sgd651 vmunix: device id = loop id, for private loop devices Jul 16 14:32:35 sgd651 vmunix: device id = nport ID, for fabric/public-loop devices Jul 16 14:32:35 sgd651 vmunix:


SUBJECT: GREATEST BLUNDERS U.SivaKumar ================================================================================ Hi, Please post the greatest blunders you think you have done in the life as a system administrator. regards, U.SivaKumar "Best Men are moulded out of Faults - Shakesphere " ================================================================================ Well that would be one of 2. 1) creating a filesystem on a database raw log location (that's was the last time I used SAM for any LVM-type work). 2) Believing what I was told when someone said that we could remove a FS from a system as the database that was using it had moved to another machine. Apparently, Ingres is a little picky when you take one of its data locations away, even if it's not being used. That led to an inconsistent database, and several days of tension while it was fixed. Jean-Louis Phelix ================================================================================ Hi, Using a lan console, then telnet on another lan console to do a CTRL-B RS. Guess which machine has rebooted ... H.Merijn Brand (procura) ================================================================================ Trying to test how "hot-swap" disks work. The fast way: just pull one out. Needless to say that this (production) machine went down. Robert-Jan Goossens ================================================================================ Working with NIS the first time and putting +root in the passwd file guess what happended!!!!!! Ravi ================================================================================ applying SNAPlus2 of 11i on 11.0 and crashing the system Vicente Sanchez ================================================================================ Think that computer world is logical. Tomek Gryszkiewicz ================================================================================ Deleting all hidden files in /root: rm -rf .* ......... Regards, Tomek BFA6 ================================================================================ Hi, Forgetting how links work. Copied what I thought was a file to a file, but ended up overwriting a linked .profile - oops. Good job we had a backup :-) Hilary kish ================================================================================ created home area for new user, and instead changeing the permission of new user i gave * Michael Tully ================================================================================ Many years ago I deleted all of /var that had files over 10 days old. The best thing was that no one ever noticed.... However I saw a good one the other day, one administrator, rebooted the wrong machine.... where's that egg? Bill McNAMARA ================================================================================ I've done this with people looking over my shoulder (while in single user): echo "/dev/vg00/lvol6 /tmp vxfs delaylog 0 2" /etc/fstab reboot!! Other good ones: mv /dev/ /Dev (try it - and don't ask why!!) Later, Bill Donald Kok ================================================================================ worst thing?: ls /somedir #oh that's rubbish rm -r * # removed all in current directory Olebile ================================================================================ The worst one i did was becoz of laziness, the intention was to remove a directory under /. So I typed rm -r then using the intelli mouse copied the file name and pasting. Quess what... the mouse copied only part of the directory name which matched other mounted directory names. Everything under those directories was zapped but you still get an error message " mouted filesystem could not be deleted" only the mount point remains you'll be horrified to see what lies underneath. Always type when using rm -r.... U.SivaKumar ================================================================================ Hi Michael , Your case is common in racked servers. Sun uses a locator to locate the server in the rack before giving reboot. HP has anything like that , I doubt regards, U.SivaKumar Christian Gebhardt ================================================================================ Hi As a newby in UNIX I had an Oracle Testinstallion on a production system productiv directory: /u01/... test directory: /test/u01/... deleting the test installation: cd /test rm /u01 OOPS ... After several bdf commands I noticed that the wrong lvol shrinks and stops the delete command with Ctrl'C The database still worked without the most binaries and libraries and after a restore from tape without stopping and starting the database all was ok. I love oracle ;-) Chris Justo Exposito ================================================================================ Hi, Develop a script in order to change the permits for all the files and subdirectories under the actual and when run change all the permits in the system. Regards, Justo. Systeemingenieurs Infoco ================================================================================ trying to undo script-wrapping : cd /usr/bin rm -f remsh : mv remsh.org remsh = remsh was rappidly restored ; i overlooked the disappearence of mv. It took 1 week for someone to notice it (only cron jobs were affected ; the other jobs used /sbin/mv). Pete Randall ================================================================================ Well, there's the old standard of re-booting a workstation, only to find out the window the programmer had up was actually logged into the production server. The only "good" thing was that, even after I su'd to root, the shutdown message said that the programmer had done it. Pete Pete Devlin ================================================================================ >From home I got the syntax to tar wrong whilst testing a newly replaced tape drive :- tar -cvf /etc/passwd /dev/rmt/0m. Then my connection dropped.... Luckily it was a dev box at the weekend & there was a console session running so I was able to travel the 3 miles and after first copying/usr/newconfig/etc/passwd into place I recovered from tape. No one knew. I only ever use files in /tmp now for testing tape devices with tar!! Cheers harry d brown jr ================================================================================ Learning hpux? Naw, that's not it....maybe it was learning to spell aix?? sco?? osf?? Nope, none of those. The biggest blunder: One morning I came in at my usual time of 6am, and had an operator ask me what was wrong with one of our production servers (servicing 6 banks). Well nothing worked at the console (it was already logged in as root). Even a "cat *" produced nothing but another shell prompt. I stopped and restarted the machine and when it attempted to come back up it didn't have any OS to run. Major issue, but we got our backup tapes from that night and restored the machine back to normal. I was clueless (sort of like today) The next morning, the same operator caught me again, and this time I was getting angry (imagine that). Same crap, different day. Nothing was on any disk. This of course was before we had raid availble (not that that would have helped). So we restored the system from that nights backups and by 8am the banks have their systems up. So now I have to fix this issue, but where the hell to start? I knew that production batch processing was done by 9PM, and that the backups started right after that. The backups completed around 1am, which were good backups, because we never lost a single transaction. But around 6am the stuff hit the fan. So I had a time frame: 1am-6am, something was clobbering the system. I went though the crons, but nothing really stood out, so I had to really dive into them. This is the code (well almost) I found in the script: cd /tmp/uniplex/trash/garbage rm -rf * As soon as I saw those two lines, I realized that I was the one that had caused the system to crap out every morning. See, I needed some disk space, and I was doing some house cleaning, and I deleted the sub-directory "garbage" from the /tmp/uniplex/trash" directory. Of course the script is run by root, which attempted to "CD" to a non-existent directory, which failed, and cron was still cd'd to "/", it then proceeded to "rm -rf *" my system! live free or die harry Pete Randall ================================================================================ OK, I'll confess (if Harry can admit that blunder, I guess I can, too). My worst blunder was trying to share a FC60 disk array in a non-MC/SG environment. Installed the switch, tested connectivity from both servers, cloned the production database's volume group onto another volume group, exported the volume group, imported onto the development server, started bringing up the development DB - trashed the production DB. I'd grabbed the wrong map file and imported the wrong VG. But this wasn't my greatest blunder!! We coincidentally had some hardware problems with the FC60 and I mistakenly blamed the DB issues on them. Once we got the hardware all straightened out, I proceeded to do the same thing all over again, blindly believing that vgchange would protect me because vgchange supposedly won't let both systems activate the same VG - NOT!! The good thing about this whole scenario is that we got really good at restoring the production DB - we've got the procedure down pat now. Pete P.S. We do share the FC60 to this day - we're just a lot more careful about which VG we're actually dealing with from which server. harry d brown jr ================================================================================ Pete, sorry to drag you out kicking and screaming, but my blunder was about 12 years ago :-) live free or die harry Pete Randall ================================================================================ Harry, I'm a slower learner, I guess. Mine was this past summer. ;^) Pete Robert Thorneycroft ================================================================================ Having been called in the middle of the night to find out there was a problem with a change that had been made to the system, I suggested restoring the file back from the copy on an EMC BCV. Unfortunately the operator somehow got the wrong idea and managed to kick off a BCV restore, which as anyone who knows anything about EMC commands will realise is a completely different thing. Anyway the long and short of it was that the system which runs an extremely busy large Oracle database was taken back to its state of 2 days previous, this then took about one and a half days to recover rolling forwards on the redo logs. Systeemingenieurs Infoco ================================================================================ I once spent a day looking after an error in a c-program : if (a=b) {} should 've been : if (a==b) {} Alexander M. Ermes ================================================================================ Hi there. ever told the electricians , that your server is hooked to a completely different circuit breaker ? Had some nice reactions from my users about 2 seconds, after this guy switched it. ;-) Rgds Alexander M. Ermes steven Burgess ================================================================================ Hi all My greatest to date was pvcreating a disk in a service guard cluster that was the root disk on the other node. The girl who had been setting up the server for testing (luckily) wasn't best pleased Steve Bill Hassell ================================================================================ I guess my blunder sets the record for "most clobbered machines" in one day: I created an inventory script to be used in the Response Center to track all the systems across the United States (about 320 systems). These are all test and problem replication machines but necessary for the R/C engineers to replicate customer problems. The script was written about 1992 to handle version 7.0 and higher. About 1995, I had a number of useful scripts that it seemed reasonable to drop these into all 300 machines as a part of the inventory process (so far, so good). Then about that time, 10.01 was released and I made a few changes to the script. One was to change the useful script location from /usr/local/bin to /usr/contrib/bin because of bad directory permissions. I considered 'fixing' the bad permissions but since these systems must represent the customer environment, I decided to move everything. Enter the shell option -u. I did not use that option in my scripts and due to a spelling error, an environment variable was used in rm -r which was null, thus removing the entire /usr/local directory on 320 machines overnight. Needless to say, I never write scripts without set -u at the top of the script. Patrick Wallek ================================================================================ Hmmmm......... I've got a couple that probably qualify. 1 is HP-UX related and one is MPE/V related. On the MPE/V machine I helped to support a product that the company I worked for sold. I was doing some work with the product license file which was kept at CATALOG.PRODUCTNAME.SYS. Well, I removed CATALOG. The only thing was, I wasn't in the PRODCUTNAME.SYS group, I was in the PUB.SYS group. For anyone not familiar with MPE, CATALOG.PUB.SYS is a pretty important system file, especially when rebooting the machine. Well, I didn't realize what I had done until a couple of days later when I did attempt to reboot the machine. When it started complaining that it couldn't find the CATALOG.PUB.SYS file, I realized what I had done. The machine wasn't super-critical, but we did have some accounting stuff on it. I spent most of that day restoring the system from the 1600 BPI 9 track reel-to-reel tape. Now for number 2 - on an HP-UX system - This was the main accounting server for a medium sized company I worked for. I had been moving files around between the production server and our test server. I went to rm a file and thought I was on the test server, but in reality I was on the production server. I was at the office extra early the next morning with the latest backup tape in hand to restore the file. Fortuantely it was not a critical file and no harm was done. At least no harm other than knocking a few years off of my life expectancy, probably. Robert Dinakaran J ================================================================================ Hi, I had great time once on a weekend, mounted a file System in /usr and was trying to run few commands but nonetheless i learn no jokes at weekends.............. On my second instance, unfortunately i happened to change the permissions of /etc to read, and then started the fun where i was unable to login to the WKS with root..... Life Time Acheivement Error....... "Login Incorrect.." Thanx. Regards, Robert DJ Shannon Petry ================================================================================ The first time I got to work on my very own UNIX system was on a Sun Sparc2. I got to load the OS, and install apps, and it was mine. I noticed that disk space was short, so got an external 512M (huge back then), and plugged it in. I saw that /usr seemed pretty full, and /usr/lib was lots of data. I descided it would be cool to move this to my newly made mount, and link it over. Well, I learned rather quiclky that Solaris did not have a staticly linked ln command ;) Back in them days it was a good 8 hours to install an OS. SO it took me 2 days to get my Sun Sparc up and running.. Live and learn! John Poff ================================================================================ We were doing a disaster recovery drill. I was busy Igniting a V-class server for our database server. I had finally gotten the OS on it after about three hours and I was running a slick little script I had written to recreate all the volume groups and filesystems. My script takes a list of available PVs and does a 'pvcreate -f' on them. Well, we started our drill at midnight [not our idea but we had little choice], so around about 3:30am I was trying to run this script. It was chugging along just fine, pvcreating disks, and then the system hung. Not completely, but pretty much dead. After trying to reboot it, I eventually figured out that when I went through the interactive Ignite, I hadn't paid close attention to which disk Ignite had selected to load the OS on, and it had chosen one of the disks in the EMC array instead of one of the local Jamaica disks. My slick script came along and had pvcreated the disk that had the OS on it. Oops. There went a few more hours of work. The good news is that after that mess they decided that we would never start a DR drill at midnight! JP Christopher McCray ================================================================================ Hello, Here's mine. Situation: 2 N-class servers, one already configured and running production databases, the other newly arrived, connected and the 2 12h autoraids are cross-connected for the future MCSG implementation. Using an ignite tape from the first N, I booted from it on the other N and installed in batch mode. For the next couple of weeks, I was scratching my head, constantly running fsck on several filesystems on the first N, wondering where all the inode errors were coming from!!!! We learn by doing. Chris John Bolene ================================================================================ In UNIX it was changing netmask on a lan card in a machine across the ocean. Seems real strange to me that when you down the interface, your session goes away. Turns out the local guys were working on the console network and I could not get in that way either. Had to wait for the day crew in Dublin to finish working on the console network. On the UNISYS mainframe, it has a feature that you can change OS code on the fly. I fat fingered a jump and it immediately jumped somewhere causing the OS the crash. Turns out that changes made this way also get written to the boot disk and a disk boot would not work either. A tape boot was required. Robie Lutsey ================================================================================ Greastest Blunder? About 3 months after taking the Sys Admin job trying to do an upgrade from HP-UX 10.20 to 11.0. Not being a Sys Admin by trade I failed to reconize the need to VERIFY the backup tapes.... for the last 3 months. Needless to say when I started to receive kernel errors and file system errors I flipped out. Not many people were very pleased when thier entire projects were wiped out. I learned. Mick Kearney ================================================================================ I cannot take the credit for these, but I thought they were crackers. Lets call him "Robin's mate", as he was the one I think bailed him out (Hi Robin)!!!! Writing a script to change the root passwords on all servers globally, even in remote unmanned locations such as Bogata. Only thing was, the script zero'ed the password files....cracker? So he moved to another client. Decided to untar an image of one server onto another machine...without specifying a path. Luckily there was a backup! David Baraloto ================================================================================ I had two Vax 6410's running simulation software for a customer. One Vax (which wasn't being used at the moment) had a bad disk. I got a new disk for the Vax, shut it down from the console, then walked over to the wrong Vax and yanked it's disk out. Lost two days of customer simulation time while I restored the two disks. Jeff Schussele ================================================================================ Almost ten years ago when I was working for a turnkey medical VAR who sold SCO systems to MDs & clinics, I was on-site at a client's office performing some SW maintenance. The system was located under the receptionist's desk & I was sitting in her seat talking to the office mgr & typing at the same time. When the converstaion ended I swiveled in the chair to face the monitor again when my foot bumped something under the desk. My face started to turn ashen gray watching the screen collapse & the power light go off as I realized I had just bumped the power switch for the UPS. Needless to say after I brought the system back up & fsck-cleaned all the filesystems (luckily nothing lost or corrupted), I turned that UPS around so the power switch faced the wall. I wondered why the receptionist hadn't done that until I remembered that she was about 5' tall whereas I'm about 6'. Her legs weren't long enough to reach the UPS from the seating position. Cheers, Jeff Dave Johnson ================================================================================ Here is my worst. We us BC's on our XP512. We stop the application, resync the BC, split the BC, start the application, mount the BC on same server, start backup to tape from BC. Well I had to add a LUN to the primary and BC. I recreated the BC. I forgot to change the script that mounts the BC to include the new LUN. The error message vgimport when you do not include all the LUN's is just a warning and it makes the volume group available. The backups seemed to be working just fine. Well 2 months go by. I did not have enough available disk space to test my backups. (That has been changed). Then I decided to be proactive about deleted old files. So I wrote a script: cd /the/directory/I/want/to/thin/out find . -mtime +30 -exec rm {} \; Well that was scheduled on cron to run just before backups one night. The next morning I get the call the system is not responding. (I guessed later the cd command had failed and the find ran from /). After a reboot I find lots of files are missing from /etc /var /usr /stand and so on. No problem, just rebuild from the make_recovery tape created 2 nights before then restore the rest from backup. Well step 1 was fine, but the backup tape was bad. The database was incomplete. It took 3 days (that is 24 hours per day) to find the most recient tape with a valid database. Then we had to reload all the data. After the 3rd day I was able to turn over recovery to the developers. It took about a week to get the application back on-line. I have sent a request to HP to have the vgimport command changed so a vgimport that does not specify all the LUN's will fail unless some new command line param is used. They have not yet provided this "enhancement" as of the last time I checked a couple of months ago. I now test for this condition and send mail to root as well as fail the BC mount if it does. Life lesson: TEST YOUR BACKUPS!! Dave Unverhau ================================================================================ This is probably not too uncommon...needed to shutdown a server for service (one of several lined up along the floor...no...not racked). Grabbed the keyboard sitting on that box and quickly typed the shutdown string (with a -hy 0, of course) and got ready to service the box. ...ALWAYS make sure the keyboard is sitting on the box to which it is connected! ------------------- Another thing to remember (I didn't do this one!) NEVER fool around like you're pretending to hit that big red button by the door! (Somethings things just don't go as you had planned...) (I'm not sure where he is now, but I know he doesn't work for us anymore...) Dave Deepak Extross ================================================================================ We had this developer who claimed that when he runs his program, it complains about /usr/bin/ld. (This was because of a missing shared library, he later discovered) It was decided to backup /usr/bin/ld and replace it with 'ld' from another machine on which his program worked. No sooner was ld moved, than all hell breaks loose. Users get coredumps in response to even simple commands like "ls", pwd", "cd"... New users cannot telnet into the system and those who are logged in are frozen in their tracks. Both the developer and admin are still working with us... V. Nyga ================================================================================ Hi, once I have got 3 identical workstations. Every station had a configuration sheet with (among other things) the lan address. Every workstation has got a name which I wrote at the sheets. When one mainboard failed it was replaced and I gave the sheet to the worker to set the lan address. Since then I had problems with two of my workstations - I checked it with ping and they disappeared during ping! With help of the support center we checked with lanadmin the lan addresses of both workstation - they were identical! I've written the wrong name at the sheet and we couldn't work with this clients for one week! So some things should be checked twice! Volkma T G Manikandan ================================================================================ I wanted to enable remote console on the L class. Remember I gave the same ip of the machine to the remote console configuration. The battery inside the server had to be taken off and again placed for the system to come up. 1 hour oooh..... The time when new to hpux. V. Nyga ================================================================================ My greatest plunder ..................... only getting 4 points while anybody else gets a bunny ..................... sorry that I didn't rm-ed my / ..................... Bill McNAMARA ================================================================================ Hey Dave, woundn't it be easier to clean up your cron job!! U.SivaKumar ================================================================================ Dear nyga , accept my sincere apologies. I meant to give you 9 points but it scrolled down to 4 without my knowledge Put one more post , you deserve 10 points more regards, U.SivaKumar Nobody's Hero ================================================================================ Greatest blunder. Back in the early 90's in the halon days. Working nights. I was alone on a snow night. I was the only mainframe operator with a 4x4. I had everything running as smooth as possible. " Boy my boss will love this when he makes it in tomorrow morning and see's that I can run this place by myself " I smelled something burning slightly but couldn't tell where it came from. So I walked around the room. Boom above my head, a light ficture caught on fire and flames were shooting out of the drop ceiling. You would have thought that the clue 'drop ceiling' would have rang a bell. Nothing above a drop ceiling. I let the halon discharge. Downed systems and a costly 50K refill for the halon. benoit Bruckert ================================================================================ Well, For me the worst was on AIX and not HP-UX, TO install 2 new SSA disks (which are like Fibre Channel), I didn't want to stop the prod server, Then I installed the 2 disks, detect them from the OS : no troubles. But then declare these disks in the VG (like pvcreate on HP). And at this level, all the disks of the system disappear !!! The LVM structure was out of order, just rootvg (vg00) was ok !! (And remember that it was prod server). But another server connect to the same disks succed to imports the disks, data were there !!!, In 1 hour, I configured this server to work as the first one (hand made Service guard if you want !!). And later in the evening I succeded to import back the disks on the main server !! Today, I don't understand what happened !!! I did the same thing (pvcreate ) many other times since this day without any troubles ! Who said that IS is logical ?? regards Benoit RAC ================================================================================ Well I was very very new to HP-UX. Wanted to set up PPP connection with a password borrowed from a friend so that I could browse the net. Did not worry that the remote support modem can not dial out from remote support port. Went through all documents available, created device files dozen times, but never worked. In anguish did rm -fr `ltr|tail -4|Awk '{print $9}' (That to pacify myself that I know complex commands) But alas, I was /sbin/rc3.d. Thought this is not going to work and left that. Other colleage not aware of this rebooted the system for Veritas netbackup problem. Within next two hours HP engineer was on-site. Was called by colleague. Was watching whole recovery process, repeatedly saying "I want to learn, I want to learn" Then came to know that can not be done. U.SivaKumar ================================================================================ Benoit , apologies to you, I meant 9 points to you . This Scroll problem ....... Post again please Dave Johnson ================================================================================ Hey Bill, When I reinstalled the OS from the make_recovery tape it wiped out the scirpt I wrote and the item on the cron. There is no evidance of what happened or who was responsible. I did however go straight to my boss to confess and take the blame. That above all is probably the strongest reason next to being able to recover at least some of the data why I was not terminated for it. Did I mention in the first post this happened Feb of 2002???? Tom Jackson ================================================================================ Boy this is tough. But here's the worst: I was supporting a group of 600 developers. We were developing plant floor systems for one of the big three automakers. Our platform was DEC VMS. I had a VT terminal with several sessions running. I also had a footer on my VT terminal that told me my current directory location. Well, I thought I was in one session, in a particular directory, but noooooo. I was in the wrong session and deleted a days worht of work for many developers. Oops. The bright side is that I found some errors in the backup procvedures and was given the opportunity to fix them. To Chris Vail ================================================================================ The worst???? Which of the last 19 years in Unix??? Only the really truly horrible ones in the last few years stand out. remsh $DESTHOST;reboot This was probably the most embarrassing semicolon in 19 years of systems administration. We'd already one system that was completely, totally hosed, and then had two. Simon Hargrave ================================================================================ 1. On a live Sun Enterprise server, you turn the key one way for maintenance, and one way for off. I wanted to turn it to maintenance but wasn't sure which way to turn it. Guess which way I chose... 2. On an XP512 I accidentally business-copied a new LUN over the top of a live LUN, because I put the wrong LUN ID in!!! Luckily the live datas backup had finished a full 3 minutes earlier...phew! 3. I can't take credit for this one my ex-boss did it, but I had to include it. On Solaris he added a filesystem in the vfstab file, but put the wrong device in the raw-device field. Concequently all backups backed up the wrong device, so when the data got trashed and required restoring, it...um...didn't exist on tape! Luckily for him he'd left the company 2 months before and I was left to explain what a halfwit he was ;) Darrell Allen ================================================================================ Once upon a time, I reset the date within a DCE cell running DFS - on all but one server. Trust me, you don't want to do that. I had a difficult time explaining why online banking stopped working for the large bank where I worked. Darrell Dave Chamberlin ================================================================================ I have stepped in TAR on a couple occasions. I Moved a tar file from production box to development box but I had tarred it with an absolute path. When I untarred it - it overwrote the existing directory - destroying all the developers updates! I have also been burned by the fact that xvf and cvf are very close on the keyboard - so my command to extract a tar came out once as tar -cvf - which of course erased the tar file. Only other bad blunder was doing an lvreduce on a mounted file system - thought I was recovering space without affecting the other files on the volume. Luckily - they were backup up... Martin Johnson ================================================================================ We have the HPUX console ports connected to a terminal server so you can "borrow console" to gain console access of a system. One day I did a "borrow console" to a hung system and proceeded to do a "^B" and a "RS" at the "CM " prompt. Unfortunately, I was working from the console of a production machine. Brought down the wrong machine. Marty Martin Johnson ================================================================================ One of my coworkers decided to set up a pseudo root (UID=0) account for himself. He used useradd to create the account and made / his home directory. He was unaware that useradd does a "chown -R" to the home directory. So he became the owner of all files on the system. This was a pop3 mail server system, and the mail services did not like the change. My coworker left for the day, leaving me with angry VPs looking over my shoulder demanding to know when email services will be back. Marty the coworker is now known as "chown boy" fg ================================================================================ Greatest GAFF: Taking the word of someone who I thought knew what they were doing and had taken the proper precautions to ensure a recovery method for a rebuild of filesystems, to make a long story short, no backup, no make_recovery, and then rebuilt filesystems. Data lost and had to rebuild. Recovered most of the data except for previous 24hrs. MORAL of the story: Always have backups and make_recovery tapes done. Richard Darling ================================================================================ When I upgraded from 10.20 to 11.0 I finished the system installed, and then used cpio to copy my user applications. One of the vendors had originally had their app installed in /usr (before my time), and I copied the app up one directory and wiped out /usr. By the way, I didn???t back up the installation before the cpio copy. It was a Friday night and I wanted to get out...figured I could backup after getting the apps copied over...learnt an important lesson regarding backups that night... RD Belinda Dermody ================================================================================ writing a script to chmod -R to r/w for the world on a dir. Not doing a check to see if I was in the proper directory and all of a sudden my bin directory files were all 666. Lucky enough I had multiple windows and it hadn't gotten to the sbin directory yet. Had a few inquiries why certain commands wouldnt work before I got it all back correctly. From then on, I do $? and check the return status before I issue any remove or chmod commands. Ian Kidd ================================================================================ I was going to vi a script that performs a cold-backup of an oracle database. Since we prefer not to be root all the time, we use sudo. So I typed, "sudo", but then was interrupted by someone. I then typed the name of the script when that person left. Nothing appeared on the screen immediately, so I got a coffee. When I came back, I saw " sudo {script}" and realized - 1 minute the DBAs started screaming that their database was down - that I started a cold backup in the middle of a production day. Chris Wong ================================================================================ export HISTFILE=$HOME/.profile - chris john korterman ================================================================================ Most of my blunders have already been well covered by other members, although I must admit that I may not have managed them as well as others. However, it made me think of a reception I attended many years ago. I had just started to work for the company that held the reception, whose purpose was to honour a life-long employee now to be retired. The usual speeches about how valuable this employee had been to the company were made, etc. etc. Around where I stood people were talking respectfully about the main character of the event; he was especially well-known for never to have made an error in his long career - it should be mentioned that the person in question had actually managed a number of promotions. I was particularly impressed by my elder colleagues talking about the person, who apparently was not capable of making mistakes - really a person to be held with reverence. Later the same day when I told my boss about it, he's only comment was:" That's right, he never did a day's work in his life!" I will leave the morale of the story up to you. George Dodds ================================================================================ Giving up forklift driving and going into IT ;) H.Merijn Brand (procura) ================================================================================ Thanks for starting this thread. The correct conclusion might be drawn that we are all human :) Now we can have a laugh, and learn at the same time, hoping we are not to be the donkeys that hit their head to the same stone twice. Enjoy, have FUN! F. X. de Montgolfier ================================================================================ Not mines, but some things I saw the result on clients' systems... remove localhot from /etc/hosts ;-) ln -fs [full path of the current dir]/foo foo find / tmp -exec rm {} \; rm /etc/password # ll bar lrwx------ 1 root sys 3 Dec 6 11:50 bar - foo # ln -fs bar foo Technical support can be fun sometimes ;-P Francois-Xavier Duncan Edmonstone ================================================================================ My worst two: Installing a server in a major call centre of a US bank... I built the OS as required by our apps team in the US, and following our build standards put the system into trusted mode. They installed the app, and realised they'd forgotten to ask me to put the system into NIS (system could be used by any of the call centre reps in over 40 call centers - a total of 15,000 NIS based accounts!) It's the middle of the night in the UK, so the apps team get a US admin to set up the system as a NIS client. (yes it shouldn't work when the box is trusted, but it does!) Next day, the apps team is complaining about some stuff not working - can I take the system out of trusted mode so we can discount that? Sure course I can - I run tsconvert and wait.... and wait.... and wait.... hmmm - this usually takes about 30 seconds - what gives? Try to open another window to check whats happening - can't log in as root, the password that worked two minutes ago no longer works! Next root file system full messages start to scroll up the screen! It turns out that tsconvert is busy taking ALL the NIS accounts and putting them in the /etc/passwd file (yes all 15,000 of them) and guess what? There's a root account in NIS! All I can say is thank god for good backups! The other one was a typical junior admin mistake which comes from not understanding shell file name generation fully: A user can't log in, I go take a look at his home directory and note the permissions on his .profile are incorrect. I also note that the other '.' files are incorrect, so I do this: cd /home/user chmod 400 .* I call the user and tell him to try again - he says he still can't log in! Huh? So I go back and carry on looking for the problem, but before I know it the phone is ringing off the hook! No-one can log in now! And then it dawns on me I type the following: cd /home/user echo .* and that returns (of course) . .. .cshrc .exrc .login .profile .sh_history Oops I didn't just change the permissions on the users '.' files - I also changed the permissions on the users directory, and (crucially!) the users parent directory /home! These days I always use echo to check my file name pattern matching logic when doing this kind of thing... We live and learn Duncan Systeemingenieurs Infoco ================================================================================ is it a coincidence that we have almost 2 times as much blunders as achievements ;-) ? Michael Elleby III ================================================================================ Wow, this one is easy- First job ever as an admin, asked to copy some directories from one lv to another, can't remember the commands I issued, but wound up doing an mv on the entire /etc dir.. As I looked out the window and saw my job flying away, a Sr. Admin had compassion on me and walked me through fixing it step by step.. Mike- Vincent Fleming ================================================================================ I have been way too fortunate not to have really blundered all that bad (I've mostly done development), but one I've seen was a real good one... The "security auditor", who apparently knew absolutely nothing about UNIX, was reviewing our development system, and decided that /tmp having world read/write permissions was not a good thing for security - so, in the middle of the day, he chmod 744 /tmp ... suddenly, 200+ developers (including myself) on the machine (it was a *very* large machine back in 1990) were unable to save their editor sessions! So, of course, I use the "wall" command to point our their error so they can fix it quickly and I can save my 2+ hours of edits: $ wall who's the moron who changed the permissions on /tmp???? . $ The funny thing was that I was the one they escorted out of the building that day... The hazards of being a contractor and publically humiliating an employee... Jerry Jordak ================================================================================ This one wasn't my fault, but is still funny. One time, we had to add disk space to one of our servers. My manager at time also was in charge of the EMC disk environment, so he allocated an extra disk to the server. I configured the disk into the OS, did a pvcreate on it, and proceeded to add it to the volume group, extend the filesystem, etc... At about that same time, another one of our servers started going absolutely nuts. It turns out that he accidentally gave me a disk that was already allocated that other system. That drive had held the binaries for that server's application. Oops... Tom Danzig ================================================================================ As root: find / -u 201 -chown dansmith Did this afeter changing a user ID to another number. Should have user "-user" and not -u (I had usermod on my mind). System gladly ignored the -u and started changing all files to user dansmith (/etc/passwd, /etc/hosts, etc). Needless to say, system was hosed. Was able to recover fine from make_recovery tape. Fortunately this was also a test box and not production. Oh well ... live and learn! Mistakes are only bad if you don't learn from them. Mark Fenton ================================================================================ Back in '92 on a NIS network, meant to wipe out a particular user's directory, but was one level up from same when issued rm -r *. Took three hours to back up all home directories on network.... Last year, I discovered that new is not necessarily better. Updating Db software I blithly stopped the Db, copied new software in, and restarted. Users couldn't get any processing done that day -- seems that there was a conversion program that was *supposed* to run that didn't. But that wasn't the blunder -- the blunder is that the most recent backup had been two days previous, so all the previous day's processing was gone... (and that had been an overtime day, too!) Yogeeraj ================================================================================ hi, Here is mine! Running an ORACLE Database on NOARCHIVELOG and deleting a datafile accidentally! Fortunately, we had not gone live on that new server. Anyway, that was hours wasted. Best Regards Yogeeraj U.SivaKumar ================================================================================ Interesting... asifayaz ================================================================================ A collegue of Mine deleted some files in /etc (not knowing What he had done)and removing some permissions for Root.. the system Was completely screwed up.. even could'nt recover/repair from a backup kernel.. so i had to install all the way from the scratch inspite of spending a day trblshooting all the stuff in vain.. cheers Asif Russell Gould ================================================================================ Having executed 'crontab -l /tmp/crontab.root' on one of our servers, I quickly pasted it out onto each of our other servers quickly hitting enter. When I got to our main production box, instead of crontab -l, out came 'shutdown -r 0' quickly followed by enter !! I'd previously issued a shutdown -r 0 on a workstation. Thank god, I was not in / so it did not allow me to do so ! 300 users nearly kicked off. I went up the pub soon afterward for a stiff drink and some air !! U.SivaKumar ================================================================================ . Chakravarthi ================================================================================ Written a small script to reboot a set of 20 machines, and in the input file, i gave my hostname in the first, !!!!! this should be a greatest blunder. KapilRaj ================================================================================ Great !!!, 01. Have started learning UNIX Basics 6 years back & wanted to selectively delete each & every file in a directory... I did rm * -i (It said "-i not found" ) instead of rm -i * Hope what happened ???. ls -l told me what had happened ?????. 02. While housekeeping i went to /etc & find ./ -mtime +2 -exec rm {} \; hooooooooooooooooo kaps Keely Jackson ================================================================================ My greatest blunder: The guy who set up the live database had done it as himself rather than aa a separate dba user. He left the company and his user id was re-allocated to somebody in HR. The guy in HR subsequently left as well. One day I decided to tidy up the system and remvoe the this user. I did this via sam, selected the option to delete all the users files thinking that nobody who was in HR could possibly own any important files. Unfortunately I was somewhat mistaken. Of course the guy in HR now owned all the database files. The first thing I knew was when the users started to complain that the database was no longer available. I got the db back from restore but everybody had lost half a days work. Needless to say, I now do not delete old users files but re-allocate them to a special 'leavers' user and check them all before deleting anything. A good HP blunder. HP were moving the live server - a K420 - between sites and the remvoal men managed to drop it down a flight of stairs. It landed on one of them who then had to be taken to hospital. Fortunately he was only bruised while the machine had a huge dent in it. Anyway, it got moved to the other site and booted up straight away with no problems. That is what I call resiliant hardware. As a precaution disks etc were changed but it is still running quite happily today. Cheers Keely Pete Randall ================================================================================ Speaking of dropping things, Keely - I don't know whether this belongs here in the blunders thread or in the achievements thread. Several years ago, I had an HP C.E. on site to replace a failed 2GB drive in a 715 workstation. Since he has to be escorted around the building, I was hanging around watching over his shoulder and trying to be helpful. While I was "helping", I figured I would get the replacement drive out so it would be ready as soon as he got the old one out. I pulled the silver anti-static bag out of the box only to discover it wasn't taped shut!!! The drive dropped to the floor, bounced twice and then lay still while the C.E. and I exchanged horrified looks. We tried installing the drive, but when we turned on the workstation, it made a sickening, grinding noise. The C.E. went back out to his car and came back with the only other drive he had with him - and I ended up with a free upgrade to a 4GB drive. Pete "Never look a gift horse in the mouth" Steven E. Protter ================================================================================ In July of 2001, I did the great patch of death, (LITS, Line in the Sand Patch) PHKL_18543 on a forced reinstall. It cost me about 200 hours and a dozen support calls, but I managed to keep the system going with no user downtime and did NOT have to reinstall the operating system. Still today, several overlaid patch sets fail patch analysis. My biggest, most painful blunder. What was I thinking? Terrence Johnson ================================================================================ Removing a dustball from the an internal tape drive of a customer's only production machine with a standard vacuum cleaner on a Friday night. I wanted to do a backup before performing an OS update but the tape drive had this huge fur ball in it (didn't get a lot of use apparently). The customer offered to let me use the office electolux so I accepted. It was on a Friday night and I wanted to save time so why bother shutting down, right? As soon as the metal vacuum nozzle got within four inches of the tape drive, the built up static electricity discharged into the drive and ZAP, down went the system. The last backup had been performed by the user a month previous. I think it only took a week for our office staff to type in a months worth of transactions... Paula J Frazer-Campbell ================================================================================ Hi I spent half a day trying to trace a fault on a machine- could not find anyhthing wrong - stange!!! Went back to start, to discover I was working on the wrong server. Paula John Dvorchak ================================================================================ We had 8 servers on one of those monitor keyboard switches. I verified that the print server (NT) was locked up, reached over and promptly powered off the HR server which had no problems until I got there. Not all bad though, I called the help desk, asked if there was a problem with the HR server. When the help desk confirmed it had suddenly went offline, I said "No problem I am back there by it and I'll take care of it". Whew....dodged that bullet. U.SivaKumar ================================================================================ pushing to top Printaporn ================================================================================ I create shell script named "reboot" Then call the script with root w/o it path. production server was reboot !!!! V. Nyga ================================================================================ I was setting up the newest OS to serveral workstations with ignite using a created image. And ever client had got his old hostname. But at one client our CAD program didn't want to run properly. It found no tablet. I checked the scripts serveral times - at least I called the support. We checked the same scripts again. Nothing wrong. Then I saw the mistake: All clients had their hostnames written with small letters - during my ignite installation I gave the name to thie client with captal letters. So for the script it was a unknown client. Volkmar Never touch a running system Chuck J ================================================================================ Apart from all else, we had two mailing lists both with the words "global" in them. One was for all the IT staff globally, the other was for every single person in the company (globally). Yes, you have already guessed what I did, but that's not all, what I sent out was IT instructions for a topic so had users emaling me back left right & centre. Lucky though I caught my mistake straight after hitting the send button and we managed to find the message in the lotus notes mailbox and remove it. In the end, the message only got sent to my site (biggest global site), but noone else in the world at the other sites got it, thanks to our removal from the mail.box Chuck J Ian Lochray ================================================================================ Fortunately this was on a test server that nobody else was using. I decided to remove stuff from a lost+found directory. I did a cd lost+found and ls showed directories called things like #12345. As root, I did a cd #12345 then an rm -rf *. The cd took the #12345 as a comment and put me in root's home directory of /. Bye-bye machine. Chuck J ================================================================================ Oh no Ian, what a blunder that was. Hope you had a laugh about it later. Chuck J Steven E. Protter ================================================================================ A second greatest blunder. I once managed to make my root disk unbootble, while playing around, trying to get an extra disk into vg00. The disk itself was probably dead and in fact died several months later, while not in use. I spent all night on the phone with HP Support, putting humpty dumpty back together again. My Ignite tape had a bad kernel on it generated by my greatest blunder. The system file was corrupt. Turns out this machine won't do an ignite tape boot unless you unplug the fiber card, figured that out six months later. The good news? With support through three hours of hpux -is and hpux -lm we fixed it. No loss of data, no loss of service to users. :-) The lesson learned that if a disk won't joint a volume group, (vgextend I think), check the darned thing out before pulling out sledgehammer commands. Steve Ian Lochray ================================================================================ Chuck, I certainly did have a laugh about it later as it was only a test machine that nobody else was using. I doubt that I wold have been quite so jovial if it had been a production server though. U.SivaKumar ================================================================================ Procura , you are smart :-) No points without matter. :-) Ramkumar Devanathan ================================================================================ I don't know. I deleted /etc/* once. (just a few config files, eh?? nope, had to reinstall the OS);-) And on linux, I tried kill -9 -1 as root. The entire machine froze. had to reboot it. - ramd. Radhakrishnan Venkataramanan ================================================================================ hmm, I was new to NAS, want to configure NAS for 20 workstations which are in production environment.Configured the NAS and pushed some files from NAS to workstations and left.Suddenly got a call saying root filesystem full in all workstations and all their applications running got crashed. I was totally clueless. booted the system in single user mode. removed all the log files still system root filesystem shows 100% usage. then just du on /etc found that /etc/passwd file was 150 MB , it was shock. the file pushed from NAS, had made something wrong and all of the workstations gone down. there was another blunder. I was configuring another root hard disk for the prodcution system.I got the down time from the customer.customer is good enough to gave me the down time at the night , but he told server should be up at any case by morning 5 o clock.I assured him it will available by 1 o clock it self. But really i did nasty thing.there was no mirroring software available on the system. I added the pv into the root vg and did lvlnboot the system gave me error that one anothe root filesystem exsist. then i understood, that the procedure is to create a separate vg and do. but mean while,I have to add one hard disk on the system so we down the system and booted it . the system didn't come up.it was giving unable configure the swap space and going to crash. clueless how system gone down.I couldn't enter in to single user mode also. then i got struck up the problem was with lvlnboot command i gave, which changed the swap and boot area on different disk on the same root vg. thank system went thru recovery cd and i could do lvlnboot and brought the system at 4:45 pm more horrible thing is customer was sitting beside me, he doesn't know that is production was totally down and one engineer is trying to recover it. greatest blunder tempuser::450:20:temporary user:/home/temp:/usr/bin/sh /etc/passwd one live setup and went out. nobody no that passwd file was changed.I was leave for 4 days ,they recovered the system from backup. when came back i was going thru my history and found this. radhakrishnan Ollie R ================================================================================ Hi, When I was a rookie, I was on customer site. I was having problems installing some software because the root disk was full (back in the good old days before LVM). My decision was to move some sections of the filesystem to a second internal disk and create required symbolic links. I moved a few bits around using "cpio -p" including, sadly, the contents of "/etc". Everything worked fine until reboot. Ever seen the message "init not found"??? Wonce I cunnot even spel Administrator - now I are it! Ollie. Dario ================================================================================ Got a page once at 4:00AM about a filesystem almost full. Got up and started working on it without checking if someone else was in the system. I was recalling my commands using ESC-k but my supervisor was removing files in a different directory using rm -r *. The rest is history. Regards, Dario Michael Steele ================================================================================ When I was first starting out I worked for a Telecom as an 'Application Administrator' and I sat in a small room with a half a dozen other admins and together we took calls from users as their calls escalated up from tier I support. We were tier II in a three tier organization. A month earlier someone from tier I confused a production server with a test server and rebooted it in the middle of the day. These servers were remotely connected over a large distance so it can be confusing. Care is needed before rebooting. The tier I culprit took a great deal of abuse for this mistake and soon became a victim of several jokes. An outage had been caused in a high availability environment which meant management, interviews, reports; It went on and on and was pretty brutal. And I was just as brutal as anyone. Their entire organization soon became victimize by everyone from our organization. The abuse traveled right up the management tree and all participated. It was hilarious, for us. Until I did the same thing a month later. There is nothing more humbling then 2000 people all knowing who you are for the wrong reason and I have never longed for anonymity more. Now I alway do a 'uname' or 'hostname' before a reboot, even when I'm right in front of it. Caesar ================================================================================ Hello! When i just begin as a sys admin, i learn how to use UNIX and i learn about the remote connection that you work on your machine but with one command you can work on the other so i try it and like it so one day i was connected to our file server and i didn't saw that i'm on him and wanted to restart my machine i made a reboot and didn't understand why my machine is up? Til peoples start to came and ask questions and then i understand that why my machine is up. Caesar Jerome Henry ================================================================================ Hi, Here is mine. Not so long ago, I learned about RAID system. At that time, I was a little bit confused between RAID 0, 1, 5 and so on, all that seemed to be kind of win 3.11 then 95 then 98, you know, quite the same but slightly different. I was thinking about raid 5, but the only machine I knew that had a raid card was the university server, I had access to (root ! Never do this to a newbie !). From my reading I thought that if 1 HD would be reased, the other(s) would keep the data. To try this, I had a format c: (yes, windows) on the main hard disk... Unfortunatly it was a RAID 0. Guess what remained on re-booting... (Oh so strange, I hear runor coming from the classes...) J Claudio Cilloni ================================================================================ I just started my DBA & system administration career... now I know what kind of... surprises are waiting for me :-) sometimes this forum becomes really fun. Great! Ciao Claudio Chris Vail ================================================================================ remsh DESTHOST; "shutdown -ry 0" Chris Donny Jekels ================================================================================ cat /etc/passwd Geoff Wild ================================================================================ Problem Exists Between Keyboard And Chair: Just did this yesterday: tar cvf - /sapmnt/XXX | tar xvf - Meant to do: tar cvf - /sapmnt/XXX | (cd /sapmnttest/XXX ;tar xvf -) Needless to say, I corrupted most of the files in /sapmnt/XXX Rgds....Geoff Suhas ================================================================================ 1 Imagine what would have happened when, on a Solaris box, while taking backup of ld.so.1, instead of doing "cp", "mv" was done !!! As most of you would be aware, ld.so.1 is the library file that is accesses by every system call. The next 1 hour was sheer chaos .. and worst hour ever experienced!!!! Lesson Learnt: "Look before you leap !!!" 2 Was responsible for changing the date on the back-up master server by nearly a year . That night was a horrifying night of my life. Lesson Learnt : "A typo-error can cost you any-thing between $0 to infinity." Keep forumming !!!! Suhas Steven E. Protter ================================================================================ I wish to revise my entry. No points required. I actually had the audacity to think when my biggest client(nearly $10K spendable after expenses) had a complete failure of his backup system. I thought I could spec the new system, order the parts and get everything working in three days before my vacation. I wasn't wrong. It was working before my vacation. There simply wasn't enough time to test and see if it was reliable. So, first day on vacation, I get a call. The entire system burped and kept booting into the Windows NT blue screen of death. I am now at the client investing a Fathers day(for which I will be compensated for) in doing the job right and adequately testing the scenario. An important part of sysadmin on any OS is knowing when to say no. SEP Gary Cantwell ================================================================================ A trainee student of one of my customers deleted /sbin on a HP-UX 11 system and copied it back in from a HP-UX 10.20 system and tried to deny it... He's no longer a trainee student :-) Gary Oliver Stoklossa ================================================================================ Here's my greatest blunder from my beginnings: I once had to update some patches on a HPUX 11.0 for Unigraphics and there was a patch missing in my server depot. I installed without the missing patch (by deactivating the dependency check in SAM) and it seemed to work fine... Then I had to rebuild the kernel and it always failed because of two unresolved symbols. I did a check in the patch list and found that there were some patches not committed. So I downloaded every patch needed for those (also a small and unimportant patch called PHKL_18543) made a swcopy on the local machine and thought it would be a great idea to reinstall every needed patch + subpatches (by explicitely checking the reinstall button)... I guess you know what followed: I had a couple of hours and a lot of sweat to spend to get the system running again. Now I know ... Hands off the 18543 one, if there's no real need, and I mean REAL ;) Tomek Gryszkiewicz ================================================================================ Trying to remove all hidden files: rm -rf .* Tomek SSP ================================================================================ 1. Instead of "reboot last" . I issued "reboot | last" & that's also with root priviledge. The result is it booted the server without showing me the output of last command. 2. lvreduce the var logical volume in init3 level which resulted in a gr8 mess. Rajkumar Basuveswaran ================================================================================ Wanted to test the newly connected to our NIS master server, I entered this command, tar cvf /etc/passwd /dev/rmt/0m. Guess what, I was working in a DOS command window just few mins before that. My problem ticket box filled up. Phone calls too! Raj Tim Sanko ================================================================================ I hired a young fellow to be my caddy. I was hoping to pass on my knowledge and towering competence(Is it deep enough) His mistakes are legendary. Tripping and pulling out powerplugs, fibre cables, and then he asked for a really significant raise, I actually have snickered and commented negatively. I forgot shutting down wrong servers, reloading the 11.0 LITS patch. He fell into a brocade switch and we got to replace many gbics and fibre channel cables. I once merely set off a fire suppressant system by fogging a lens many years ago when trying to see if the dim led was on. YLTan ================================================================================ We have two cdrom drive mounted side by side. Both are use by different server. In a mid of rush, I put in a CD in the wrong drive and try to mount that CD in another using "mount /dev/dsk/c1t2d0 /CDROM" and it keep saying "Device Busy". PANIC!!! thinking my server have broken, I called HP for help, only to discover the CD is in the wrong drive....how embarrassing.!! Balaji N ================================================================================ hmm.... nice thread. once was asked to delete a few home directories from our main server for a project. started deleting them. Halfway throug found that the list contained those users / home directory to be preserved and the rest to be deleted. Horrified, started restoring the same from backup and could finish it with out anyone noticing it. Till date, nobody except me and a fellow sys admin knows that. -balaji Experience is a comb which nature gives when you are bald. - A chinese proverb. YLTan ================================================================================ I got another one; Trying to be helpful....I use a find . -name *.log -exec rm -f {} \; to rid all unused log files in apps temp and log dir. but I got a bit creative and put this in root cronjobs and guess what!! the next day, some very angry DBA come banging...cos it removed all Oracle database re-do log files. Spend the rest of the weekend restoring database....:( Evert Jan van Ramselaar ================================================================================ Biggest blunder I kind of had to blame myself for, being part of a team, was not making a boottape for a production system without a mirrored rootdrive. Took us a day to completely restore the system when the drive crashed. :( Alexander M. Ermes ================================================================================ Hi there. Trying to fix a new database on a production system. Creating tables on .... production database. Cost me 16 hrs to restore and a nice speech from my boss. Rgds alexander M. Ermes SSP ================================================================================ Sorry Guys , it should be instead of "last reboot" I tried "last | reboot" . Actually the intention was to grep the reboot in the output of last. But was a real mess after trying thsi command. Steve Coates ================================================================================ My boss needed some patches on his workstation. I came in early to get it out of the way. After the patches finished I rebooted the system. For some reason I did not use the xterm that I installed the patches in. Well as luck would have it the one I used was logged into a customers system that handled worldwide production. And a long time ago (20 yrs) I did an rm -r in the root directory. RolandH ================================================================================ Instead of using *extendfs* command I have used *newfs* on my file system (screaming)Oh shit - can anybody tell me where my last ignite tape is ???!!!. Roland Cole L. ================================================================================ $ rm -rf * oh shhhh....., Please get the backup take. Gene Kornacki ================================================================================ Mine had to be while looking at the Dev DB Server console and seeing that it was hung I flipped the switch on the Production DB Server and stood there wondering why the console didn't go blank. Massimo Bianchi ================================================================================ Hi, i had to change the netmask to 25 server, mixed hpux and windows. rebooted, checked all - O.K. It was sunday On mondays customer complains that cluster where doing strage things... some saw the propres nfs share, some other not. I spent the evening rebuilding cluster configs, because it stores the netmask value in the binary file, damn ! Massimo ZH. Fragon ================================================================================ My root's home directory is set to /. When I'm a beginner I get none root access to the system. And there is chance that the system administrator went away form his PC for a monent and a telnet session still on with root login. I want a user with root permission so I make: #useradd -d / tmproot And this make system crash(that's really unexpected). It's under 10.20. Another: #cd /tmp #ls ... mfg1 ... I want to remove this /tmp/mfg1, so I type: #rm -r /mfg1 OK, /mfg1 is the ERP DB directory... Paula J Frazer-Campbell ================================================================================ Scene Two K class server side by side logged into backup server telnet to live to check a setting forgot to exit and wished to reboot backup :- shutdown -r now Many cries from outside of the server room as the live system with 650+ users trundled around on a 6 way 8 gig K class reboot - this is measuded in days not mins. Paula Basheer ================================================================================ As a New HP Admin, 1) Didn't create Backups, ignites or mirros for 1 year. 2) Learnt after system crashed and now i do regular backups/ignites 3)In a sql live database, used update clause without where condition. Basheer Tim Sanko ================================================================================ "Could you give me a hand, this should only take a minute" San guy to HP admin. "We won't change a thing with your HPs." Young SAN wizard removes a cable, and increases bend slightly while tidying up. Openview starts sending pages servers start crashing. Proiduction servers can't find 150 volume groups...l San guy says "I didn't do anything." HP's lose disk, tapedrives through SAN. We rediscover all of above. OS rebuild re-import volume groups (this is not a quick response type fix) ioscan, insf. recover from backups as DB is hosed big time... We are back to running. it is 42 hours from the young SAN wizard "I am just straightening up your mess..." Can I get paid overtime for this.? No. doug mielke ================================================================================ I bumped the emergency power off / fire alarm button in a client site's computer room. and learned that computer people can run as fast as any atheletes. doug mielke ================================================================================ ..and I should add, that the operators were running out, while the admins were running in. Q4you ================================================================================ Few years ago, was working on an 10.20 to 11.0 upgrade. We had 8 x 4G disks for primary(4) and mirror(4) in hot swappable jBOD. OS upgarde left system unbootable/panic. The mirror disks were taken out before upgarde for back-out were kept on top the K-class system ( without labels) Guess, what ?! Upon OS upgrade failure ( paniced situation), inserted disks in the wrong order...had taken ignite just before the upgrade but there were 2 more unlabeled tapes suddenly appreared on top of the server. Leanred first rule of SysAdmin : never insert or disconnect anything w/o labels !! Learned second rule of Sysadmin : never make any change w/o good/labeled ignite !! W.C. Epperson ================================================================================ I have sprinklers in my computer room. Zafar A. Mohammed ================================================================================ My patience break-out whenever I type Escape in MS-Windows environment, because I am very much used to vi editor. Even most of the time I lost my typing messages here in the forum. Now, I am dependent on gVim. Zafar Cecil Funderburk ================================================================================ my greatest blunder was getting 2 HP-UX boxes without doing the research in OS for the boxes and not getting the codekey for the software throwing good money out the window. not getting a book and reading what I was really getting into with HP-UX. I did learn something that I can load it, configure it, and get it to connect to the internet with out a web browser so I guess all is not lost yet, E-bay for these 2 headachs LOL . Cecil Tim Adamson ================================================================================ I had a HP Engineer on site to install a heap of hardware in a machine. I shutdown and halted the server, then proceeded to power off the entire cabinet. Pity I was 4 feet out and powered off production cabinet. My excuse - damned lowsy power, we really should have a UPS :p hp_user ================================================================================ One time started a reverse BCV sync on database volumes on a production EMC frame. That caused an 8 hour outage... John Clogg ================================================================================ We had a 996 (HP 3000 equivalent of a T-520). I was planning to add some hardware, and went into the computer room to look into the back of the cabinet to confirm the number and locations of available slots. When I was closing the door, I was having some trouble, because some cables were in the way. While trying to push the cables out of the way, I hit the main power breaker with my toe, and powered down our production box in the middle of the day! I guess I'm not the only one to have this happen, because when we later upgraded to a 997 (T-600), the upgrade kit included a little plastic guard to place over the switch. Trond Haugen ================================================================================ This isn't mine but I think it's a "good" one. Back in the days when open system was a hot thing I heard about a system administrator that did "chmod -R 777 /usr" because he wanted an open system. (Hint: SUID?) Regards, Trond Isralyn Manalac ================================================================================ There was a big scheduled change. I felt ill a couple of hours before the change. Went ahead with it anyways. I decided to prepare a script to automate the filesystem extensions (we still didn't have OnlineJFS license back then). Ran the script without checking. Guess what??? Instead of using extendfs, I used newfs! And it was a 100GB filesystem containing production databases! Regards, Isralyn Stephen Keane ================================================================================ Two instances spring to mind 1) We were told that the painters/decorators were coming in over the weekend and that we should remove posters etc from the walls so that they could paint them. Someone (not me) came up the bright idea that we should also remove the whiteboard that was screwed to the wall so they could paint behind it. I watched (more out of boredom than anything else) as two colleagues proceeded to unscrew the bottom right screw, then the bottom left screw and finally the top right screw which were holding the whiteboard to the wall. At this point, the whiteboard was held on to the wall by one screw, which it proceded to pivot around as gravity took over. The whiteboard did a fair impression of a guillotine blade as it sliced the emergency power kill switch clean off the wall, leaving a couple of wires sticking out from a hole in the plaster. Luckily the lights weren't connected to the kill switch, just the remainder of the computer room equipment. 2) A new colleague wrote a script to tidy up log files on a production machine. They of course didn't test it before installing it. They crucial part of the script was along the lines of the following LOG_DIR="/blah/blah/..." cd $LOGDIR rm -fr *.* Needless to say, it was run as root user and root's home directory was naively set as '/'. Jan van den Ende ================================================================================ Well, I also had my "moment of learning". It happened in 1990, but it still makes me feel humble, and ashamed. In those days, I was used to Vaxen of the 8*** series and of the 11/*** series. I was hired to implement a new cluster and train the staff that was to work with it. The cluster was up & running smoothly, hosting some 50+ developers. I started the operator training with the hardware tour. One of the demonstrations was switching the system controls from "Locked" to "Unlocked" Now, _THOSE_ systems were 6*** series. ... and on the 6**** series the position of the switch I thought knew as "Unlocked" was labeled "Init" .... in front of the trainees. Makes one really blush :-( But to this day I maintain, that if, eg, they swap the pedals in a new make of car, no matter how well documented and instructed, the potential for this type of error will lead to that car not being allowed on the road. Proost. Have one on me. jpe renarios ================================================================================ Well, This morning: Trusting my colleagues to care of backup and restore. Result: 900 lines of (new) backup script down the drain. As we say in Holland: "It keeps you off the streets..." Cheers Renarios Devesh Pant ================================================================================ I have had an ocassion when I removed a LUN that had been allocated to a production server That caused a havoc Had to restore 2 TB of oracle files from tapes thanks Devesh Anupam Anshu ================================================================================ I was new into system admin, built a new Libc, moved libc.2 and logged out. Hence couldn't login again. At last single user mode helped me to put the libc back in place. Other things were: # ls /abc/xyz wanted to remove it, # rm -rf /abc It deleted all the directories inside /abc, and only /abc/xyz was un-wanted :-( Cheers, Anupam Anshu Robert Bennett ================================================================================ disk failure on an L. Simple enough - call in to get a replacement and get on to other things. Replacement disk shows up and I just walk over to L and look at disks and pull out the only disk that isn't lit up. Lo and behold I have another failed disk - I actually didn't realize I had shot myself in the foot for an hour or so - multi-tasking at it's best. The kicker is - the L's have the hardware address right on the slot for the disks. So now I always double-check before yanking unlit disks. TwoProc ================================================================================ OK, High on the stupid chart. Many moons ago, I was a C systems programmer - started a new consulting gig, and I was coding a new module into a very large program which didn't have a standard template .h file for starting all modules. So, I started off with a few quick includes ... #include stdio.h #include strings.h #include system.h ... ... Then I needed to start my #defines... first of course - define my basic TRUE and FALSE, but was rapidly typing away as I needed to get this done quickly and show the new team what I could do quickly... so as to make a good impression on the senior programmers and management... #define TRUE 1L (and then I had a brain fart, and I didn't automagically type 0L as usual) #define FALSE 2L Well ... 2 comes after 1 when you're in a hurry right ... right ??? 1... 2... 3... Anyways, it took me a day to find out why I broke the new build... but the NEW GUY was definitely suspect!!! And - THEY WERE RIGHT!!! It was a while before I could laugh that one off. :-) Murat SULUHAN - Kemalist ================================================================================ Hi crontab -r :=) approximately 30 lines I want to edit my crontab but r and e letters are too close in the keyboard :P anyway I listed my crontab with -l option before the -r; therefore crontab -l is good backup solution :=) Sandman! ================================================================================ Here's my two cents... Confusing a production system with a test system and confidently rebooting it during the middle of the day :) cheers! Gavin Clarke ================================================================================ I did that too. I had a telnet session running from the console of a test server to the production server. I ran shutdown -h now, then started to wonder why messages were coming up on the production server console! mirco ================================================================================ a cofee break! M. Borislav Perkov ================================================================================ Hi, In '90 on ULTRIX trying to delete directories and files in /tmp #pwd /tmp/.oracle #cd #rm -r * The brightside is that it was not production server. Regards. Doug Burton ================================================================================ Back in 92 I thought I was on a test box but was on a prod box. Bounced the beast which made the other diskless workstations hanging off of it to go down too..... I bought lots of pizza the next day to pay my way out of that one. Funny how engineers can be just as hungry as IT folks. When bellies are full, all can be forgiven. Steve Lewis ================================================================================ 1. Confused test system window with live and typed in a rush order for two RAF Tornado jet pipes to be sent to Saxa Vord in the Shetland Isles. (For those that don't know, Saxa Vord is an old radar station and I am not sure it even has a runway, let alone any Tornados. 2. Not one of mine but worth a mention so that nobody else does it. In this company a common abbreviation for Image File Server was IFS (warning bells ringing already) The log files for all these were held in a directory for each server under /. This person was told to write a cron job to periodically clear down these directories, hence the terrible command: find /$IFS -type f -mtime +30 -exec rm... Doh! NEVER try to use IFS as a variable. Kent Ostby ================================================================================ 1) Open telnet window to test machine Telnet as root to production machine Wander off for a while to have a Pepsi Come back and decide to reboot the test machine. 2) Type command to back up personal files onto tape but dont hit return. Go to machine and load blank tape. Stop at someone's desk to talk. another engineer load's tape with customer's only copy of data to be troubleshot Hit return on my command to back up files 3) Had a "friend" do this one time: Log into machine. Decide to delete files including . something . Enter command: rm -r * .* reinstall system Mel Burslan ================================================================================ proof that longer workdays are hazardous to the health of not one but many workers and managers: Scenario : Large manufacturer of retail goods, which does about seven digit dollars worth of transactions via EDI, taking orders from customers. 8 PM of a long working day, EDI developer calls the sysadmin and asks the data on dev machine to be deleted and copied over from the live production data (this is 2 hours before the daily backup no less) Sysadmin open 2 telnet sessions to two machines. Machine names differ by one letter in the middle of 8 character sequence, asin a "d" for dev vs. a "p" for production. sysadmin clicks on the windows of presumed dev machine and confidently issues the commands: cd /EDI/data/today rm -r * and realizes the terminal window he was in was the production one 45 seconds into running the rm command. Magical disappearing act of 22 hours worth of real life transaction data. Needless to say it was a sleepless night for us, sysadmins, trying to salvage whatever we could and a long week for managers hashing out how to explain this blunder to the customers. There are two types of sysadmins: One who lost data and one who will. Rick Garland ================================================================================ DBAs were in process of moving database to another directory. Another SysAdm created LV with similar name to original. After data was copied to new LV I was asked to removed the old LV. As stated, the LVs had similar names, LV1.new and LV1.old. I removed the wrong one. Crashed the database. The restore brought back everything but 2 min of data. Michael Steele ================================================================================ I just wanted to bring back one of my favorite threads. I came across it in a search of my name, reread my blunder and noticed that the thread hadn't been updated for a long time. Three cheers for U. SivaKumar for starting this. PS My latest blunder is more of a personal one, getting divorced and having to pay alimony and child support after the divorce. (not the happy camper that I use to be) Asif Sharif ================================================================================ Once working with newly production machines, attached storage VA7410 reset button pressed mistakenly while setting front bezel. OOOPSSSS Storage reseted. spex! ================================================================================ First day on the job: 'crontab -r' instead of 'crontab -e' on our production box. There was no backup of root's crontab, so I had to reverse engineer it from cronlog entries. Rick Garland ================================================================================ Similar to spex. Notice the 'r' key is right next to the 'e' key Want to edit the crontab file - didn't move my finger over far enough. TKeller ================================================================================ Here's my two biggest errors, one HPUX and one RH related. For the HPUX one, I was busy restoring a backup tape that I "thought" was for our production server. About halfway through, the console said I ran out of space in /usr and hence the restore failed. Looking around I start noticing that I've got all these new files. Come to find out, I was restoring Solaris binaries on an HPUX 11.11 machine. Whoops. For the RH one, blew out my /etc/password file. Apparently, some developer had a sense of humor because the next root command I did came back with "How did you log in?" and that's when I figured out what bonehead mistake I had done. I'm sure I'll do some more spectacular stuff soon, hehe... Frank de Vries ================================================================================ This blunder was simple, but effective. I was in charge as a senior sys admin In 1999. I had Created and configured datbases on hpux with the name corep for production server and cored and coret for development and test server. All nicely setup with Mc/Serviguard. In the nightshift there was a file system full on the production server. One of the operators launched a cleanup command find . -name core* -exec rm {} \; The production database whose datafiles and controlfiles all started with corep where gone !!! When Someone complaint that they could not access the database, I was called out in the middle of the night, I could not understand why the database had gone ?? I restored it without wondering why. The next day after some research I figured out the whole story. I never ever create anyting with the name core, and secondly I make it an extra point to document properly on actions to take and not to take when cleaning up. Fabian BriseƱo ================================================================================ Hello. I once Using SAM selected a bunch of disk and deleted them only to find out that they were in use by our SAN on a production server. I work the nigth shift so I had to stay like 20 hours working on recovering the production system. needless to say that my bosses were not very happy with my cute little blunder. Shrikant L. =========================================================================