Archive for February, 2010

It seems that several people have been having problems getting Dell OMSA 6.2 to work correctly on CentOS 5.4 x86_64. Specifically, the software does not detect any storage controllers, and therefore also doesn't find any disks. eg.

[root@b034 ~]# omreport storage pdisk controller=0
Invalid controller value. Read, controller=0
No controllers found.

After a little investigation, I found the source of the problem.

Continue reading ‘Dell OMSA on CentOS 5.4 x86_64 – No Controllers found error’ »

I often need to deploy Ruby gems across many CentOS servers. I prefer to use the native OS package management tools (rpm + yum) rather than using Ruby gems.

Here's how to build RPMs from Ruby gems using gem2rpm.

Continue reading ‘Building RPMs from Ruby gems’ »

When creating backups or log files, I like to name the files with a timestamp, ie. the date plus the time.

I use the date command to produce timestamps in the appropriate format, but I find the format specifier a bit long-winded and difficult to remember – is %m minutes or month?

There is a better way… date -I

Continue reading ‘Useful date command format string’ »