[Bug 279308] mdmfs does not work as documented

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 Aug 2024 03:19:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279308

Michael Proto <mike@jellydonut.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@jellydonut.org

--- Comment #1 from Michael Proto <mike@jellydonut.org> ---
I discovered this independently today on my 14.1p3 system and can confirm this
also affects FreeBSD 14.1 and the upcoming 13.4 (confirmed on RC1 image) AMD64
editions when testing from the Live mode of the disc1 CD installer image:


FreeBSD-14.1-RELEASE-amd64-disc1.iso:

root@:~ # uname -a
FreeBSD  14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8
GENERIC amd64

root@:~ # mdmfs -M -S -o async -s 16m md1 /mnt

root@:~ # mount 
/dev/md1 on /mnt (ufs, local, soft-updates)

root@:~ # tunefs -p /dev/md1
tunefs: POSIX.1e ACLs: (-a)                                disabled
tunefs: NFSv4 ACLs: (-N)                                   disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 enabled
tunefs: soft update journaling: (-j)                       disabled
tunefs: gjournal: (-J)                                     disabled
tunefs: trim: (-t)                                         disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  4096
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: space to hold for metadata blocks: (-k)            40
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)                                 



FreeBSD-13.4-RC1-amd64-disc1.iso:

root@:~ # uname -a
FreeBSD  13.4-RC1 FreeBSD 13.4-RC1 releng/13.4-n258234-700ff8f05f08 GENERIC
amd64

root@:~ # mdmfs -M -S -o async -s 16m md1 /mnt

root@:~ # mount
/dev/md1 on /mnt (ufs, local, soft-updates)

root@:~ # tunefs -p /dev/md1
tunefs: POSIX.1e ACLs: (-a)                                disabled
tunefs: NFSv4 ACLs: (-N)                                   disabled
tunefs: MAC multilabel: (-l)                               disabled
tunefs: soft updates: (-n)                                 enabled
tunefs: soft update journaling: (-j)                       disabled
tunefs: gjournal: (-J)                                     disabled
tunefs: trim: (-t)                                         disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  4096
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: space to hold for metadata blocks: (-k)            40
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)

-- 
You are receiving this mail because:
You are the assignee for the bug.