Technical article 127232

The lsof(ADM) command does not work on HTFS filesystems

OpenServer 6.0.0

Written · Last revised

Problem

The lsof(ADM) shows the files that are currently open on your system and what process have them open.

However, running lsof(ADM) is not showing files that are open on my HTFS filesystem.

To demonstrate the issue:
/u (dev/u) is a HTFS Filesystem.
Run the below script:
while true
do
cat /u/testfile
done
Then run "lsof | grep HTFS" and see the following error:
# lsof | grep HTFS
cat       -1074368512   root  cwd          vnode@0xee
cc8c3c: unknown successor@0xeecc8c00; fx=HTFS
sh               1714   root  cwd          vnode@0xee
cc8c3c: unknown successor@0xeecc8c00; fx=HTFS
sh               1720   root  cwd          vnode@0xee
cc8c3c: unknown successor@0xeecc8c00; fx=HTFS
grep            13155   root  cwd          vnode@0xee
cc8c3c: unknown successor@0xeecc8c00; fx=HTFS
lsof            13156   root  cwd          vnode@0xee

Solution

This has been reported to SCO Engineering.

If you want to use lsof with files that currently reside on a HTFS filesystem then you will need to either move the files to a vxfs filesystem or convert the HTFS filesystem to vxfs.

See also

TA127210 - On SCO OpenServer 6.0.0, how can I change a
           Filesystem type of a non-root filesystem on
           the root disk without destroying the other
           filesystems including the root FS? at:
           TA 127210

From the Xinuos technical article database, record 127232. Reproduced with permission. The original is at www.sco.com/ta/127232, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.