On 8/23/06, Nathan Scott <nathans@sgi.com> wrote:
On Wed, Aug 23, 2006 at 06:39:31AM +0200, Oleg Verych wrote: > On 8/23/06, Nathan Scott <nathans@sgi.com> wrote: > So. What one must do ? I know XFS warrants _file system_ integrity > (not data), but > this is some kind of nasty thing 4K=5G. Hmm, no, this is some kind of POSIX thing. Most filesystems support sparse files, and truncation out beyond eof; am I misunderstading the problem here?
I think problem is 5.2G /var/log/lastlog on fresh (only first logged user ever) installed OS. I really don't know what to add... I don't know POSIX, please answer the following. File system file's block map may *not* be the same as actual data blocks after truncate() ? If so, i'm going to check ls/dd size and du size of all files. I think this is wrong unless proved otherwise.
so if you want it, you'll need to write a patch to xfsprogs packaging to do it (which I will happily accept, provided its tested and works).
I'll try. Thanks. -- -o--=O`C #oo'L O <___=E M