I have this question for my internship test:
The server has run out of free space, no new files are being created, the output of df -h shows that there is free space. Describe the reasons for who could have done this?
I answered like this
By default, the ext4 file system reserves 5% for housekeeping free space on the partition. On large disks, this happens a lot. You can change this behavior by saying in the terminal to the mounted partition: tune2fs -m 1 /dev/sda1 where 1 is the amount of reserved places as a percentage (0% is also possible), and /dev /sda1 is the partition to which is to apply the effect is immediate and without reboots. Also after this you can slightly defragment this mounted partition: e4defrag /dev/sda1
They answered like this:
there are 2 more cases when this is possible, they are not opened and removed the reserve from the root does not make sense, since the conditions of the task indicate that "the sit is here"
What are the other two cases?
- linux : Is the iostat -x command enough to estimate the real load on the disk?
- mysql : What is the difference between ticket_id=56412 and ticket_id like '%56412'?
- linux : Tell me how to monitor Internet traffic using Zabbix
- linux : What is the difference between the psql command and the sql command?
- linux : What tools can be used to prepare 6 PCs in the same way?
- linux : Go Install in DockerFile "Could not read username for 'https://github.com"