Home
Tech Thoughts
Cancel

How to securely keep a hard drive with bad blocks in a raid array

I’m using a custom-made NAS at home, with two hard-drives of 1 Tb. Some of the partitions of these 2 disks are organized in a RAID-1 setup using dmraid (and the mdadm user-space tool). This morning...

lzop vs compress vs gzip vs bzip2 vs lzma vs lzma2/xz benchmark, reloaded

I’ve had a couple of interesting comments at my last attempt to benchmark those algorithms. So, here is a more complete benchmark, with hopefully more detailed results. Benchmark protocol We are ...

Fixing a locale-archive breakage

The symptoms of the problem If you are greeted with the following errors when trying to use perl: $ perl -e 1 perl: warning: Setting locale failed. perl: warning: Please check that your locale set...

Listening to multi-channel audio with only two speakers in stereo using mplayer

Have you already noticed while listening to multi-channel music with only two stereo speakers with mplayer, how the sound is low? Same thing applies with videos using the AC3 format, often composed...

compiling the nVidia and VirtualBox modules for all available Fedora kernels

I like to keep some old kernel versions around, just in case. The problem is that their manually compiled modules are often not kept up to date by Fedora (notably VirtualBox modules and nVidia’s bl...