Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Administering a Workgroup
Managing Disks
Chapter 9876
If the umount fails on any system, run fuser -cu to see if anyone on that
system still has files open, or is working in a directory, under /projects:
fuser -cu /projects
(10.x and later systems)
NOTE fuser will not be aware of files opened in other directories within an
editor.
Step 7. Do this step on the original server, that is the system where the
directory that is to be moved currently resides, in this example,
wsb2600.
Back up /projects.
For example, to back up /projects to the system default tape device:
cd /projects
tar cv .
NOTE In this example, we are changing the file system’s name, as well as
moving it, so tar cv /projects is not the right way to back it up;
specify an absolute path name only if you want tar to recover the data to
that path name.
Step 8. Do this step on the new server, that is, the system you are moving
the directory to, fp_server in this example.
Recover the files onto fp_server; for example,
cd /work/project6
tar xv
This copies the entire contents of the tape in the system default tape
drive to /work/project6.