Did you remove some large files recently? If so, check the orphan_dir
and truncate_log for all the slots.
1. Start debugfs:
# debugfs.ocfs2 /dev/sdX
2. List system directory:
> ls -l //
3. List files in all orphan_dir(s):
> ls -l //orphan_dir:0000
If there are files, means some process in the cluster is still using
that file.
4. stat all trancate_log(s):
> stat //truncate_log:0000
I will be surprised if you see any bits here. If there are, do
"sync;sync;sync;" on the
appropriate node.
5. You can find the appropriate node by dumping the slotmap:
> slotmap
Find the slot-to-nodenum mapping. Do the sync on that node.
For this and more, refer to the on-disk format support guide.
http://oss.oracle.com/projects/ocfs2/dist/documentation/03-disk_format.pdf
Matthew Flusche wrote:
Hi all.
I have a 50 GB OCFS2 file system. I’m currently using ~26GB of space
but df is reporting 43 GB used. Any ideas how to find out where the
missing 17GB is at?
The file system was formatted with a 16K cluster & 4K block size.
Thanks,
Matt
------------------------------------------------------------------------
_______________________________________________
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users
_______________________________________________
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users