Q: How do I fix errors like
“pid 2352 (smbd), uid 21 inumber 3006 on /: filesystem full” that appear in the logs?
Q: Why is my / file system full?
A: There are a few reasons why this happens. You should read this FAQ completely, determine why you are getting the error and then select the method to fix it that makes you happiest.
One common reason is accidental sharing of /mnt directory. /mnt is part of the root ( / ) file system and should never be shared! All shares should be created below /mnt, ( e.g., /mnt/YourStuff ). If you make this mistake, Windows will show the total size of the root file system ( / ), not your drive and your free space will equal that reported for /.
These things can happen regardless of how you are running or have installed XigmaNAS if you have created shares above /mnt/.
Solution: Either do not share /mnt, and/or disable Samba Recycle Bin in WebGUI Tab> Services > CIFS/SMB > Shares.
Wait, I was smart, I didn't share /mnt or enable Recycle Bin, or AFP and I am not running a Nightly Build, but I am still getting file system full errors, why? Because some file has gotten so big that it's using up all the space on / or you've installed extensions / packages on “Embedded” or “Live USB” instead of using “Full”. This problem is most common when you run “Live CD” “Live USB” or “Embedded” platforms because they run from a small RAM disk, but you may also eventually run out of space, even with a “Full” install. It happens even though you are not deliberately saving data to /, because the system still uses / for various purposes. The most common cause is large log files created in /var/log. You can use FIND to determine what files are growing too large:
find / -type f -size +8192 -ls -xdev
Once you find it you can take steps to fix the problem.
Here are 4 typical solutions:
Variable: clog_logdir Value: /mnt/data/logs Description: Log files location.
|Advanced||Basic XigmaNAS Tune-up||⇒188.8.131.52|