Htop I recently have been having significant home server issues, and that's not the point of this - today I learned what D state is when looking at htop. Apparently this means "uninterruptable sleep" and it's a dev's nightmare... Context ... read more →
lsof | grep /tank/nas shows me what is using my nas at any time! read more →
➜ pihole sudo zfs load-key -L file:///path/to/.zfs.tank.key tank/encrypted/vms/arch-sandbox ➜ pihole sudo zfs change-key -o keylocation=file:///path/to/.zfs.tank.key -o keyformat=raw tank/encrypted/vms/arch-sandbox Need to load-key for each individu ... read more →
I have a bash script called syncoid-job which boils down to a barebones - #!/bin/bash syncoid --no-sync-snap --sendoptions=w --no-privilege-elevation $SYNOIC_USER@$SERVER:tank/encrypted/nas tank/encrypted/nas I want to run this script hourly but a ... read more →
zfs list has a flag -r, but if you use zfs driver for docker then you'll get flooded with every docker volume in the world. zfs list -r -d N will limit the dept of the print out, so zfs list -r -d 2 gives me tank, tank/encrypted, tank/encrypted/dock ... read more →
Assuming you have a pool called tank... And assuming you have an encrypted dataset (See Jim Saltar's short intro) Create a group for permissions - in my case I have one called home Then if there's anything in /tank/encrypted his it with chgrp -R ho ... read more →
Intro I use ZFS at home in my homelab for basically all of my storage... Docker uses ZFS backend, all my VMs have their .qcow2 images in their own zfs datasets, and all my shares are ZFS datasets. I love ZFS but my home hardware presently is the opp ... read more →
zfs allow -u $USER clone,load-key,create,destroy,mount,mountpoint,receive,send,rollback,compression,snapshot,hold,keylocation,bookmark tank load-key only needed if using encrypted datasets read more →
I decided that I want to self-host all my docker images for the purposes of regularly rebuilding and security scanning. The first step is to set up a registry, which coincidently enough you can do with a Docker container 😛! Instructions for setting ... read more →
Setup admin External Storage extension Add my nas zfs dataset chown -R www-data:www-data on anything nextcloud uploads to. read more →