Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2008 15:30:15 -0800
From:      Bill Campbell <freebsd@celestial.com>
To:        freebsd-questions@freebsd.org, Kris Kennaway <kris@FreeBSD.org>
Subject:   Re: Unable to unmount idle filesystem on 6.2
Message-ID:  <20080111233015.GA20696@ayn.mi.celestial.com>
In-Reply-To: <4787BBDB.3070608@bitfreak.org>
References:  <47871856.2070505@bitfreak.org> <47874B18.5020408@FreeBSD.org> <4787BBDB.3070608@bitfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 11, 2008, Darren Pilgrim wrote:
>Kris Kennaway wrote:
>>Darren Pilgrim wrote:
>>>I'm unable to unmount an idle filesystem (or even drop it to
>>>read-only):
...
>>># umount -f /usr/ports
>>>umount: unmount of /usr/ports failed: Device busy
>>>
>>># mount -o ro /usr/ports
>>>mount: /dev/da0s1fp2: Operation not permitted
>>>
>>># uname -r
>>>6.2-RELEASE-p8
>>
>>Strange, can you break to DDB and do 'show lockedvnods'?
>
>I don't have the necessary options compiled into the kernel.  I'll 
>build a kernel with the KDB and DDB options and hope the problem 
>recurs.

Have you tried ``lsof /usr/ports''? to see what process(es)
are using that device?

Bill
--
INTERNET:   bill@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

If the government can take a man's money without his consent, there is no
limit to the additional tyranny it may practise upon him; for, with his
money, it can hire soldiers to stand over him, keep him in subjection,
plunder him at discretion, and kill him if he resists.
	Lysander Spooner, 1852



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080111233015.GA20696>