On 08/30/2011 10:34 AM, Werner Flamme wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David [30.08.2011 17:18]:
Ran into an issue last week were a 150GB OCFS2 partition would not allow
any further data to be written to it. The issue was first discovered as
a result of a PHP web app alarming that it couldn't write files to
disk. When the issue was investigated initial indications showed; via
`df -h`, that the partition still had 56GB of space left. When an an
attempt to create a random file using dd was performed it ran into the
same issue.
Does `df -i` state that there are enough inodes free too? When the
Volume was created with big clusters, any file will occupy at least one
cluster, even if it is only 5 bytes in size.
tunefs.ocfs -Q "%B %T\n" /dev/$yours
should output the same number twice if many small files are stored on
the volume (man tunefs.ocfs). They will differ when you used an option
like "-T datafiles" when creating the filesystem (man mkfs.ocfs2).
Regards,
Werner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAk5dAvgACgkQk33Krq8b42PfZACePoE+dnkZlaDtxeq9vGuHPzGL
Z48An2wyQCjH9PUq4HH6TToPJj6P7h18
=nz8j
-----END PGP SIGNATURE-----
_______________________________________________
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users
I should have mentioned that in my original email, there were/are still
1.8M inodes available on this volume.
tunefs.ocfs2 -Q "%B %T\n" /dev/sdb didn't result in the same number
twice, instead it was 4096 32768 which
fits with what was specified during fs creation:
mkfs.ocfs2 -b 4k -C 32K /dev/sdb
Obviously didn't specify the -T which in reading the man page would
suggest that we need to use the "mail" type
since we are writing small files and not large ones as indicated by
datafiles option.
David
_______________________________________________
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users