Server updates: Automate it!

A Ubuntu automatic update script with email notifications. We all know that we should keep our systems up to date with security patches and whatnot. This is something that we don't thing about on desktop computers, our operating systems (windows/ubuntu) do it automatically for us, giving us popup notifications when these are ready. But on servers we never log in to get those notifications, as long as things keep running we don't care. You may get hacked one day and become extra vigilant for a while, but that's not going to last, were all lazy....

<span title='2011-07-28 23:52:00 -0700 -0700'>July 28, 2011</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Stephen Nancekivell

mv with progress bar!

Well not quite use rsync with a quick alias. Countless times have i thought this would be nice, and now i have it :) alias rsynccopy="rsync --partial --progress --append -r"alias rsyncmove="rsync --partial --progress --append --remove-sent-files -r"

<span title='2010-09-28 02:26:00 -0700 -0700'>September 28, 2010</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Stephen Nancekivell

Ext3 file fragmentation on my server

So I've got this file server/torrent box running raid 5 with 5 discs ATM, but i  can add more disks to it when it gets full and have been doing so for the last year. Lately we've been noticing terrible performance from it, like browsing a folder (over samba) could take about 30 seconds to load. Looking into this i found that the files being downloaded slowly by the torrents are getting terribly fragmented,  like, from filefrag...

<span title='2010-06-27 03:13:00 -0700 -0700'>June 27, 2010</span>&nbsp;·&nbsp;4 min&nbsp;·&nbsp;Stephen Nancekivell