Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2024 23:26:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 279308] mdmfs does not work as documented
Message-ID:  <bug-279308-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279308

            Bug ID: 279308
           Summary: mdmfs does not work as documented
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com

https://man.freebsd.org/cgi/man.cgi?query=3Dmdmfs&sektion=3D8&apropos=3D0&m=
anpath=3DFreeBSD+14.0-RELEASE+and+Ports
Say:
> Create and mount	a 16 megabyte malloc-backed file system	on /tmp	 using
>       the  /dev/md1  device;  furthermore,  do	not use	soft-updates on	it=
 and
>       mount it	async:
>
>	     mdmfs -M -S -o async -s 16m md1 /tmp

But soft updates enabled and no "async".


# mdmfs -M -S -o async -s 16m md1 /media

# mount
/dev/md1 on /media (ufs, local, soft-updates)

# 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)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20

# mount -v
/dev/md1 on /media (ufs, local, soft-updates, writes: sync 2 async 0, reads:
sync 3 async 0, fsid 1572526616e23f74, vnodes: count 2 )

# uname -a
FreeBSD rimwksv 14.1-STABLE FreeBSD 14.1-STABLE RIM_WKS amd64


Also, IMHO, -t should be forced for all memory backend mount points.

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



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