root@mowa219-gjp4-8570p-freebsd:~ # gpart show da4
=> 34 30375869 da4 GPT (14G)
34 2014 - free - (1.0M)
2048 30373855 1 freebsd-ufs (14G)
root@mowa219-gjp4-8570p-freebsd:~ # newfs /dev/da4p1
/dev/da4p1: 14831.0MB (30373848 sectors) block size 32768, fragment size 4096
using 24 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
super-block backups (for fsck_ffs -b #) at:
192, 1280640, 2561088, 3841536, 5121984, 6402432, 7682880, 8963328, 10243776, 11524224, 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360, 21767808, 23048256, 24328704, 25609152, 26889600,
28170048, 29450496
root@mowa219-gjp4-8570p-freebsd:~ # tunefs -p /dev/da4p1
tunefs: POSIX.1e ACLs: (-a) disabled
tunefs: NFSv4 ACLs: (-N) disabled
tunefs: MAC multilabel: (-l) disabled
tunefs: soft updates: (-n) disabled
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) 6400
tunefs: optimization preference: (-o) time
tunefs: volume label: (-L)
root@mowa219-gjp4-8570p-freebsd:~ # tunefs -j enable /dev/da4p1
Using inode 4 in cg 0 for 33554432 byte journal
tunefs: soft updates journaling set
root@mowa219-gjp4-8570p-freebsd:~ # tunefs -n enable /dev/da4p1
tunefs: soft updates remains unchanged as enabled
root@mowa219-gjp4-8570p-freebsd:~ # tunefs -p /dev/da4p1
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) enabled
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) 6400
tunefs: optimization preference: (-o) time
tunefs: volume label: (-L)
root@mowa219-gjp4-8570p-freebsd:~ # mkdir -p /tmp/stress
root@mowa219-gjp4-8570p-freebsd:~ # mount /dev/da4p1 /tmp/stress
root@mowa219-gjp4-8570p-freebsd:~ # lsblk da4
DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT
da4 0:147 14G GPT - -
<FREE> -:- 1.0M - - -
da4p1 2:63 14G freebsd-ufs gpt/FreeBSD /tmp/stress
root@mowa219-gjp4-8570p-freebsd:~ # stressdisk run /tmp/stress
2021/10/16 02:44:52 loaded statsfile "stressdisk_stats.json"
2021/10/16 02:44:52
Bytes read: 1138476 MByte ( 62.69 MByte/s)
Bytes written: 462840 MByte ( 13.24 MByte/s)
Errors: 0
Elapsed time: 399.871µs
2021/10/16 02:44:52 No check files - generating
2021/10/16 02:44:52 Writing file "/tmp/stress/TST_0000" size 1000000000
2021/10/16 02:45:52
Bytes read: 1138476 MByte ( 62.69 MByte/s)
Bytes written: 463432 MByte ( 13.23 MByte/s)
Errors: 0
Elapsed time: 1m0.001338897s
2021/10/16 02:46:29 Writing file "/tmp/stress/TST_0001" size 1000000000
2021/10/16 02:46:52
Bytes read: 1138476 MByte ( 62.69 MByte/s)
Bytes written: 463988 MByte ( 13.22 MByte/s)
Errors: 0
Elapsed time: 2m0.002278775s
2021/10/16 02:47:52
Bytes read: 1138476 MByte ( 62.69 MByte/s)
Bytes written: 464562 MByte ( 13.22 MByte/s)
Errors: 0
Elapsed time: 3m0.015306996s
2021/10/16 02:48:13 Writing file "/tmp/stress/TST_0002" size 1000000000
…