If an ext3 filesystem has no space left on it, will a read operation still succeed?
|
feedback
|
|
Read ( The filesystem itself should be fine but certain programs might start to fail if they need to write to the partition that is full. So it always best to monitor the amount of free space on filesystems. Also note that the FS is not completely full usually when filled with users data since root has 5% reserved. So you can still log in as root and perform some operations that require write access. The reason for this is so programs running as root won't fail when a user fills up the space. | |||||||||||||||||
feedback
|
|
Low level read will still work, however a lot of tools you use to look at files (e.g editors) create a backup of the file. The backup will fail if there is no space... Likewise for any tool that write to a log file. | |||
|
feedback
|
|
I'm not sure you ask because you observed that behavior or if it is just a theoretical question. Anyway, assuming a read operation failed on a full ext3, one possible explanation might be the file system and its journal are full so the OS can't update the file meta data and precisely its access time. The read might fail in such a situation if access time isn't disabled. I have no ext3 to test this so don't take this as a fact, just a wild guess. | |||
|
feedback
|