NFS misbehavior

September 27th, 2016

Today I had a peculiar problem with an NFS mount.

A linux client and a solaris client were connecting to the same NFS mount.

The solaris client was updating files properly, no sweat.

However, the linux client wasn’t syncing the changes.

I tried to remount the NFS mount on both clients to no avail.

Found some instructions about opening / closing the path itself to “flush” it, so I bojangled together this C program to handle it:

#include <fcntl.h>

int main()

int mypath;
mypath = open( “/put/your/path/to/flush/here/”, O_RDWR );
close( mypath );

I saved this as ‘nfs.flush.c’

You’ll need something like gcc to compile that (search for gcc package install instructions for your distribution, if necessary):

# gcc nfs.flush.c -o nfs.flush

You should see no errors. If errors appear, you’ll have to debug them yourself.

I ran this on the linux client system, no return results, and yet the NFS files were finally synchronized.

Hope this helps!


The Higgs-field of Installations, or Installing Something from Nothing

July 29th, 2012


I had a bit of an endeavor this week, with a well beaten, custom built desktop, containing a LanParty nF4 motherboard.

The desktop’s Windows XP installation was clogged and miserable, with a good five or six years worth of software-related fudge building up in it.

When asked if the user preferred sticking with Windows, or if they would like to give Kubuntu a shot, they wanted to go with Kubuntu.

The void approaches:

I burned a DVD of the latest 12.04 Kubuntu release, and stuck it in the wonderful old IDE DVD-Rom, happily using the boot menu to choose to boot off the DVD.

Hmm, went straight to Windows…well I can’t install from Nothing here, so what do I do?

Click here to continue reading this article…

Installing Electric Sheep in RHEL 5/CentOS 5

April 27th, 2012


A description of the “Electric Sheep” software, per it’s original author:

“First created in 1999 by Scott Draves, the Electric Sheep is a form of artificial life, which is to say it is software that recreates the biological phenomena of evolution and reproduction though mathematics. The system is made up of man and machine, a cyborg mind with 450,000 participant computers and people all over the Internet.
This is a distributed system, with all participating computers working together to form a supercomputer that renders animations, called “sheep”, that everyone sees. The human participants guide the survival of the fittest by voting for their favorite animations in the flock. You can join this project by downloading the Electric Sheep Screensaver.
Each participating computer follows mathematical instructions, Draves’ Flame algorithm, to render its own piece of the larger work, as seen in the table at left. The images are sent back to a central server which compresses them into animations which are sent back out to the viewers. The website shows the family tree for each sheep, including its parents and offspring, and viewers can track family resemblance. The artist’s Clade series shows a selection of family members in high resolution.”

Also, a Wikipedia entry for it can be viewed here:

The inspiration of such a project is likely due to the following book originally published in 1968:

“Do Androids Dream of Electric Sheep?”, by Philip K. Dick

The same book also inspired the popular 1982 movie, “Blade Runner”.

Crossing over:

Just in case anyone else is brave (or crazy) enough to attempt to pull this off using Cent OS 5, or Red Hat Enterprise Linux 5 (tested on 5.6 x86_64)…

The instructions for the Linux build here, are specifically designed for Ubuntu more or less: Linux Client Instructions

Today, we’re going to make a cross over of these instructions, and apply them to RHEL5/CentOS5.

Click here to continue reading this article…