Archivo del Autor: carlosap

Remove all ZFS snapshots

#!/bin/bashfor snapshot in `zfs list -H -t snapshot | cut -f 1`dozfs destroy $snapshotdone

Mbuffer

https://everycity.co.uk/alasdair/2010/07/using-mbuffer-to-speed-up-slow-zfs-send-zfs-receive/ http://www.polyomica.com/improving-transfer-speeds-for-zfs-sendreceive-in-a-local-network/ https://www.commandlinefu.com/commands/view/13582/backup-to-lto-tape-with-progress-checksums-and-buffering

Builing ZFS on Raspberry Pi 3 running Rasbpian

Introduction This is a tutorial for building and installing the latest release version (0.7.3 as of writing) of «ZFS on Linux» on a Raspberry Pi 3 running Raspbian Stretch. Specifically, we’ll be building the dkms version of ZoL, which saves you the hassle of re-compiling the kernel modules after every kernel update. Even though ZoL… Leer más »

nginx monitoring prtg

If you’re merely interested in recording the connection information from the status page, you can use the embedded variables that the status module exposes, and format them for consumption by the HTTP Content sensor directly in the NGINX configuration: location /prtg { return 200 [$connections_active][$connections_reading][$connections_writing][$connections_waiting]; access_log off; allow x.x.x.x/y; deny all; } Reference: https://nginx.org/en/docs/http/ngx_http_stub_status_module.html

zfs replicate

https://github.com/leprechau/zfs-replicate/blob/master/zfs-replicate.sh