This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:storage:zfs [2020/05/07 11:56] gcooper |
computing:storage:zfs [2022/08/01 12:26] (current) gcooper |
||
---|---|---|---|
Line 78: | Line 78: | ||
:!: **Performance really depends on the number of spindles**. | :!: **Performance really depends on the number of spindles**. | ||
- | :!: **Only for VM storage and databases do you need or want to enable sync**. | + | :!: **Only for VM storage and databases do you need or want to enable sync**. If you simply use ZFS without foreign filesystems on it (VMs), ZFS will never corrupt on a crash due Copy On Write. So for regular filer use, disable sync unless you want a maximal security for small files like on a mailserver. |
:!: **Always utilize an SLOG** for your ZIL to improve synchronous write performance. **Database applications, | :!: **Always utilize an SLOG** for your ZIL to improve synchronous write performance. **Database applications, | ||
Line 155: | Line 155: | ||
https:// | https:// | ||
- | A **snapshot** provides a read-only, point-in-time copy of a file system or volume that does not consume extra space in the ZFS pool. The snapshot | + | A **snapshot** provides a read-only, point-in-time copy of a file system or volume that does not consume extra space in the ZFS pool. The snapshot only uses space when the block references are changed. Snapshots preserve disk space by recording only the differences between the current dataset and a previous version. |
:!: A typical example use for a snapshot is to have a quick way of backing up the current state of the file system when a risky action like a software installation or a system upgrade is performed. | :!: A typical example use for a snapshot is to have a quick way of backing up the current state of the file system when a risky action like a software installation or a system upgrade is performed. | ||
A **clone** is a writable volume or file system whose initial contents are the same as the dataset from which it was created. | A **clone** is a writable volume or file system whose initial contents are the same as the dataset from which it was created. |