From: reiser <reiser@namesys.com>
To: Vitaly Fertman <vitaly@namesys.com>
Cc: "Philippe Gramoulle'" <philippe.gramoulle@mmania.com>,
reiserfs <reiserfs-list@namesys.com>
Subject: Re: Still wrong reported file size after --rebuild-tree
Date: Tue, 05 Nov 2002 00:05:12 -0800 [thread overview]
Message-ID: <3DC77BB8.4040003@namesys.com> (raw)
In-Reply-To: <20021030193045.69179289.philippe.gramoulle@mmania.com>
Vitaly Fertman wrote:
>On Saturday 02 November 2002 00:07, Hans Reiser wrote:
>
>
>>Vitaly Fertman wrote:
>>
>>
>>>Hi,
>>>
>>>On Wednesday 30 October 2002 21:30, Philippe Gramoullé wrote:
>>>
>>>
>>>>Hi,
>>>>
>>>>I just wanted to let you know that after rebuilding the tree for a 500Go
>>>>volume, i still have wrong file size reported :
>>>>
>>>>/dev/sdb1 572418604 174714996 397703608 31% /storage
>>>>
>>>># ls -l
>>>>total 4928006
>>>>-r-x-wx-wx 1 daemon 324231 32768 Jan 1 1970 25s.jpg
>>>>-r-x--x--- 1 19415372 19415373 83388383504122186 Aug 13 1970 25s_lb.jpg
>>>>-r--rw-rw- 1 19415354 19415355 83388306194710840 Aug 13 1970 25slight.jpg
>>>>-r---wxrwx 1 19415331 19415332 83388207410463009 Aug 13 1970
>>>>25slight_ln.jpg
>>>>
>>>>
>>>ReiserFS can handle 64 bit file sizes, so from the reiserfsck point of
>>>view these are correct sizes.
>>>
>>>
>>You mean to say that you haven't written code to check that file sizes
>>are correct, yes?
>>
>>
>
>No, I meant that it is considered as a legal situation to have a size in
>a file statdata greater then its real body size. Thus you can truncate
>the file to the greater size.
>
>However, if you are sure that you do not have files with such holes at
>the end you can use --ajust-file-sizes option in rebuild and fix-fixable
>modes - fixable here - to correct such statdata's file sizes to file body
>sizes. (Sorry that I have not mentioned about this option in my previous
>email).
>
>
>
Ah, interesting.
Hans
prev parent reply other threads:[~2002-11-05 8:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-30 18:30 Still wrong reported file size after --rebuild-tree Philippe Gramoullé
2002-10-31 3:57 ` Todd Lyons
2002-10-31 9:21 ` Philippe Gramoullé
2002-10-31 9:45 ` Nikita Danilov
2002-10-31 17:05 ` Todd Lyons
2002-10-31 9:14 ` Philippe Gramoullé
2002-11-01 13:30 ` Vitaly Fertman
2002-11-01 21:07 ` Hans Reiser
2002-11-02 14:10 ` Vitaly Fertman
2002-11-05 8:05 ` reiser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DC77BB8.4040003@namesys.com \
--to=reiser@namesys.com \
--cc=philippe.gramoulle@mmania.com \
--cc=reiserfs-list@namesys.com \
--cc=vitaly@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.