HP notes

ftio and cpio

HP has a poor implementation of cpio - allowing a largest blocksize of 5k. However, they have their own "ftio" which offers larger size. It's fast - 6 hours with cpio takes 90 minutes with ftio - however it isn't exactly the same as cpio.

> example backup:

# find .$i -mountstop -print | tee -a $bkuplog | \ 
>         ftio -ocvx -B 32k /dev/rmt/2mn

note

in addition, ftio writes three end-of-file markers for each mount point backed up. If 22 mount points are backed up, the last mount point begins at tape label 66.

e.g.

# mt -t /dev/rmt/2mn 66
# ftio -idmvc -B 32k /dev/rmt/2mn "var/adm/messages*"

Mounting an Oracle CD

Just in case you ever have to install Oracle on HP. These instructions for mounting the CD-ROM are new with HP-UX 10.20 and 11.0. They are expected to be carried out as root.
  1. Start the pfs mount daemon
    # nohup /usr/sbin/pfs_mountd &
    
  2. Start the pfs daemon
    # nohup /usr/sbin/pfsd &
    
  3. Add a line of the following form to the pfs specific file /etc/pfs_fstab
    [CD ROM device file] [mount point] [filesystem type] [translation method]
    
    e.g.
    /dev/dsk/c5t2d0 /cdrom pfs-rrip xlat=unix 0 0
    
    The third entry indicates that the CD-ROM to be mounted is in IS09660 format with Rockridge extension and the remaining data indicates the correct unix translation method.
  4. Insert the CD into the tray and run the following to mount it.
    # /usr/sbin/pfs_mount /cdrom 
    
The /cdrom directory should now show a lower-case listing of the directories and files on the CD-ROM. The mounted CD-ROM should appear as another read-only file system.