added disk_active array and error messages