[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Device busy, but lsof doesn't help



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/19/08 14:30, Andrew Sackville-West wrote:
> On Fri, Jul 18, 2008 at 05:57:42PM -0500, Ron Johnson wrote:
>> On 07/18/08 17:39, Eugene V. Lyubimkin wrote:
>> [snip]
>>> To ensure that /data/03 is /dev/sda1.
>> Ah, ok.
>>
>>> May be, try lazy unmount?
>> I want to know what's happening.  Lazy umount is, to me, distateful
>> except when using network services like nfs.
> 
> maybe cd out od /data/03? maybe you have a session somewhere with a
> PWD of /data/03/*? 

lsof would have shown that...

SESSION 1:

me@haggis:~$ cd /data/03
me@haggis:/data/03$

SESSION 2:
$ lsof | grep /data/03
lsof: WARNING: can't stat() ext3 file system /dev/.static/dev
      Output information may be incomplete.
bash      4892         me  cwd       DIR        8,1     4096
  2 /data/03


- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiCXKsACgkQS9HxQb37XmfdlwCePtlsbPjBAgngBkvNigp2EWTo
S3YAnR31CkFtFRpiEApv7h5mCmwHLPzG
=6HES
-----END PGP SIGNATURE-----


Reply to: