Stories from a new Synology user – SHR: the order you add drives still matters!

When creating a new volume, start with the smallest drive first! When expanding capacity by swapping out drives, start with the smallest drive first! Despite the publicized benefits and ease of management of SHR over classic RAID, a under-highlighted problem is that it still requires new drives to be equal to or greater than existing drives. So when creating a volume with mixed-capacity drives don’t think you can just expand the volume in any order you want.
Read more →

Stories from a new Synology user – SSH Keys: wtf, no DSM support?

Wow. Despite the fancy UI fronting pretty serious storage operations beneath, and a whole range of managed packages on offer, I’m amazed there’s no DSM support for ssh keys in 2020. Yes, you can go manually set them up, but sheesh! Offering to enable SSH in the UI, nagging you about having a “strong password”, but not offering to install a key for you is some retro shit.
Read more →

Leap Second

Logged onto a live, but largely unused server this morning to discover puppet running at constant 20% CPU usage. Since no changes had be pushed out by puppet for months I was surprised to see it. Looking at the CPU graphs for the server, the load increase clearly started on the 1 July – the day a leap second was added this year. Clear jump in CPU load when the leap second was added.
Read more →

scp: command not found

Ran into this today which made me scratch my head for longer than it should have: $ scp file.txt remotehost:~/ bash: scp: command not found But seemingly scp is actually installed fine: $ which scp /usr/bin/scp $ scp usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 … [[user@]host2:]file2 Not an obvious solution, but scp was missing from the remote machine, not the local one.
Read more →

VirtalBox Block Devices

On my desktop machine I often run VirtualBox, which gives easy access to other OSs, for instance Windows 7, which I have to sometimes use every few weeks. It’s not an enterprise hypervisor, but it works nicely in a desktop environment. A useful little command, and one I find myself googling for each time I need it, is this: VBoxManage internalcommands createrawvmdk \ -filename ~/.VirtualBox/HardDisks/sdc.vmdk -rawdisk /dev/sdc It enables you to present a block device (e.
Read more →