Contributed by rueda on from the filesystem-asked-questions dept.
Otto Moerbeek (
posted to misc@
a useful summary of the state of play of FFS2
in the 6.7 release (and, to some extent, -current).
In his mail, Otto clarifies some things about the latest release:
- In OpenBSD 6.7, ffs2 is the default for new filesystems during install (with some exceptions).
- In OpenBSD 6.7, if you create a new filesystem manually (using newfs(8)) you will still get an FFS1 filesystem unless you force -O2 or if the filesystem will be larger than 1 TB.
He also points out that this last point has been changed in -current, where newfs will default to ffs2 for all platforms.
Finally, he explains some of the benefits and restrictions of FFS2:
- FFS2 is faster to create (using newfs) and is usually faster to check (using fsck(8), which is run during boot) when compared to FFS1.
- FFS2 uses 64-bit timestamps and block numbers. That means it handles dates after 2038 and much larger partitions.
- Large partitions still require large amounts of memory to check, so create multi-petabyte filesystems at your own peril.
- There is no tool that will convert from FFS1 to FFS2. You will have to back up your data and reformat your filesystems yourself.
(Comments are closed)