Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2008 13:47:13 GMT
From:      Anatoly Borodin <anatoly.borodin@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/122414: "mount -ur" doesn't work good
Message-ID:  <200804031347.m33DlDSu012036@www.freebsd.org>
Resent-Message-ID: <200804031350.m33Do21B002459@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122414
>Category:       bin
>Synopsis:       "mount -ur" doesn't work good
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 03 13:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Anatoly Borodin
>Release:        7.0-PRERELEASE
>Organization:
>Environment:
FreeBSD fractal.home 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar 29 17:44:33 EET 2008     anatoly.borodin@gmail.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I use /storage for media storage (mp3 etc):
/dev/ad4s2a             /storage                ufs     ro,acls            2 2
# df /storage/
Filesystem     Size    Used   Avail Capacity iused    ifree %iused  Mounted on
/dev/ad4s2a    116G     61G     46G    57%   10692 15745594    0%   /storage

This partition is being mostly ro. When I need to put some files on it, I use mount -uw /storage. But after some big updates (file copy/move/edit mp3 tags, ~100Mb) the file system doesn't want to go back ro. mount -ur /storage gives:

mount: /dev/ad4s2a : Device busy

and dmesg says:

softdep_waitidle: Failed to flush worklist for 0xc4c8da70

After reboot the filesystem is marked as not clean an is being fsck'ed. The files on it are rather ok IMHO.

# tunefs -p /storage
tunefs: ACLs: (-a)                                         enabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 enabled
tunefs: gjournal: (-J)                                     disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)

>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?200804031347.m33DlDSu012036>