Ability to Increase /var filesystem size

Status
Not open for further replies.

Wasurerarenai

Dabbler
Joined
Jun 28, 2011
Messages
15
Since /var is an md device generated on bootup, its size should be configurable via a variable saved in the FreeNAS database. It would be nice to have a advanced option to change the /var filesystem size on bootup. This would likely need an entry in the FreeNAS DB to stay persistent across upgrades.

Here is a page on FreeNAS 7 that allowed you to modify the var FS size on start via a rc.conf variable. This variable should have been read on start by a script using the mdconfig command that created the md device used for the /var ramdisk.
http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=63&t=448

See bug report for details:
http://forums.freenas.org/showthread.php?1790-FreeNAS-8.0.1-BETA4-collectd-stats-daemon-filling-var-with-zfs-snapshots-statistics

Here is a case where increasing the /var size would be beneficial for the user:
Users gets cron emails every 5 minutes about the "Reporting" page's graphing tool failing. Caused by /var filesystem full. Increasing /var space to accommodate collectd stats for new snapshots would help unbreak the graphing tool.
http://forums.freenas.org/showthread.php?1061-Cron-Emails-every-5-Minutes&highlight=%2Fvar+filesystem+full

Thanks,
Mike
 
Status
Not open for further replies.
Top