Write To Ocfs2 Volume gets No Space Error Despite Large Free Space Available
(Doc ID 1232702.1)
Last updated on AUGUST 04, 2018
Applies to:Linux OS - Version Oracle Linux 5.5 to Oracle Linux 5.11 [Release OL5U5 to OL5U11]
Note: does not apply to OCFS2 releases later than 1.4.9
When attempting to create or extend a file in an ocfs2 volume, an error is returned. The "df " command shows the ocfs2 volume has more than sufficient free space to create or extend a file, but attempts to do so get error:
No space left on device
The symptoms can vary depending upon the utility in use.
An example from "rman":
ORA-19870: error reading backup piece xxxxxx.dbf
ORA-19502: write error on file "/oradata/data_09.dbf", blockno 192673 (blocksize=8192)
ORA-27072: File I/O error
Linux Error: 5: Input/output error
Another example was where an Oracle VM guest was allocated a sparse file in an OCFS2 repository to use for a swap file - the guest encountered a write error when ocfs2 was unable to extend the file:
kernel: loop: Write error at byte offset 2087604224, length 3584.
kernel: loop: out of space on target file
The problem is usually triggered after an extended period where many files are created and deleted.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!