/etc usage > 100%

Status
Not open for further replies.

robfantini

Cadet
Joined
Aug 10, 2012
Messages
3
Hello
We upgraded to FreeNAS-8.3.0-BETA1-x64 (r12054) from the last 8.2 [ I forget the exact version ] , using install cd and choosing upgrade.

Now /etc :
Code:
[root@freenas] ~# df /etc
Filesystem 1K-blocks Used Avail Capacity  Mounted on
/dev/md0        4663 4569  -278   106%    /etc


So to fix this I assume we should:
1- backup our config
2- reinstall
3- restore config.

Or is there a way to increase the size of /etc ?

Rob

ps : thank you for FreeNas.
 

robfantini

Cadet
Joined
Aug 10, 2012
Messages
3
OK I found files which could be removed.
Code:

[root@freenas] /etc/local/proftpd# du -sh /etc/local/proftpd
2.5M    /etc/local/proftpd
[root@freenas] /etc/local/proftpd# ls -lh
total 2585
drwxr-xr-x   2 root  wheel   512B Aug  7 21:01 ./
drwxr-xr-x  23 root  wheel   1.5k Aug 14 13:33 ../
-rw-r--r--   1 root  wheel   1.3M Aug  7 21:01 blacklist.dat
-rw-r--r--   1 root  wheel   1.3M Jul 23 20:09 blacklist.dat.sample
-rw-r--r--   1 root  wheel   7.0k Aug  7 21:01 dhparams.pem
-rw-r--r--   1 root  wheel   7.0k Jul 23 20:09 dhparams.pem.sample


so about 50% of /etc disk usage was at /etc/local/proftpd

Code:

[root@freenas] /etc/local/proftpd# df /etc
Filesystem    Size    Used   Avail Capacity  Mounted on
/dev/md0      4.6M    4.5M   -278k   106%    /etc
[root@freenas] /etc/local/proftpd# rm blacklist.dat.sample dhparams.pem.sample

[root@freenas] /etc/local/proftpd# df /etc
Filesystem    Size    Used   Avail Capacity  Mounted on
/dev/md0      4.6M    3.2M      1M    76%    /etc


Also is /etc/local/proftpd needed at all?
 
Status
Not open for further replies.
Top