Novell Open Enterprise Server 11 (OES 11) Linux
SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 11
When trying to add a new file to an XFS mounted filesystem, the error "no space available" is returned. This is despite there being over 15% disk space available (as reported by df). The methods tried for creating a file was touch filename and vi filename.
If a file or two were removed, a new file (or two) could be created.
a) change to inode64 structure on the XFS filesystem
For more information on inode64, see the XFS.org site at http://xfs.org/index.php/XFS_FAQ#Q:_What_is_the_inode64_mount_option_for.3F
b) create significant free space on the filesystem either by adding space or removing files.
In the case of a filesystem already running inode64, this error can be encountered if the filesystem does run low/out of disk space -- or if it cannot allocate 4 contiguous blocks for additional inodes. So if the filesystem is severely fragmented -- meaning only 1-3 blocks are together -- you will not be able to create new files but can write additional data to older files.
For further information on identifying how fragmented the free space is, please see TID 7014320 - How to tell how fragmented the free space on an XFS filesystem
If your filesystem is severely fragmented, you can either:
- add a significant amount of free space (i.e. 20% or more)
- move the data to a different filesystem and then copy it back.
this will remove the free blocks between files and make it contiguous. You will find this most helpful for filesystems that store files that are <= 4,096 bytes.