[Ocfs-users] [Fwd: [ocfs-users-owner@oss.oracle.com: Ocfs-users post
from roger.trang@3pardata.com requires approval]]
Sunil Mushran
Sunil.Mushran at oracle.com
Mon Apr 26 11:52:10 CDT 2004
File data is allocated from the global bitmap. We keep track
the blocks allocated here. We also keep a summary (used_bits)
which we use to provide statfs with the "free space".
So... things to look for.
1. Did the delete complete? The delete goes thru two steps. First
it marks the files as MARK_FOR_DELETE. The journal code
completes the delete by marking it DELETED and clearing the bits
in the global bitmap.
2. Was the used_bits summary completed? As part of the delete,
the summary (used_bits) is updated.
fsck.ocfs -vn /dev/sdb1 >outfile1
This will dump out all the meta-data structures still on the disk. Will
reveal whether the files are still there "marked as deleted".
debugocfs -g /dev/sdb1 >outfile2
This will show the bits which are SET and UNSET. The output is
long, as it details each bit.
Hope this helps.
Sunil
-------------- next part --------------
An embedded message was scrubbed...
From: Wim Coekaerts <wim.coekaerts at oracle.com>
Subject: [ocfs-users-owner at oss.oracle.com: Ocfs-users post from
roger.trang at 3pardata.com requires approval]
Date: Mon, 26 Apr 2004 10:30:55 -0700
Size: 6863
Url: http://oss.oracle.com/pipermail/ocfs-users/attachments/20040426/eaf9af01/attachment.eml
More information about the Ocfs-users
mailing list