I have a 300gb external HDD that I am trying to partition entirely for FreeBSD, then format with UFS filesystem. I am using
What does this mean, exactly? The message is being generated from here:
https://github.com/freebsd/freebsd-src/blob/main/sbin/tunefs/tunefs.c#L599
Presumably, the requested journal doesn't fit into a single contiguous region, maybe because of interspersed superblock backups? Is this avoidable? ...and does it even matter?
newfs -j
option to enable Soft Updates + Journal, but getting the warning message "Journal file fragmented" after the format is complete.
Code:
# gpart show /dev/da0
=> 40 625142368 da0 GPT (298G)
40 625142368 1 freebsd-ufs (298G)
# newfs -m 1 -j /dev/da0p1
Warning: changing optimization to space because minfree is less than 8%
/dev/da0p1: 305245.3MB (625142368 sectors) block size 32768, fragment size 4096
using 489 cylinder groups of 625.22MB, 20007 blks, 80128 inodes.
with soft updates
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,
...
621017472, 622297920, 623578368, 624858816
Using inode 4 in cg 0 for 655589376 byte journal
newfs: Journal file fragmented.
newfs: soft updates journaling set
What does this mean, exactly? The message is being generated from here:
https://github.com/freebsd/freebsd-src/blob/main/sbin/tunefs/tunefs.c#L599
C:
/*
* Try once through looking only for large contiguous regions
* and again taking any space we can find.
*/
if (contig) {
contig = 0;
disk.d_ccg = 0;
warnx("Journal file fragmented.");
continue;
}
Presumably, the requested journal doesn't fit into a single contiguous region, maybe because of interspersed superblock backups? Is this avoidable? ...and does it even matter?