Archive for December, 2008
Merry Christmas Everybody
by paul on Dec.24, 2008, under Diary


And So This Is Christmas;
And What Have We Done?
Another Year Over;
A New One Just Begun;
And So Happy Christmas;
I Hope You Have Fun;
The Near And The Dear Ones;
The Old And The Young.
John Lennon, Happy Christmas (War is Over)

Merry Christmas everybody
“It’s beginning to look a lot like Christmas”
by paul on Dec.21, 2008, under Diary
smbclient timeout fix
by paul on Dec.18, 2008, under Computing
Sometimes, I just really hate Windows. Don’t get me wrong, I use a Windows laptop all day long for work and then come home and run Windows for Photoshop etc. in the evenings. It’s just that some things in the Windows environment are plain broken, take virus scanning for example – when an application attempts to read from a file, the on-demand virus scanner must block access to the file until virus scanning has been completed. This works fine for 1K text files, but really slows things down with today’s gigabyte videos, VM filesystem images, etc.
Normally, this is just plain annoying, but when it comes to running backups with BackupPC, the delay is just fatal. The problem relates to how BackupPC uses smbclient to backup Windows. Now smbclient has a hard coded timeout of 20 seconds for access to shares, with no ability to override this timeout from the command line. Hence, backups were consistently failing with “Call timed out: server did not respond after 20000 milliseconds opening remote file”.
Since I’m using Fedora 8 for my backup server, I’ve created updated samba 3.0.33 packages (samba, samba-client, samba-common, samba-debuginfo, samba-doc, samba-swat, libsmbclient, libsmbclient-devel) with the relevant patch, source and spec.





