Skip to main content

This is a new website theme. Help me improve it and give your feedback (opens in a new tab).

Sysadmin

Replacing a hard drive

I’ve got a hard drive in a zpool that is starting to show some SMART errors. I’d really like to replace it, but unfortunately it’s in a zpool that is configured to stripe and not mirror. I do not have enough SATA ports or disks to convert it to stripe+mirror.

Currently, it’s not possible to remove a drive from a striped zpool. You have to destroy the pool and start again. This is really annoying.

No more no surprises

Debian has generally always had, as a rule, “sane defaults” and “no surprises”. This was completely shattered for me when Vim decided to hijack the mouse from my terminal and break all copy/paste functionality. This has occured since the release of Debian 9.

I expect for my terminal to behave consistently, and this is broken every time I log in to a Debian 9 system where I have not configured Vim to disable this functionality. I also see I’m not alone in this frustration.

swapoff

When working with datasets from PATHspider it’s very easy to max out your memory. When running an analysis recently, I found my computer locking up and generally being unresponsive. This new machine should be able to cope so this was odd, and then I realised that I was running two jupyter notebooks and the other had previously loaded all the data into memory, so this second one pushed me into swap. 6GB of memory got swapped and then the machine was near useless almost instantly.