ENOSPC on write()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to diagnose a mysterious ENOSPC that happens infrequently
when our application writes to a GFS filesystem.

Here's an example system call:

       write(22, "\0\0", 2)                    = 2
       write(22,
"\4\7\01012345678\4\10\10\10\3\n\0\0\0\4\3\5\0\0\0\4\3\30\0\0\0"...,
299718) = -1 ENOSPC (No space left on device)

The file is empty prior to the first write().  2 bytes are successfully
written before the 2nd write() fails.

The filesystem has plenty of blocks and inodes free.  Does this indicate
some sort of resource starvation?  If so, what is an effective strategy
to mitigate?  Repeat the operation?  Write in smaller chunks?

Any help appreciated,

Jeff



--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux