Category: Linux
-
Updating a Stale Arch Linux Installation
I recently had to update a computer that hadn’t been touched in about a year. This brief post is a reminder of how to do the update.
-
RPi NAS: Borg Backup
In this post we’re going to use the software packages Borg Backup and Borgmatic to do system backups of both our Raspberry Pi and our main computer. We’ll also schedule automatic backups using both cron and systemd.
-
RPi NAS: Extras – Building a Case [Video]
We’ve finished setting up our NAS but all the hardware is just laying around, which really doesn’t look very good. So let’s replace the loose hardware with a pretty case.
-
RPi NAS: Extras – Overclocking
Raspberry Pi’s can be overclocked but could overclocking improve the performance of our NAS? In this post we’ll briefly discuss and test overclocking (and fix some problems it caused). First things first: I’m only doing this test out of curiosity. The NAS is already fast enough for my purpose. Even if overclocking gives a speedup,…
-
RPi NAS: Extras – HDD S.M.A.R.T.
S.M.A.R.T. stands for Self-Monitoring, Analysis, and Reporting Technology. Practically that means that HDDs that support SMART can run self-tests to diagnose problems and report them to us. Although Greyhole can provide our NAS with redundancy, i.e. no data is lost if an HDD fails, it’s still good to know how healthy our HDDs are before…
-
RPi NAS: Extras – Power Consumption
The NAS we’re building should always be on so power consumption matters. One of the major reasons for choosing a single-board computer like the Raspberry Pi is it’s low power consumption. But how low is it? And how much power do the storage devices use? Let’s find out.
-
RPi NAS: Extras – Encrypting Samba
By default the data that’s sent to and from a Samba share is not encrypted. In this post we’ll enable encryption by changing a few settings in Samba’s configuration file. Encryption seems important. If the traffic to and from a Samba share is not encrypted, why do we only talk about encryption now, in some…
-
RPi NAS: Extras – Blocking Greyhole while Copying to the NAS
On the Raspberry Pi 4b the bandwidth of the USB bus is limited to 4Gb/s for all USB devices taken together. If you’re copying a lot of data onto the NAS then Greyhole will start moving it while the copy process is still active. This can cause a little congestion on the USB bus, especially…
-
RPi NAS: Extras – Replacing a Drive, Drive Selection and Space Balancing
Sometimes hard drives fail but luckily we’ve set up our NAS so that at least two copies of each file exist. So we shouldn’t have lost any data. To make sure it stays like that we’ll look at replacing the failed drives in this post. Replacing Broken Hard Drives Let’s assume the drive at /nas_mounts/drive3…
-
RPi NAS: Extras – Adding and Removing Users
This is a brief post about adding and removing users to and from our NAS after the initial setup. There are lots of websites showing how to add a user to Samba. I just want to point out something that’s worth knowing when testing the setup of the new user. Adding a User You can…