linux

Undeleting an open file by inode

At a customer today I was confronted with a situation where VMware ESX processes had log-files open that were already deleted. This can happen when logrotate was incorrectly configured, or when operational staff removed big files to clean up diskspace quickly.

However when the file is still open, you can remove the file-entry (link) to the inode, but the diskspace will not become available until all kernel references to the inode are gone (and a process having the file open counts as a reference too).

Killing the VMware processes that had the file open was not an option since we just wanted to truncate the file without impacting the guests.

My rationale for the Nokia E71

Last week I bought a Nokia E71, a few days before the iPhone 3G was available in stores. You may think I must be crazy for not giving into Apple, but I have my reasons.

I had the following list of requirements:

  • Full keyboard (and not an on-screen keyboard)
  • OS that I could develop for (Symbian ?)
  • Not based on Windows
  • Needed Wifi, GPRS, UMTS
  • Wanted an SSH client (preferably putty)
  • USB connection and bluetooth
  • Small enough to fit well in my pocket

Firefox 3 memory usage

As a fervent user of tabs in my browser, this article caught my attention. It explains in great detail all the different changes and improvements to Firefox that affect its memory usage.

At some point you start to wonder how it could have gotten this worse, but it usually takes a big swing in one direction to get corrective actions and a joint focus on what was neglected.

Addicted to Wii

After 2 months of having a Wii, I can admit that I am a bit addicted to it. But not in a way that one would expect though. I don't play that many games even though I did collect a few (= 7).

I try to use the Wii daily for 5 minutes of Wii Fitness and once a week I play some more tennis to try to reach my old hi-score of 2209 points. (I dropped to 2105 :-/)

We also like to follow-up on the voting channel and see how we did and vote for the new questions. It is a quick 2-minute break twice a week and it is fun to see what your partner and others think about silly questions.

Improving Putty settings on Windows

Since I started contract work for a new customer and have been offered a Windows Thinkpad to connect to the internal network, I have been looking at ways to make my life more comfortable. Putty is now my window to the world work so let's look at how I can make Putty nicer to work with by tweaking its configuration.

PS: Some of these options work equally well for Putty on Linux, put there is little use for that combination.

Red Hat Partner Summit, Malaga, ES

Location: Hotel Torrequebrada, Avenida del Sol, 29630 Benalmádena, Malaga, ES
URL: http://www.europe.redhat.com/mktg/partnersummit/

CentOS on your laptop

The reasons for CentOS on your server seem compelling, but the same reasons apply for a desktop or your laptop. Especially for people that require a stable environment and have no need to a (bi-)yearly upgrade that may break or turn your world upside down.

As more people buy laptops instead of desktop systems, and because laptops come as a collection of hardware, it would be nice if we, the CentOS community, would actively start documenting our experience with CentOS on our laptops.

OBEX for dummies

On Linux it was never that easy to access your phone's memory, especially not using bluetooth. For a few years I had been using obexftp for this, but pushing files one by one was far from simple.

As a result if I needed a picture from my phone's memory, I either send it from the phone to my CentOS. This works fine for a single file, but is tiresome for a collection. Or (and this is the default at my place) let Brenda's thinkpad synchronize the new photos from my cellphone.

This is very convenient, because Brenda takes care of the photo-collection housekeeping anyway ! (thanks hon)

Skype plugin for pidgin: real soon now ?

My periodic search for a Skype plugin for pidgin brought up the following link:

http://code.google.com/p/skype4pidgin/

Haven't figured out how to make it work, though. No documentation, little source-code and only a pre-built library to chew on.

Laptop memory usage

A week ago I visited MediaMarkt looking for some money to spend (and in the same throw improve my own life). There was this amazing deal to buy 2x 1GB DDR2 laptop-memory for only 77€. Faster than my laptop needs, but it happens to work flawlessly.

I always felt that my laptop could use more memory since I have this bad habit to use Firefox tabs as permanent memory. If I stumble upon interesting information but have limited time to read it, I just open a new tab to continue surfing.

Call for participation on mksysb

Ask any AIX system administrator and they will tell you that Linux is not ready for the real work. Many reasons are given, but one of recurring technical reasons is that there is no mksysb for Linux.

mksysb on AIX is a tool to do an (online) backup of your system in order to do a bare metal restore. It produces a bootable medium (tape, image, DVD) that restores the system partitioning/LVM configuration and restores the original filesystems for disaster recovery.

I defeated Viagra

A month ago I reported my defeat in the Viagra showdown, but apparently nothing is set in stone because recently I defeated Viagra! Hah!

Next target is Arjan van de Ven :-)

T-DOSE 2007 is dead, long live T-DOSE 2008.

T-DOSE 2007 is over, and it was good. It could have been great if more people attended and I think the lesson for T-DOSE is that more advertising is needed. And maybe that will lead to more presentation tracks so that even more people are interested in coming.

But the organization was perfect, the location superb and the people the max. So next year you cannot miss out.

Thanks to everyone who made it happen.

Defeated by Viagra

I noticed this post on Linux Weekly News where Dave Jones is twice as effective as Viagra. So like any curious individual, I wanted to see how I would score against Viagra, and the results clearly show I have failed :-/

But at least I do better than Natalie Portman ;-)