[Ocfs2-users] Defragmenting OCFS2

Werner Flamme werner.flamme at ufz.de
Tue Aug 30 08:34:16 PDT 2011


-----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-----



More information about the Ocfs2-users mailing list