Frederik's Blog

Random thoughts of a Linux sysadmin

Browsing Posts in Work

The Artificial Intelligence lab has opened its new website a few days ago. The website is based on Drupal and a PostgreSQL database. Unfortunately, some modules (such as the biblio module) have some bugs when being used with a PostgreSQL datable instead of MySQL, but I hope that the last bugs will be fixed in [...]

Recently I installed a server with a Supermicro SMC2108 RAID adapter, which is actually a LSI MegaRAID SAS 9260. LSI created a command line utility called MegaCLI for Linux to manage this adapter. You can download it from their support pages. The downloaded archive contains an RPM file. I installed mc and rpm on Debian [...]

Today I was getting this error when installing a new kernel on a server running Debian: /usr/sbin/grub-probe: error: Couldn’t find PV pv2. Check your device.map. The error can be reproduce by running the update-grub command. The day before, a new RAID disk was added to this server, so I suspected this could be the cause. [...]

So, how did the almost two month lasting struggle with HP’s support end (see part 1, part2)? On Wednesday evening, I received a mail that a 160 GB SSD was sent and we received it on Thursday morning. Also during the same week, we received a 500 GB 7200 RPM hard drive, which was meant [...]

Two weeks ago I wrote about my struggle with HP’s customer service. To summarize: HP was unable to replace a failed 160 GB SSD because it was not in stock and was unable to provide me any other alternative even after one month. In the end, a 250 GB SSD was promised, but it also [...]

One month ago, on the 25 May, I contacted HP support because a HP EliteBook 8540p (NU486AV) notebook had a broken 160 GB SSD disk (which is actually an Intel X25-M disk). The hard drive was not recognized anymore: both the BIOS and a Linux rescue cd could not find any connected hard drive. This [...]

Two years ago I wrote an article presenting some Linux performance improvements. These performance improvements are still valid, but it is time to talk about some new improvements available. As I am using Debian now, I will focus on that distribution, but you should be able to easily implement these things on other distributions too. [...]

Now that I am on the subject of improving performance, I configured some performance improvements for a Mediawiki installation here: Make sure you run the latest Mediawiki version. Mediawiki 1.16 introduced a new localisation caching system which is supposed to improve performance, so you definitely want this to get the best performance. Create a directory [...]

Today I analyzed disk reads and writes on a server with iotop and strace and found some interesting possible optimizations. With iotop you can check which processes are reading and writing from the disks. I always press the o, p and a keys in iotop so that it only shows me processes doing I/O and [...]

Last week, I set up two dhcpd servers in a fail-over configuration. The goal is that when one DHCP server goes down, the other one takes over so that clients don’t lose their network connection. I read different tutorials on the web, such as this one of a fellow blogger and this documentation published by [...]