md_size of /var mount to small
[2010/11/21 12:09:22, 0] modules/vfs_posixacl.c:168(smb_ace_to_internal)
unknown tag type 64
[2010/11/21 12:09:22, 0] lib/util_tdb.c:521(tdb_wrap_log)
tdb(/var/db/samba34/locking.tdb): expand_file write of 8192 bytes failed (No space left on device)
Where can i increase the md_size of the /var mount.
How can i disable the debug.log
I must delete the /var/log/debug.log before copying files.
The debug.log grows to fast and the /var mount gets out of space.
#1 Updated by Anonymous almost 11 years ago
The system is unable to rotate debug.log fast enough. Given the environment that we're running in, we likely should be using fifolog and a more carefully tuned syslog.conf file. Between the two, that would solve the problem completely. However, this tweaking will take a little time to implement.
In the rest of this comment, I've assumed that you've done 'mount -uw /' before starting and a 'mount -ur /' afterwards.
/var defaults to 20MB, which should be big enough for most people. However, the /var/log/debug.log problem means it is likely too small. To fix that, cd /conf/base/etc and edit syslog.conf and newsyslog.conf to remove the 'debug.log' lines. killall -1 syslogd after you're done. This is a band-aide to allow things to be better for the moment. I'd then remove /var/log/debug.log after a few seconds (to give syslogd a chance to restart: it usually restarts right away, but sometimes can be delayed). No reboot will be necessary, but mount -ur / at this point is recommended for safety.
If 20MB isn't enough, then you can change this size. /conf/base/var/md_size contains a file that has the block count for /var. You'll have to 'mount -uw /' before editing this file and reboot afterwards. This comes out of memory, so be conservative.
Finally, I'm not sure why the nsswitch messages are filling up debug.log now...