ncp (novel) wrongly locked

2000-01-20 Thread hawk

I'm using the ncpfs to use space on networked novell drives.  It works 
most of the time with most applications, but it has a tendency to 
halfway dismount itself on errors.  Some I can reproduce, but they all 
involve manually dismounting then remounting.

This time, though, it wrongly concluded that the file system was still 
in use, and refused to dismount.  I could find no way to remount other 
than to reboot!  I searched for lock files in the usual places in /var, 
but found nothing.

Is there some other way to deal with this situation?
-- 



Re: ncp (novel) wrongly locked

2000-01-20 Thread aphro
did u check lsof? it would show if something is using that partition..i
just checked one of my machines and saw that one partition was in use,
just because i started a program on which forked to the
backgroupd(vpnd) it is notusing the partition at all but lsof shows it
as having the mount point as an open file

nate

On Thu, 20 Jan 2000 [EMAIL PROTECTED] wrote:

hawk 
hawk I'm using the ncpfs to use space on networked novell drives.  It works 
hawk most of the time with most applications, but it has a tendency to 
hawk halfway dismount itself on errors.  Some I can reproduce, but they all 
hawk involve manually dismounting then remounting.
hawk 
hawk This time, though, it wrongly concluded that the file system was still 
hawk in use, and refused to dismount.  I could find no way to remount other 
hawk than to reboot!  I searched for lock files in the usual places in /var, 
hawk but found nothing.
hawk 
hawk Is there some other way to deal with this situation?
hawk -- 
hawk 
hawk 
hawk 
hawk -- 
hawk Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
hawk 

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
10:11am up 153 days, 22:15, 1 user, load average: 1.64, 1.53, 1.56


Re: ncp (novel) wrongly locked

2000-01-20 Thread hawk

aphro added,
 did u check lsof? it would show if something is using that partition..i
 just checked one of my machines and saw that one partition was in use,
 just because i started a program on which forked to the
 backgroupd(vpnd) it is notusing the partition at all but lsof shows it
 as having the mount point as an open file

I just tried it, and get 

hawkins:~# lsof /dev/hda2
lsof: can't determine system map file path

The only thing in the man page that seems to be vaguely relevantis

Linux 2.0.3[234] and 2.1.8[89] for Intel-based systems

--I have 2.0.36

I get the same result as user and as root.

rick

-- 



Re: ncp (novel) wrongly locked

2000-01-20 Thread aphro
if you want lsof (its useful) id suggest grabbing it and recompiling it:

lsof 4.43 (latest revision at ftp://vic.cc.purdue.edu/pub/tools/unix/lsof)

you probably need the kernel source for the kernel you are running to
compile it.

nate


On Thu, 20 Jan 2000 [EMAIL PROTECTED] wrote:

hawk 
hawk aphro added,
hawk  did u check lsof? it would show if something is using that partition..i
hawk  just checked one of my machines and saw that one partition was in use,
hawk  just because i started a program on which forked to the
hawk  backgroupd(vpnd) it is notusing the partition at all but lsof shows it
hawk  as having the mount point as an open file
hawk 
hawk I just tried it, and get 
hawk 
hawk hawkins:~# lsof /dev/hda2
hawk lsof: can't determine system map file path
hawk 
hawk The only thing in the man page that seems to be vaguely relevantis
hawk 
hawk Linux 2.0.3[234] and 2.1.8[89] for Intel-based systems
hawk 
hawk --I have 2.0.36
hawk 
hawk I get the same result as user and as root.
hawk 
hawk rick
hawk 
hawk -- 
hawk 

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
12:47pm up 154 days, 52 min, 1 user, load average: 1.34, 1.56, 1.62