Erroneous XMLUI Caching on DSpace 1.7+

We’ve been using DSpace as an outputs repository at ILRI since 2009, and since then we’ve gone through six major versions of DSpace. Starting with version 1.7 we switched our repository to the newer XML-based user interface (XMLUI), which was much easier to customize than the previous JSPUI and allowed us to have different themes […]

Unsetting GlusterFS volume options

The GlusterFS documentation mentions how to set volume options, but there’s no obvious way to unset them. In the case that you’ve set something like performance.cache-size and you just want to return to the defaults, you need to reset the setting: [root@storage1 ~]# gluster volume reset homes performance.cache-size reset volume successful Hopefully some SEO-fu will […]

systemd service to trim free SSD cells at boot

I mount all ext4 partitions on my solid-state disks with the discard option; this tells the filesystem to use SSD-specific low-level TRIM operations instead of normal erases (which are essentially just block re-writes). As I use my SSDs quite heavily, I like to perform batch discards every so often as well. Here’s a systemd service […]

Fix backlight after resume on Linux 3.8 + Intel graphics

For some reason Linux 3.8 doesn’t resume from suspend properly on my Samsung Series 9 NP900X3C. From the comments on this Arch bug report it seems that the system is actually resuming, but the display back light isn’t coming back on. One user suggested using systemd to run the following script at system resume, /usr/lib/systemd/system-sleep/linux-3.8-backlight.sh: […]

Troubleshooting GlusterFS performance issues

I’m in the middle of a new GlusterFS deployment for our research computing infrastructure (storage of Bioinformatics and GIS data). At first I was just happy to see the huge size of my /home partition when I did df -h, but I quickly found that performance wasn’t quite what I was expecting and I started […]