Disk Full.. runs out of space over time.. any idea?
Posted: Thu Jul 20, 2023 7:56 am
I've have just experienced this problem with firmware 1.5.14 on WS-26-500-DC switch, and the same issue on the 12-250-DC, this is the reason a purchased a new 26-500-DC . New configuration.. after a while saving the configuration it throws this error. Is there a way of fixing without rebooting the switch?
this is the error..
Warning: file_put_contents(config.json.new): failed to open stream: No space left on device in /www/config.php on line 776
Warning: rename(config.json.new,config.json): No space left on device in /www/config.php on line 780
Press ENTER to confirm configuration change. If you do not hit enter within 60 seconds the switch will revert to the previous configuration.
mtdblock6 - jffs mount is not full on other switches only 812k used
jffs file list shows only 943k - where is the other data?
After another 2 months of using the switch, after the last reboot - the disk partition has started getting full again showing 40% used so far..
/dev/mtdblock6 4.3M 1.7M 2.6M 40% /jffs
after running du -h in /jffs directory .. I get 919k total used - these values don't match (files and partition usage of /jffs) and in a few months it will run out of space.. the only fix is to reboot the switch again disrupting services.
Any idea's on why this is doing this? I cleared out the log.. no difference.
this is the error..
Warning: file_put_contents(config.json.new): failed to open stream: No space left on device in /www/config.php on line 776
Warning: rename(config.json.new,config.json): No space left on device in /www/config.php on line 780
Press ENTER to confirm configuration change. If you do not hit enter within 60 seconds the switch will revert to the previous configuration.
mtdblock6 - jffs mount is not full on other switches only 812k used
jffs file list shows only 943k - where is the other data?
After another 2 months of using the switch, after the last reboot - the disk partition has started getting full again showing 40% used so far..
/dev/mtdblock6 4.3M 1.7M 2.6M 40% /jffs
after running du -h in /jffs directory .. I get 919k total used - these values don't match (files and partition usage of /jffs) and in a few months it will run out of space.. the only fix is to reboot the switch again disrupting services.
Any idea's on why this is doing this? I cleared out the log.. no difference.