Unable to unmount idle filesystem on 6.2
Darren Pilgrim
freebsd at bitfreak.org
Fri Jan 11 10:56:21 PST 2008
Kris Kennaway wrote:
> Darren Pilgrim wrote:
>> I'm unable to unmount an idle filesystem (or even drop it to
>> read-only):
>>
>> # mount
>> /dev/da0s1a on / (ufs, local, noatime)
>> devfs on /dev (devfs, local)
>> /dev/da0s1d on /var (ufs, local, noatime, soft-updates)
>> /dev/da0s1e on /usr (ufs, local, noatime, soft-updates)
>> /dev/da0s1fp1 on /usr/obj (ufs, asynchronous, local, noatime)
>> /dev/da0s1fp2 on /usr/ports (ufs, local, soft-updates)
>> /dev/da0s1fp3 on /usr/src (ufs, local, soft-updates)
>> /dev/da0s2d on /data (ufs, local, noatime, soft-updates)
>>
>> # fstat -f /usr/ports
>> USER CMD PID FD MOUNT INUM MODE SZ|DV R/W
>>
>> # umount /usr/ports
>> umount: unmount of /usr/ports failed: Device busy
>>
>> # 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.
More information about the freebsd-questions
mailing list