www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

The partition is full after a few days.PROBLEM

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
Yhoni



Joined: 19 May 2013
Posts: 31

PostPosted: Fri Dec 13, 2013 8:27 pm    Post subject: The partition is full after a few days.PROBLEM Reply with quote

Hi, I have a problem with the RC2 version, the problem is that I filled the partition where I keep the profile after a while. When finished configuring the profile and occupies 22% after one month is 100% and I no longer have the ability to modify the settings and sometimes I can not access the webinterface.

How I can free up space and keep refilling the partition?.

Thank you.
Back to top
View user's profile Send private message
reaperz



Joined: 13 Apr 2012
Posts: 93

PostPosted: Mon Dec 16, 2013 1:28 pm    Post subject: Reply with quote

If you can access the web interface, then:

1. make a backup of your profile (logs excluded).
2. create new partition ext3 in the space that is available (assuming this is hard disk, you have tens of gigs free space).
3. restore profile to newly created big partition.
4. activate new profile.

done!

Now you have lotsa free space. If needed, you can configure some log rotation:

"Delete the oldest logs"
"Compress the oldest logs"
Back to top
View user's profile Send private message
Yhoni



Joined: 19 May 2013
Posts: 31

PostPosted: Mon Dec 16, 2013 9:49 pm    Post subject: Reply with quote

reaperz wrote:
If you can access the web interface, then:

1. make a backup of your profile (logs excluded).
2. create new partition ext3 in the space that is available (assuming this is hard disk, you have tens of gigs free space).
3. restore profile to newly created big partition.
4. activate new profile.

done!

Now you have lotsa free space. If needed, you can configure some log rotation:

"Delete the oldest logs"
"Compress the oldest logs"


Ok friend, thanks for your help.

Is there another solution without having to create a new partition?
Is it possible to delete the logs without causing system instability?

Thank you.
Back to top
View user's profile Send private message
DrmCa



Joined: 12 Apr 2011
Posts: 218

PostPosted: Fri Dec 20, 2013 12:24 am    Post subject: Reply with quote

You can try to reduce amount of log data by turning off logs that you don't need.
Back to top
View user's profile Send private message
Yhoni



Joined: 19 May 2013
Posts: 31

PostPosted: Mon Jan 06, 2014 9:16 pm    Post subject: Reply with quote

DrmCa wrote:
You can try to reduce amount of log data by turning off logs that you don't need.


Where can I turning off logs? I should use the shell ? .

Mi config:

Quote:
Used storage space: 122M (100%)

x Compress the oldest logs Threshold 60 %
x Delete the oldest logs Threshold 85%
x Stop to log (this option is always active) Threshold %


How can I delete all the logs and free up space? .

Thank you very much.
Back to top
View user's profile Send private message
redfive



Joined: 27 Aug 2009
Posts: 232

PostPosted: Mon Jan 06, 2014 10:03 pm    Post subject: Reply with quote

Hi , all logs are in /Database/LOG/ , eg. you could go in /Database/LOG/ ,
Code:
cd /Database/LOG/

then
Code:
rm -fr 2013

should erase all 2013's log ....without any warranty in case of damage/failure Laughing
greetings
Back to top
View user's profile Send private message
Yhoni



Joined: 19 May 2013
Posts: 31

PostPosted: Mon Jan 06, 2014 10:43 pm    Post subject: Reply with quote

redfive wrote:
Hi , all logs are in /Database/LOG/ , eg. you could go in /Database/LOG/ ,
Code:
cd /Database/LOG/

then
Code:
rm -fr 2013

should erase all 2013's log ....without any warranty in case of damage/failure Laughing
greetings


The folder "2013" is not weight into "/Database/LOG":

Quote:
root@zeroshell LOG> du -hlsc 2013
58K 2013
58K total

and:
Quote:

root@zeroshell LOG> du -h 2013
1.0K 2013/Sep
2.0K 2013/Dec/25/zeroshell
3.0K 2013/Dec/25
2.0K 2013/Dec/23/zeroshell
3.0K 2013/Dec/23
1.0K 2013/Dec/13
2.0K 2013/Dec/24/zeroshell
3.0K 2013/Dec/24
2.0K 2013/Dec/22/zeroshell
3.0K 2013/Dec/22
6.0K 2013/Dec/12/zeroshell
7.0K 2013/Dec/12
28K 2013/Dec/11/zeroshell
29K 2013/Dec/11
50K 2013/Dec
1.0K 2013/Oct
1.0K 2013/Aug
1.0K 2013/Nov
1.0K 2013/Jun
1.0K 2013/May
1.0K 2013/Jul
58K 2013


where are the 122 megabytes occupied? Sad

Zeroshell have other folder "/ DB/_DB.001 /", "/ DB/_DB.002 / ". What is stored in the folders "/ DB/_DB.001 /" / DB/_DB.002 / " ?

Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group