553 Disk full

August 17th, 2009

A customer contacted me today saying that they could not upload files via FTP, as they were getting the following error message:

553 Disk full – please upload later
Disk full – please upload later
Failed [Disk full - please upload later]

I found that PureFTP has a directive in it’s configuration file that stops files from being uploaded when the total disk usage is above a certain amount. The directive is:

MaxDiskUsage 90

To fix the problem, I simply raised that limit, restarted PureFTP and cleared out a few old files that were filling up the disk.

Problem solved!

Very minor outage on Sunday

August 11th, 2009

We had a very minor network outage around 3:55pm on Sunday. A major data center (iPrimus for those who care) in the city (not the one that our servers are in) had a major power failure. The main data link from the data center that we use terminates in to the iPrimus data center, which went down when the power failed. Luckily we use a good data center who has redundant data links. There was a few minutes of downtime while our data centers BGP routers re-routed around the problem, and we were back online again in no time.

mpt-status: monitoring your RAID array

August 11th, 2009

Ever since one of the hard drives in our brand new server failed before it was even in production (good start to a new server!), I have been waiting to monitor the RAID status on our server. I had forgotten all about it until recently, when I stumbled apon a nice little tool called mpt-status.

It was a little bit of a pain to install, but once I got it going, it works perfectly, and puts my mind at east:

[root@mars ~]# mpt-status
ioc0 vol_id 0 type IM, 2 phy, 278 GB, state OPTIMAL, flags ENABLED
ioc0 phy 0 scsi_id 8 SEAGATE  ST3300656SS      HS0A, 279 GB, state ONLINE, flags NONE
ioc0 phy 1 scsi_id 1 SEAGATE  ST3300656SS      HS09, 279 GB, state ONLINE, flags NONE

Perfect!

You can read a quick guide on installing mpt-status at http://www.gladsheim.com/blog/2009/03/13/building-mpt-status-for-centos-52/ . As the article said, I had to install the kernel source but it wasn’t too difficult.