Page 1 of 1

Problem: disk full & nothing work anymore

Posted: Fri Jun 30, 2006 6:30 am
by msevestre
Hello !

For my first test session of Zm (installed from Ross' LiveCD), I have a problem...

I setup the system on a 8Gb disk (650Mb of SWAP, the rest is for Linux & ZM). PC is 2Gb of RAM and a 1.7Ghz Centrino processor.

I setup an alarm area on a coridor where plenty of people are going through. I didn't set any Purge filter.

Of course, after one day I had plenty of event and ZM console was displaying "Disk=100%". I then guess HDD is full...

I tried to access to full event list of the Monitor: no succes... nothing is displayed (system saty waiting on "Connection on localhost")... then I restarted the system and now I have two problem:
- MySQL daemon cannot be started at boot time (indicated by Verbose mode)
- I do not log into KDE anymore and I have a text boot prompt instead

Is this normal ? How could this be avoided ? How could it be repaired ?

Note: today, it's not very problematic as I am still in test of ZM. I started to setup everything again but I would like to avoid such problem when I will setup the definitive installation (with 10 to 15 cameras) in a near future :)

Matt

Posted: Fri Jun 30, 2006 7:05 am
by cordel
Hi Matt,
There are two solutions.
1 ) Set the purge-when full filter.
2 ) Use a separate partition for events ie. /var should be on a different partition.

Regards,
Corey

Posted: Fri Jun 30, 2006 7:11 am
by msevestre
Hello !
cordel wrote:Hi Matt,
There are two solutions.
1 ) Set the purge-when full filter.
2 ) Use a separate partition for events ie. /var should be on a different partition.

Regards,
Corey
Is it a known problem then ? Anyway, that's the advantage of testing: once we meet the problem, we manage to avoid it in the future !

The problem today is that the disk IS full, and I don't know is something is possible from command line... if yes, I am interested by the way of doing it :)

To finish, I am happy to test ZM in VMWare virtual machine (I use VMWare 5.5 (latest). It support Mandrake 10 & then latest LiveCD from Ross)... it works perfectly and restarting from scratch is very easy ! :)

Matt

Posted: Fri Jun 30, 2006 10:26 pm
by cordel
From the command line you want to go in to the monitor folders an remove some or all of the recorded events, your choice. You need at least 5% (10% prefered) of free space for everything to work properly.

example: rm -fR /var/www/html/events/1/*
Would remove all events for monitor 1.

Regards,
Corey

Posted: Sat Jul 01, 2006 1:58 pm
by msevestre
Hi !

Thanks very much for this information :) I keep in on my desk :)

Matt