|
| 1 | +zfs-linux for Debian |
| 2 | +==================== |
| 3 | + |
| 4 | +1. Feature flags are enabled by default. |
| 5 | +---------------------------------------- |
| 6 | + |
| 7 | +This means that ZoL will now create pools in a way that is |
| 8 | +incompatible with Solaris. If you need Solaris compatibility, |
| 9 | +then create pools like this: |
| 10 | + |
| 11 | + # zpool create -o version=28 tank ... |
| 12 | + |
| 13 | +ZoL remains compatible with all other ZFS implementations derived |
| 14 | +from Illumos. |
| 15 | + |
| 16 | + -- Aron Xu < [email protected]> Sat, 3 Aug 2013 03:23:11 +0800 |
| 17 | + |
| 18 | +2. Use zfs-initramfs with caution. |
| 19 | +---------------------------------- |
| 20 | + |
| 21 | +Debian Installer does not support root installation because zfs udeb |
| 22 | +modules are not built in-tree with the linux kernel, and zfs-initramfs |
| 23 | +is included here for people interested to setup ZFS as rootfs manually. |
| 24 | +Since faulty operation on filesystem can lead to major loss of data, |
| 25 | +please use zfs-initramfs with caution. |
| 26 | + |
| 27 | + -- Aron Xu < [email protected]> Sat, 3 Aug 2013 03:23:11 +0800 |
| 28 | + |
| 29 | +3. Per-zpool config for the periodic-{scrub,trim} cron jobs is supported. |
| 30 | +------------------------------------------------------------------------- |
| 31 | + |
| 32 | + Starting with 2.0.3-3, the auto-scrub and auto-trim cron jobs will use the |
| 33 | + "org.debian:periodic-{scrub,trim}" user properties on the pool's root dataset |
| 34 | + to determine if they should do anything; accepted values are: |
| 35 | + |
| 36 | + * "auto" ‒ same as unset, use default checks |
| 37 | + * "enable" ‒ always scrub/trim automatically |
| 38 | + * "disable" ‒ never scrub/trim automatically |
| 39 | + |
| 40 | + [ Periodic Scrubbing ] |
| 41 | + |
| 42 | + Scrubbing storage pool data is a routine maintenance operation that check all |
| 43 | + data against known checksums, and fix early problems like bit riots. This |
| 44 | + operation is scheduled with low priority in the background, and usually does |
| 45 | + not have big impact on performance when the pool is not heavily utilized. |
| 46 | + |
| 47 | + If you would like to scrub all pools periodically, no operation is required |
| 48 | + as periodic scrub is already the default behavior. Or if you want to |
| 49 | + make it explicit for a zpool named "tank": |
| 50 | + |
| 51 | + # zfs set org.debian:periodic-scrub=auto tank |
| 52 | + |
| 53 | + By default scrub jobs are scheduled on every second Sunday of month. |
| 54 | + |
| 55 | + [ Periodic Trimming ] |
| 56 | + |
| 57 | + Some SSD devices require proper scheduling of TRIM commands to maintain best |
| 58 | + performance. Currently the auto-trim will only trim if the zpool consists of |
| 59 | + /only/ NVMe drives, since some SATA 2 and SATA 3.0 SSDs will hang or crash |
| 60 | + during large TRIMs (See #983086). If your zpools with SATA SSDs had no |
| 61 | + problems trimming before, you will need to run the following command to |
| 62 | + restore the previous behaviour (always trim a pool): |
| 63 | + |
| 64 | + # zfs set org.debian:periodic-trim=enable sata-pool |
| 65 | + |
| 66 | + TRIM jobs are scheduled on every first Sunday of month by default. |
| 67 | + |
| 68 | + -- Mo Zhou < [email protected]> Fri, 2 Apr 2021 12:23:00 +0000 |
0 commit comments