I am facing a problem with sudo command.
Whenever i am executing the command "visudo" i am getting the error "visudo: write error: No space left on device".
but i have checked on my Solaris Box [SunOs 5.8] everything is ok, i have enough free space on my box, and also have enough free INODES.
When i use " vi " command to open the sudoers file, its accessible, but not able to do any changes in the sudoers file.
I have attached the screen shot of the required commands and output.
Please find the attached file, for your reference.
I think this is because when you create a filesystem by default there is a 5% space reserved only for root. Your / filesystem is now 95% so you reached that limit.
Two options:
Modify the 5% with tunefs, look for the minfree parameter (only temporary solution). to see the actual value do: