diff --git a/primergy-rx300-s8/no-auth.md b/primergy-rx300-s8/no-auth.md index 86b6b00..20256b4 100644 --- a/primergy-rx300-s8/no-auth.md +++ b/primergy-rx300-s8/no-auth.md @@ -10,7 +10,7 @@ ### No access to host system -1. [[access-bios|Enter BIOS]] +1. [Enter BIOS](./access-bios.md) 2. In 'Server mngmt' look for iRMC / Load Default values 3. Set to true 4. Preferably set IPv4, DHCP tends to be spotty with iRMC. diff --git a/zfs/General info.md b/zfs/General info.md deleted file mode 100644 index a725dca..0000000 --- a/zfs/General info.md +++ /dev/null @@ -1,5 +0,0 @@ -default command: -`zpool` -`zfs` - -[[Add cache drives]] diff --git a/zfs/Add cache drives.md b/zfs/add-cache-drives.md similarity index 100% rename from zfs/Add cache drives.md rename to zfs/add-cache-drives.md diff --git a/zfs/auto-snapshot.md b/zfs/auto-snapshot.md new file mode 100644 index 0000000..8fbd39f --- /dev/null +++ b/zfs/auto-snapshot.md @@ -0,0 +1,63 @@ +### zfs-auto-snapshot + +```sh +apt install zfs-auto-snapshot + +zfs set com.sun:auto-snapshot=true +``` + +#### Listing snapshots + +```sh +zfs list -t snapshot +``` + + +If they are not present; here are the respective cron jobs + +/etc/cron.d/ +```sh +PATH="/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" + +*/15 * * * * root which zfs-auto-snapshot > /dev/null || exit 0 ; zfs-auto-snapshot --quiet --syslog --label=frequent --keep=4 // +``` + +/etc/cron.hourly/ +```sh +#!/bin/sh + +# Only call zfs-auto-snapshot if it's available +which zfs-auto-snapshot > /dev/null || exit 0 + +exec zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 // +``` + +/etc/cron.daily/ +```sh +#!/bin/sh + +# Only call zfs-auto-snapshot if it's available +which zfs-auto-snapshot > /dev/null || exit 0 + +exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 // +``` + +/etc/cron.weekly/ +```sh +#!/bin/sh + +# Only call zfs-auto-snapshot if it's available +which zfs-auto-snapshot > /dev/null || exit 0 + +exec zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 // +``` + +/etc/cron.monthly/ +```sh +#!/bin/sh + +# Only call zfs-auto-snapshot if it's available +which zfs-auto-snapshot > /dev/null || exit 0 + +exec zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 // +``` diff --git a/zfs/general-info.md b/zfs/general-info.md new file mode 100644 index 0000000..25fddf1 --- /dev/null +++ b/zfs/general-info.md @@ -0,0 +1,9 @@ +default command: +`zpool` +`zfs` + +[Add cache drives](./add-cache-drives.md) + + +Good resources: +- https://web.archive.org/web/20230101221750/https://pthree.org/2012/12/04/zfs-administration-part-i-vdevs/ diff --git a/zfs/Replace failing drives.md b/zfs/replace-failing-drives.md similarity index 100% rename from zfs/Replace failing drives.md rename to zfs/replace-failing-drives.md