Pages

Showing posts with label HP-UX. Show all posts
Showing posts with label HP-UX. Show all posts

Thursday, May 28, 2015

Extend a VXFS filesystem in HP-UX with LVM

Today I needed to extend a VXFS filesystem in HP-UX with LVM. The first thing I did was to figure out the logical volume, the volume group and the size of the volume:

# mount
...
/u04 on /dev/vg02/u04 ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40020003 on Thu May 28 11:11:30 2015

Thursday, November 14, 2013

plex in RECOVER state, subdisk in RELOCATE state

After a 'crash' plexes were in RECOVER state and subdisk in RELOCATE state (the customer updated and rebooted his storages online which causes Veritas to fail).
The system was a HP-UX 11.31. The situation was like that:

Tuesday, January 22, 2013

Disable automountd in HP-UX

To disable automountd in HP-UX configure the file /etc/rc.config.d/nfsconf and change the value for the AUTOFS parameter from 1 to 0 first:

# vi /etc/rc.config.d/nfsconf
...
#AUTOFS=1
AUTOFS=0
...


Wednesday, May 9, 2012

Thursday, March 1, 2012

Display HBA and WWN in HP-UX

First display the available HBA's installed in your system:

# ioscan -kfnC fc
Class I  H/W Path     Driver S/W State   H/W Type     Description
====================================================================
fc    0  0/3/0/0/0/0  fclp   CLAIMED     INTERFACE    HP AD355-60001
                         /dev/fclp0
fc    1  0/3/0/0/0/1  fclp   CLAIMED     INTERFACE    HP AD355-60001
                         /dev/fclp1
fc    2  0/7/0/0/0/0  fclp   CLAIMED     INTERFACE    HP AD355-60001
                         /dev/fclp2
fc    3  0/7/0/0/0/1  fclp   CLAIMED     INTERFACE    HP AD355-60001
                         /dev/fclp3

Monday, February 13, 2012

Monday, November 28, 2011

Available, used and free memory in HP UX

To see how much memory is consumed in HP UX use swapinfo:

# swapinfo -tam
            Mb      Mb      Mb   PCT  START/      Mb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev       16368    1252   15116    8%       0       -    1  /dev/vg00/lvol2
reserve       -   15116  -15116
memory    16354   15707     647   96%
total     32722   32075     647   98%       -       0    -

Monday, July 25, 2011

Obtaining NIC/LAN information in HP-UX

First find out which devices are available, by which dirver it is used, hardware path etc:

# ioscan -fnClan
Class     I  H/W Path       Driver   S/W State   H/W Type     Description

==========================================================================
lan       0  0/4/2/0        iether   CLAIMED     INTERFACE    HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan       1  0/4/2/1        iether   CLAIMED     INTERFACE    HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan       2  0/6/0/0/0/0/0/0/0/0  iether   CLAIMED     INTERFACE    HP AD337-60001 PCIe 1000Base-T Dual-port Adapter
lan       3  0/6/0/0/0/0/0/0/0/1  iether   CLAIMED     INTERFACE    HP AD337-60001 PCIe 1000Base-T Dual-port Adapter


Configuring NTP in HP-UX

Assuming 192.168.1.1 is your local NTP server, then you need to edit /etc/rc.config.d/netdaemons first. Add your NTP server to NTPDATE_SERVER and change the value for XNTPD from 0 (zero) to 1 (one):

Thursday, February 10, 2011

HP9000: Booting from CDROM

I have here a small HP 9000 machine which I need to reinstall. The installed Operating System is a HP-UX 11.31 which is messed up. I have no access to the MP via LAN, so I used the serial console. I connected the MP to my Solaris machine and started tip:

# tip hardwire