Email or username:

Password:

Forgot your password?
Stefano Marinelli

Enhancing FreeBSD Stability With ZFS Pool Checkpoints

Discover how to enhance the stability of your FreeBSD system using ZFS pool checkpoints, providing robust backup and recovery solutions.

it-notes.dragas.net/2024/07/01

#FreeBSD #RunBSD #ZFS #DataRecovery #BackupStrategies #IT #SysAdmin #NoteHUB

2 comments
david_chisnall

@stefano It's not well documented, but zfs also supports taking atomic snapshots of collections of datasets. The underling snapshot ioctl that the zfs command uses takes an nvlist of snapshots to create.

This means that you don't need pool snapshots to create a consistent atomic snapshot of a set of filesystems and can create a snapshot of a subset of all of your ZFS filesystems (for example, all of the ones that contain system data, but not home directories, allowing you to roll back base-system + ports upgrades, without losing user data).

@stefano It's not well documented, but zfs also supports taking atomic snapshots of collections of datasets. The underling snapshot ioctl that the zfs command uses takes an nvlist of snapshots to create.

This means that you don't need pool snapshots to create a consistent atomic snapshot of a set of filesystems and can create a snapshot of a subset of all of your ZFS filesystems (for example, all of the ones that contain system data, but not home directories, allowing you to roll back base-system...

Lovis IX ♿ :exodus:

@stefano

Very interesting. I was knowing this feature, but without a "guide".

Thanks for sharing.

#FreeBSD #RunBSD #ZFS #DataRecovery #BackupStrategies #IT #SysAdmin #NoteHUB

Go Up