History log of /freebsd-current/usr.sbin/makefs/tests/makefs_zfs_tests.sh
Revision Date Author Comments
# 7e5002e3 08-Nov-2023 Mark Johnston <markj@FreeBSD.org>

makefs/zfs: Add a regression test which checks file access permissions

MFC after: 3 days
Sponsored by: The FreeBSD Foundation


# 9f9d18d6 23-Oct-2023 Mark Johnston <markj@FreeBSD.org>

makefs/zfs: Add a regression test which checks the 'used*' properties

PR: 274613
MFC after: 1 week
Sponsored by: The FreeBSD Foundation


# b6da7f2f 28-Sep-2023 Mark Johnston <markj@FreeBSD.org>

makefs/zfs tests: Add a test case which appends to a file after import

MFC after: 1 week
Sponsored by: The FreeBSD Foundation


# 87534f95 27-Sep-2023 Mark Johnston <markj@FreeBSD.org>

makefs/zfs tests: Run zdb prior to importing makefs-created pools

zdb contains quite a few assertions that can help catch bugs.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 8502144d 17-Aug-2022 Mark Johnston <markj@FreeBSD.org>

makefs tests: Add test cases for handling of multiple staging dirs

Sponsored by: The FreeBSD Foundation


# 582ce32f 17-Aug-2022 Mark Johnston <markj@FreeBSD.org>

makefs tests: Whitespace fixes

Sponsored by: The FreeBSD Foundation


# 0726cde8 16-Aug-2022 Mark Johnston <markj@FreeBSD.org>

makefs tests: Re-enable the ZFS snapshot test

This reverts commit 35b587464afce15ff62600c3499d38cbb5b9f3d5.

PR: 265849
Sponsored by: The FreeBSD Foundation


# 35b58746 14-Aug-2022 Mark Johnston <markj@FreeBSD.org>

makefs tests: Skip a ZFS regression test in CI

It triggers panics after the latest OpenZFS import.

PR: 265849


# 240afd8c 05-Aug-2022 Mark Johnston <markj@FreeBSD.org>

makefs: Add ZFS support

This allows one to take a staged directory tree and create a file
consisting of a ZFS pool with one or more datasets that contain the
contents of the directory tree. This is useful for creating virtual
machine images without using the kernel to create a pool; "zpool create"
requires root privileges and currently is not permitted in jails.
makefs -t zfs also provides reproducible images by using a fixed seed
for pseudo-random number generation, used for generating GUIDs and hash
salts. makefs -t zfs requires relatively little by way of machine
resources.

The "zpool_reguid" rc.conf setting can be used to ask a FreeBSD guest to
generate a unique pool GUID upon first boot.

A small number of pool and dataset properties are supported. The pool
is backed by a single disk vdev. Data is always checksummed using
Fletcher-4, no redundant copies are made, and no compression is used.
The manual page documents supported pool and filesystem properties.

The implementation uses a few pieces of ZFS support from with the boot
loader, especially definitions for various on-disk structures, but is
otherwise standalone and in particular doesn't depend on OpenZFS.

This feature should be treated as experimental for now, i.e., important
data shouldn't be trusted to a makefs-created pool, and the command-line
interface is subject to change.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35248