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
- -B for blocksize
- tape device is a parameter (no > )
- -x option required to back up device special files
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.-
Start the pfs mount daemon
# nohup /usr/sbin/pfs_mountd &
-
Start the pfs daemon
# nohup /usr/sbin/pfsd &
-
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.
-
Insert the CD into the tray and run the following to mount it.
# /usr/sbin/pfs_mount /cdrom