December 3, 201411 yr I'm putting this here more of a placeholder. I've already mentioned this to Tom. The mounting of /var/log tmpfs happens to early in /etc/rc.d/rc.S It needs to move after mtab is removed and re-initialized, otherwise it never shows up in the mtab and you cannot resize it. Example: # limetech - move /var/log to a tmpfs + : - mv /var/log/* /var/empty - mount -t tmpfs -o size=128m,mode=0755 tmpfs /var/log - mv /var/empty/* /var/log fi # Done checking root filesystem # Any /etc/mtab that exists here is old, so we start with a new one: /bin/rm -f /etc/mtab{,~,.tmp} && /bin/touch /etc/mtab # Add entry for / to /etc/mtab: /sbin/mount -f -w / + mv /var/log/* /var/empty + mount -t tmpfs -o size=128m,mode=0755 tmpfs /var/log + mv /var/empty/* /var/log While it is mounted, you cannot resize it and that could be an issue during problem solving. unRAID 6 Beta 12 root@unRAIDb:/etc/rc.d# df -vH Filesystem Size Used Avail Use% Mounted on /dev/sda1 65G 372M 64G 1% /boot root@unRAIDb:/var/log# dd if=/dev/zero of=test.dd bs=1024 dd: error writing ‘test.dd’: No space left on device 129005+0 records in 129004+0 records out 132100096 bytes (132 MB) copied, 0.245718 s, 538 MB/s root@unRAIDb:/var/log# df -vH Filesystem Size Used Avail Use% Mounted on /dev/sda1 65G 372M 64G 1% /boot vs unRAID 5.0.6 root@unRAID:/# df -vH Filesystem Size Used Avail Use% Mounted on tmpfs 135M 500k 134M 1% /var/log /dev/sdf1 16G 2.1G 14G 13% /boot
Archived
This topic is now archived and is closed to further replies.