HP-UX File systems


Local filesystems

HP-UX 9.x

by default installs a single filesystem for /usr, /var and /tmp. The /tmp directory should be cleaned on a daily basis by some scavenger local admin shell script. Edit /usr/spool/cron/crontabs/root to contain
0 3 * * * /opt/bin/scavenger -t+1 /tmp/ >/dev/null
which will cleanup at 3 AM.

HP-UX 10.20/11.x

by default installs filesystems on different logical volumes
/       /dev/vg00/lvol3 
/stand  /dev/vg00/lvol1
/var    /dev/vg00/lvol8 
/usr    /dev/vg00/lvol7 
/tmp    /dev/vg00/lvol4 
/opt    /dev/vg00/lvol6 
/home   /dev/vg00/lvol5
The /tmp filesystem should be cleaned on a daily basis, use
crontab -e                     # or: vi /usr/spool/cron/crontabs/root
0 3 * * * /opt/bin/scavenger -t+1 /tmp/ >/dev/null
to specify cleanup at 3 AM by some scavenger local admin shell script.

Remote filesystems

are defined to share user, data and scratch files as well as applications. They are mounted via the autofs (HP-UX 10.x/11.x) or the older automount (HP-UX 9.x) mechanism.
Configuration files are:
Last update: 22-Feb-2010, M.Kraemer