Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2007 10:08:10 GMT
From:      Gergely Czuczy<czuczy@publishing.hu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/110213: umount doesn't deallocate the md device after an mfs filesystem
Message-ID:  <200703121008.l2CA8Ajp090094@www.freebsd.org>
Resent-Message-ID: <200703121010.l2CAA2te060664@freefall.freebsd.org>

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

>Number:         110213
>Category:       misc
>Synopsis:       umount doesn't deallocate the md device after an mfs filesystem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 12 10:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Gergely Czuczy
>Release:        6.2-RELEASE-p2
>Organization:
Publishing Factory
>Environment:
FreeBSD luggage.in.publishing.hu 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Fri Mar  9 17:22:07 UTC 2007     toor@blinky:/usr/obj/usr/src/sys/LUGGAGE  i386

>Description:
i've played around with mount_mfs to have a pre-prepared mfs filesystem at startup, and i mounted/umounted it several times after modifying my fstab.
at the end, the result was:
# ls -lh /dev/md*
crw-r-----  1 root  operator    0, 103 Mar 12 09:55 /dev/md0
crw-r-----  1 root  operator    0, 104 Mar 12 09:55 /dev/md1
crw-r-----  1 root  operator    0, 105 Mar 12 09:55 /dev/md2
crw-r-----  1 root  operator    0, 106 Mar 12 09:55 /dev/md3
crw-r-----  1 root  operator    0, 107 Mar 12 09:58 /dev/md4
crw-------  1 root  wheel       0,  56 Mar 12 09:20 /dev/mdctl
# mount
/dev/md4 on /mnt/keys (ufs, local, soft-updates)

seems like after umounting an mfs filesystem the system leaves some dirt behind.
>How-To-Repeat:
1) make an mfs entry in fstab
2) mount it and umount it
3) repeat 2) a few times
4) check the allocated md devices by ls /dev/md*

>Fix:
i don't have.
but umount should handle it automaticly :)
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703121008.l2CA8Ajp090094>