meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:fs:zfs [2015/03/25 22:15] – niziak | linux:fs:zfs [2021/05/10 20:42] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ZFS ====== | ====== ZFS ====== | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| Features: | Features: | ||
| * data pools (tanks) are abstraction aggregate block devices (simple, mirror, raidz, spares, etc) | * data pools (tanks) are abstraction aggregate block devices (simple, mirror, raidz, spares, etc) | ||
| Line 6: | Line 11: | ||
| * compression | * compression | ||
| * block level deduplication (not usable for emails with attachment, where attachment are shifted to different offset) | * block level deduplication (not usable for emails with attachment, where attachment are shifted to different offset) | ||
| + | |||
| + | OpenZFS2.0.0 (Dec 20) [[https:// | ||
| + | * Sequential resilver (rebuild only used by data portions) | ||
| + | * Persistent L2ARC cache (survives between reboots) | ||
| + | * ZSTD | ||
| + | * Redacted replication (replicate with some data excluded) | ||
| + | * FreeBSD and Linux unification | ||
| Proposed use case: | Proposed use case: | ||
| Line 22: | Line 34: | ||
| +- log (compression) | +- log (compression) | ||
| </ | </ | ||
| + | |||
| + | ===== ZFS implementations ===== | ||
| ZFS-Fuse 0.7 is using old pool version 23, where [[http:// | ZFS-Fuse 0.7 is using old pool version 23, where [[http:// | ||
| + | [[http:// | ||
| - | [[https:// | ||
| ===== Creating ZFS dataset ===== | ===== Creating ZFS dataset ===== | ||
| - | < | + | < |
| zpool create INBOX /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 | zpool create INBOX /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 | ||
| </ | </ | ||
| - | < | + | < |
| # zpool list | # zpool list | ||
| NAME SIZE ALLOC | NAME SIZE ALLOC | ||
| Line 40: | Line 54: | ||
| </ | </ | ||
| - | < | + | < |
| # zpool status | # zpool status | ||
| pool: INBOX | pool: INBOX | ||
| Line 59: | Line 73: | ||
| Dataset " | Dataset " | ||
| - | < | + | < |
| # zfs list | # zfs list | ||
| NAME USED AVAIL REFER MOUNTPOINT | NAME USED AVAIL REFER MOUNTPOINT | ||
| Line 183: | Line 197: | ||
| |-- | |-- | ||
| |squashfs | |squashfs | ||
| - | |||
| Line 190: | Line 203: | ||
| - | ====== References: | + | |
| + | <code bash> | ||
| + | zfs get compressratio | ||
| + | </ | ||
| + | |||
| + | ===== References: ===== | ||
| [[http:// | [[http:// | ||
| [[https:// | [[https:// | ||