xfs
[Top] [All Lists]

Re: ls -l versus du -sk after xfs_fsr

To: Ludek Finstrle <luf@xxxxxxxxxx>
Subject: Re: ls -l versus du -sk after xfs_fsr
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Tue, 27 Sep 2005 11:43:49 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20050927163531.GA19652@xxxxxxxxxxxxxxxxx>
References: <20050926071451.GA3751@xxxxxxxxxxxxxxxxx> <4338128F.8000707@xxxxxxx> <20050927163531.GA19652@xxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Ludek Finstrle wrote:
I have problem with diferrence in filesize between ls -l and du -sk
after xfs_fsr (it was ok before running xfs_fsr):

# ls -l Drafts
-rw-rw----  1  user  group  74646  Apr 15 17:37  Drafts
# du -b Drafts
3221303296  Drafts

can you run xfs_bmap -v Drafts


# xfs_bmap -v Drafts
Drafts:
 EXT: FILE-OFFSET      BLOCK-RANGE        AG AG-OFFSET        TOTAL FLAGS
   0: [0..151]:        14693632..14693783  7 (13568..13719)     152 00101

151 * 512 = 77824, so that's fine... bmap reports only 78k used. Not sure du is reporting more...

Well, if you run into this again we'll dig some more :)

Do you happen to still have the xfs_repair output in scrollback somewhere?

Thanks,

-Eric


<Prev in Thread] Current Thread [Next in Thread>