diff --git a/comments/posts/2021-02-07-storage-setup/1_amine@tray.io.md b/comments/posts/2021-02-07-storage-setup/1_amine@tray.io.md new file mode 100644 index 000000000..0f75cb9d3 --- /dev/null +++ b/comments/posts/2021-02-07-storage-setup/1_amine@tray.io.md @@ -0,0 +1,33 @@ +--- +from: Amine Hmida +date: Sat, 23 Apr 2022 07:52:11 +0100 +source: email +--- + +Hi Garrit, + +Thanks for sharing your setup. I am currently in a similar journey and +evaluating different options. + +My main concern with this setup is the extensibility aspect, If I need to +add more storage space in the future. + +I was considering btrfs in raid 5 mode but it seems like it's not super +stable yet. + +I am also considering the use of backblaze for offside backup. I had an +excellent experience with them so far. + +This, brings me to the encryption configuration. I assume you are using +dmcrypt in both locations? Another option would be restic for offsite so +you don't have to worry about unlocking the remote disk if system reboots. + +A final consideration with this is about monitor the health of your disks. +I wonder what solution you opted for (chat bot / gotify + script that +checks SMART metrics?) + +Sorry for the long comment =F0=9F=98=85 +I just loved your post and wanted to share some thoughts/questions. + +Kind regards, +Amine diff --git a/comments/posts/2021-02-07-storage-setup/2_garrit@slashdev.space.md b/comments/posts/2021-02-07-storage-setup/2_garrit@slashdev.space.md new file mode 100644 index 000000000..e4f469129 --- /dev/null +++ b/comments/posts/2021-02-07-storage-setup/2_garrit@slashdev.space.md @@ -0,0 +1,71 @@ +--- +from: Garrit Franke +date: Sat, 23 Apr 2022 13:05:51 +0200 +source: email +--- + +Hi Amine, + +thanks for your kind words! + + > My main concern with this setup is the extensibility aspect, If I need + > to add more storage space in the future. + > + > I was considering btrfs in raid 5 mode but it seems like it's not super + > stable yet. + +I've been very impressed by how well Btrfs handles extensibility. I have +recently thrown new drive at my setup. The main advantage of Btrfs in my +opinion is that you can combine any drives you want, as opposed to ZFS, +where you're more or less constrained to drives of the same size. + +Regarding RAID: You're right, RAID 5 is unfortunately still unstable. +After one year, I don't regret going with RAID 1 (mirrored) for my +setup. If you have 4+ drives, I suggest you take a look at RAID 10, +since it gives you some advantages over RAID 1. + + > I am also considering the use of backblaze for offside backup. I had an + > excellent experience with them so far. + +Great choice! Backblaze has been rock solid for me as well. And they're +cheap too! + + > This, brings me to the encryption configuration. I assume you are using + > dmcrypt in both locations? Another option would be restic for offsite so + > you don't have to worry about unlocking the remote disk if system +reboots. + +This is a topic I haven't dipped my toes into yet. All of my drives are +unencrypted. Thanks for your recommendations though, I will have to look +those up! Are you using restic in your current setup? + + > A final consideration with this is about monitor the health of your + > disks. I wonder what solution you opted for (chat bot / gotify + script + > that checks SMART metrics?) + +Some time ago I wrote up a blog post about using healthchecks.io with +docker: + +https://garrit.xyz/posts/2021-05-15-healthchecks-io-with-docker + +healthchecks.io is really neat, since *you're* responsible of pinging +their endpoints, as opposed to *them* pinging a HTTP-endpoint. This +enables you to write Cron-scripts that frequently check the health of +your drives. I'm currently using this script to check my drives: + +``` +#!/bin/bash + +curl -fsS -m 10 --retry 5 -o /dev/null $PING_URL/start + +output=$(btrfs scrub start -B /var/anubis) + +curl -fsS -m 10 --retry 5 --data-raw "$output" -o /dev/null $PING_URL/$? +``` + +maybe it's of use for you? + +Thanks again for your comment! + +Best +Garrit \ No newline at end of file diff --git a/comments/posts/2021-09-13-fixing-an-annoying-cron-gotcha/1_mike@obsolete29.com.md b/comments/posts/2021-09-13-fixing-an-annoying-cron-gotcha/1_mike@obsolete29.com.md new file mode 100644 index 000000000..0cba5f4f9 --- /dev/null +++ b/comments/posts/2021-09-13-fixing-an-annoying-cron-gotcha/1_mike@obsolete29.com.md @@ -0,0 +1,12 @@ +--- +from: Mike Harley +date: Fri, 01 Oct 2021 07:55:23 -0400 +source: email +--- + +Hiya. Just wanted to drop a quick note and let you know that your post +helped me get my backup cron job working so thanks for posting it! + +-- +Mike Harley +https://obsolete29.com \ No newline at end of file