bin/122414: "mount -ur" doesn't work good
Anatoly Borodin
anatoly.borodin at gmail.com
Thu Apr 3 13:50:02 UTC 2008
>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 at 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:
More information about the freebsd-bugs
mailing list