Date: Tue, 30 Aug 2005 11:36:40 +0300 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/85464: Cannot unmount file-backed disk imported from NFS or SMBFS Message-ID: <20050830083640.GA277@pm514-9.comsys.ntu-kpi.kiev.ua> Resent-Message-ID: <200508300840.j7U8eGol094422@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050830083640.GA277>