[Ocfs2-users] A free space trouble in a ocfs2 partition
Sunil Mushran
sunil.mushran at oracle.com
Tue Oct 27 11:29:31 PDT 2009
ocfs2 and kernel version?
My guess is that this is because the orphaned inodes are not
getting deleted. This problem has been fixed in the mainline kernel
(2.6.31).
For enterprise users, the fix was provided with OCFS2 1.4.4 for
(RH)EL. SLES10/11 users should upgrade to the latest kernel errata
to get the fix.
If you are using an older mainline kernel, a temporary fix would be
to umount the volume on all nodes and run "fsck.ocfs2 -f device".
Upgrading the kernel to 2.6.31 will also fix the problem.
Sunil
Juan Pablo Marco Cardona wrote:
> Hi,
> i have a trouble with a ocfs2 partition.
>
> The "df -kh" command reports 63 GB of free space but only can use about
> 5 GB of this free space !!
> Then, the ocfs2 partition is wasting 58 GB of free space !!?
>
> df -kh
> S.ficheros Tamaño Usado Disp Uso% Montado en
> /dev/sda1 300G 238G 63G 80% /home/mail
>
> This are the mount options of the partition:
>
> mount
> /dev/sda1 on /home/mail type ocfs2 (rw,_netdev,heartbeat=local)
>
> The 300 GB ocfs2 partition is the mail storage of thousands of mail users.
>
> The block size of the partition is 1K to theorically prevent fragmentation:
>
> tunefs.ocfs2 -q -Q "BS=%5B\n" /dev/sda1
> BS= 1024
>
> There are so many free inodes:
>
> df -i
> S.ficheros Nodos-i NUsados NLibres NUso% Montado en
> /dev/sda1 78642183 62356449 16285734 80% /home/mail
>
>
> So, what is the problem with this partition?
>
> Thanks in advanced
>
> Regards,
> Pablo
>
>
>
>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
More information about the Ocfs2-users
mailing list