Tag Archives: 2012

Rebuilding a RAID1 mirror with Truecrypt container

Background

Rebuilding a RAID1 mirror with a Truecrypt container on it may require some additional steps. I guess that since no filesystem is visible on the disk, the RAID array is having trouble determining which disk to rebuild from. If your neighbourhood have had a blackout, the filesystem in the container is probably dirty anyway. This is how I take care of the matter on my external ICY Box IB-RD4320 USB chassi.

The manual for ICY Box IB-RD4320 USB chassi have this table regarding the meaning of the LED lamps on the unit:

Posted in Linux | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Opera: Blocking Flash

I think most people on Linux are aware of what a resource hog Adobe Flash is. Having recently upgraded to Opera-12.11 and at the same time purged almost all my preferences that I’ve had since for Opera version 6, I noticed stability and performance issues.

I run a horrific amount of open tabs and many sites run some sort of Flash for either ads or for your plain enjoyment/annoyance… This hogs the system and makes Opera unstable. Flash is rarely used for navigation, unless the site is lacking in content (my own cynical observation…), which is a reason to not visit it in the first place. Fortunately it’s easy to activate Opera’s On Demand Plugin and On Demand Plugin Placeholder, which blocks Flash until you click on the placeholder to activate it.

Posted in Linux | Tagged , , , , | Leave a comment

Logrotate: duplicate log entry

Cron is mailing me reports like these:

/etc/cron.daily/logrotate:
error: squeezeboxserver:1 duplicate log entry for /var/log/squeezeboxserver/server.log
error: found error in /var/log/squeezeboxserver/server.log , skipping
error: squeezeboxserver:14 duplicate log entry for /var/log/squeezeboxserver/scanner.log
error: found error in /var/log/squeezeboxserver/scanner.log , skipping

As the report tells you, logrotate tries to rotate some logs twice. Not a severe error but annoying enough to be fixed.

Begin by changing directory:

cd /etc/logrotate.d

Search for the filenames mentioned in the error report:

grep "/var/log/squeezeboxserver/scanner.log" *
logitechmediaserver:/var/log/squeezeboxserver/scanner.log {
squeezeboxserver:/var/log/squeezeboxserver/scanner.log {

It seems that squeezeboxserver changed name (this has happened before…) to logitechmediaserver with the latest software upgrade. An old entry still exists in logrotate for squeezeboxserver. Move this file out of the way:

mv squeezeboxserver /tmp/

There, problem fixed!

Posted in Linux | Tagged , , , , , , , , | Leave a comment

Mounting Linux NFS shares in AIX

I found a scribbled note regarding the matter and just had to post this as a reminder:

Mounting an NFS export from a Linux server in AIX will surely fail, unless you run this command before mounting:

nfso -o nfs_use_reserved_ports=1

After this you can proceed with regular mounting.

The explanations I’ve seen to why AIX doesn’t use reserved ports to begin with, vary from AIX follows NFS standard to It’s more secure this way. Whatever the reason behind this, it’s annoying when mounting fails without an abvious and reasonable explanation.

 

 

 

Posted in Linux | Tagged , , , , , , | Leave a comment

Converting files to mp3

I have previously used Lame to convert different file formats to mp3. Having stumbled on some mp4 videos that refused to being converted to mp3 I thought I’d try my luck with FFmpeg instead.

Using FFmpeg was quite easy:

ffmpeg -i infile outffile.mp3

Controlling the bit-rate of the created file:

ffmpeg -b 192 -i infile outffile.mp3

 

The mp4 file was converted to mp3 without problems. Mission accomplished!

Posted in Linux | Tagged , , , , | Leave a comment

WIP: the Crane

At my last visit to Toys ‘R’ Us, I bought two interesting terrain pieces for €6 each. Both are kids toys related to the brand Elias. This post is about the second one, a crane (Elias – Krana i Lunvik).

The crane, still untouched

The problem with both the Elias stuff and Thomas and Friends, is that most (all?) vehicles and many buildings have a face. This is of course a kids toy, so they want to add some character and persona to the stuff so they also can sell movies, cartoons and what not. For me this presents a problem, since I want terrain that looks a bit less like… a kids toy.

Posted in Tabletop | Tagged , , , , , , | Leave a comment

WIP: Carmageddon

All Carmageddon contestants lined up

When I think about future car combats I immediatley think of the PC game Carmageddon, inspired by the movie Death Race 2000. The game is about a stunt car race against both the clock and against the other contestants. There are two ways to win a race; you can be the first to cross the finish line, or you can crush the competition by destroying all your opponents cars.

Posted in Tabletop | Tagged , , , , , , , | 9 Comments

Finished: Silo

It may have taken some time to do it, but now the silo is finally finished.

Overview of the building

 

It’s been great fun building it, and a learning experience. The shed was made of some sort of house from a craft store, with the intention to save me some time. With the protocol in hand, I can see that scratchbuilding it like I wanted it would have taken less time because of the tough material it was made of. Balsa wood or foamboard would have been a better idea. Here are some more pictures from different angles:

Posted in Tabletop | Tagged , , , | 4 Comments

Lost in time

Keeping track of time all over the globe is hard enough. Add to this different timezones which you may not be familiar with, and brain melt-down is imminent.

Use this timezone conversion table to bring order to chaos.

You can also use this nifty tool to compare the time of different destinations all over the world.

Posted in Linux | Tagged , , , , , , , , | Leave a comment

WIP: Rural buildings

At the moment I have several buildings in the pipe. It’s a long pipe though, since one of these buildings was mentionen in this post over a year ago. Here is some work in progress pictures of three of those buildings.

Silo prepared with sand

First out is some pictures of the silo. Nothing fancy here, the parts comprise of:

  • cardboard, corrugated and regular
  • space hulk sprue
  • straws
  • matches and tooth picks
  • CD-tower base
  • scavenged plastic parts

The whole piece was then primed with black spray paint as seen here. I have begun the painting and I think I’ll go for an abandoned look.

Posted in Tabletop | Tagged , , , , , , | 1 Comment