kern/85464: Cannot unmount file-backed disk imported from NFS or SMBFS

Andrey Simonenko simon at comsys.ntu-kpi.kiev.ua
Tue Aug 30 08:40:17 GMT 2005


>Number:         85464
>Category:       kern
>Synopsis:       Cannot unmount file-backed disk imported from NFS or SMBFS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 30 08:40:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Simonenko <simon at comsys.ntu-kpi.kiev.ua>
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:

FreeBSD 5.4-STABLE i386

>Description:

Cannot unmount file-backed disk imported from NFS or SMBFS:

1.	Create file-backed disk on the server, put it on exported
	file system by NFS or SMBFS.

2.	On a client mount exported NFS or SMBFS file system.

3.	Run mdconfig to attach file-backed disk from mounted NFS or
	SMBFS file system and mount it (I worked with UFS file-backed
	disks).

4.	Then try to unmount file-backed disk.

The kernel shows following messages and refuses to unmount it:

For SMBFS:

Aug 30 10:04:27 comp1 kernel: fsync: giving up on dirty: 0xc149db58:
tag devfs, type VCHR, usecount 4, writecount 0, refcount 4, flags (VV_OBJBUF),
lock type devfs: EXCL (count 1) by thread 0xc111e780 (pid 555)
Aug 30 10:04:27 comp1 kernel: dev md0c

For NFS:

Aug 30 11:15:11 pm514-9 kernel: fsync: giving up on dirty: 0xc1a2f210:
tag devfs, type VCHR, usecount 3, writecount 0, refcount 4, flags (VV_OBJBUF),
lock type devfs: EXCL (count 1) by thread 0xc12d9480 (pid 492)
Aug 30 11:15:11 pm514-9 kernel: dev md0c

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list