tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Can't umount an Advs filesystem with quotas.
@ 1995-07-10 18:18 sadvary
  0 siblings, 0 replies; only message in thread
From: sadvary @ 1995-07-10 18:18 UTC (permalink / raw)
  To: tru64-unix-managers


It turns out that I had a few 'hung' processes as a result of a power failure
last week.  Just about everybody recommended getting lsof, available
at vic.cc.purdue.edu:pub/tools/unix/lsof, which will display names of files
that are open on the specified filesystem.

It was real easy to build and I'm sure it will come in handy again...

Robert J. Adley sent this rather interesting command...

>1) do an "ps auxwwe| grep usr1"
>   this should show you any processes that are running and have
>   reference to usr1 in the environment they were started up
>   with (note is the bsd ps (no - infront of the auxwwe)).

I'm surprised I lived through that command, wow!  Killer output.  Try it!
I wouldn't advise running it on a Monday morning...  ;-)

Thanks for all the replies!
-Bill Sadvary

--------------original post follows---------------------------------------
This is driving me nuts, help!

The /usr1 filesystem is totally cleaned off except for the quota files..

/# df /usr1
Filesystem        512-blocks        Used       Avail Capacity  Mounted on
usr1_domain#usr1     1395488          64     1366432     0%    /usr1

/# ls -al /usr1
drwxr-xr-x   3 root     system      8192 Jul 10 10:05 .
drwxr-xr-x  26 root     system      8192 Jul  9 01:12 ..
drwx------   2 root     system      8192 Mar 24 15:23 .tags
-rw-r-----   1 root     operator  327680 Jun 27 09:46 quota.group
-rw-r-----   1 root     operator 1777664 Jul  7 17:06 quota.user

/# pwd
/

/# umount /usr1
/usr1: Device busy

/# vquotaoff -v /usr1
/usr1: quotas turned off
/usr1: quotas turned off

/# umount /usr1
/usr1: Device busy

I chmod'ed the quota files so that I could delete them (I'm getting desperate)
but I get a "Permission denied" when trying the rm.  So, I guess even though
the quotas are off the files are still being used?   

Anyone have any clues?  How do I umount this puppy?

-Bill Sadvary
 Dickinson College
 Carlisle, PA

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-07-10 18:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-10 18:18 SUMMARY: Can't umount an Advs filesystem with quotas sadvary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox