/dev/sda1 is full, what can I clean?

Got problems with your B2 or B3? Share and get helped!
nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: /dev/sda1 is full, what can I clean?

Post by nobody » 10 Oct 2012, 14:46

True but I hope you agree this problem is easier to debug without 32000 mails in queue...

gonk
Posts: 93
Joined: 30 May 2012, 01:53

Re: /dev/sda1 is full, what can I clean?

Post by gonk » 11 Nov 2013, 12:37

My solution is to have this alias in /etc/aliases

Code: Select all

root:   /dev/null

RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: /dev/sda1 is full, what can I clean?

Post by RandomUsername » 11 Nov 2013, 13:17

Something else to check is the size of the minidlna log file in /var/log. I just noticed the same file has been running since sometime last year and was pretty big. I need to work out how to include it in logrotate.

Gordon
Posts: 1384
Joined: 10 Aug 2011, 03:18

Re: /dev/sda1 is full, what can I clean?

Post by Gordon » 11 Nov 2013, 17:48

gonk wrote:My solution is to have this alias in /etc/aliases

Code: Select all

root:   /dev/null
Yes, but the whole point of these messages is to tell you something is wrong so that you can fix it. Hardly a solution therefore but more of a cover up.

Ubi
Posts: 1547
Joined: 17 Jul 2007, 09:01

Re: /dev/sda1 is full, what can I clean?

Post by Ubi » 12 Nov 2013, 02:36

True but for a zero-conf machine the user is not expected to understand these warnings or be capable to act upon them. When the number of problems resulting from the error reporting are bigger than problems from actual errors it may be better to switch of reporting as default.

gonk
Posts: 93
Joined: 30 May 2012, 01:53

Re: /dev/sda1 is full, what can I clean?

Post by gonk » 12 Nov 2013, 03:22

Gordon wrote:
gonk wrote:My solution is to have this alias in /etc/aliases

Code: Select all

root:   /dev/null
Yes, but the whole point of these messages is to tell you something is wrong so that you can fix it. Hardly a solution therefore but more of a cover up.
It's a better solution that having almost 2 GB of useless chron-relaed mail from rsync jobs.

Gordon
Posts: 1384
Joined: 10 Aug 2011, 03:18

Re: /dev/sda1 is full, what can I clean?

Post by Gordon » 12 Nov 2013, 07:50

Those are not so useless when they contain error messages. Also, why make backups in the first place if you're not interested in the validity of the backup?

Post Reply