I guess I didn't make myself clear.
aardvark mounts /dev/sd1a as /home
aardvark exports /home
badger,cougar,et all mount /home.
JRandomUser is working on badgar. His home directory is
/home/jru.
If I'm on aardvark, and type
lsof /dev/sd1a
I only get entries for processes running on aardvark.
If I explicitly ask for NFS files
lsof -N
I get all the NFS files that aardvark has open from other
servers.
writes:
> >A while back someone was looking for a tool to find what
> >files were open on a device.
> >The answer came back: lsof seemed to be the recommended
> >choice.
> >However lsof doesn't handle nfs files. e.g. I'm on a
> >server; suddenly the disk goes snake. I want to know
what
> >process is doing this.
> It doesn't? Could have fooled me (unless I misunderstand
your question):
> csh 11873 vanepp cwd DIR 18, 5
6656 84022 /staff2 (catacomb-e2.sfu.ca:/staff2)
Quote:> This is one line (that happens to be my home directory)
from the lsof2B (beta)
Quote:> version running on a Silicon Graphics machine. /staff2 is
NFS mounted from
> our Auspex file server. It is possible the non beta lsof
doesn't find this
> (but then it didn't run on the SGI's either). The same
thing works on a Sun.
Quote:> fuser is another way to find the same thing on the SGI,
but it doesn't seem
> to work on the Sun.
> On the same SGI as above.
> fuser catacomb-e2.sfu.ca:/staff2
> catacomb-e2.sfu.ca:/staff2: 11873c 12960c 12960
12744c 5098c 5098 12516c 11946c 11946 25274c
12749c 12959c
Quote:> Peter Van Epp / Operations and Technical Support
> Simon Fraser University, Burnaby, B.C. Canada
--
=> Sherwood Botsford
=> University of Alberta Lab Manager, Space Physics
Group <=
=> tel:403 492-3713 fax: 403
492-4256 <=