SCIENTIFIC-LINUX-USERS Archives

May 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Steven J. Yellin" <[log in to unmask]>
Reply To:
Steven J. Yellin
Date:
Mon, 9 May 2005 07:42:21 -0700
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (63 lines)
    If you want to know how many bytes of storage are really used by
lastlog, do "du -b /var/log/lastlog".

Steven Yellin

On Mon, 9 May 2005, Stefan Sabolowitsch wrote:

> Hi List,
>
> I have here following.
>
> OS = SL4 / 64
>
> 135 GB Disk space, free space 123 GB
>
>
>
> What a gr8 file this is /var/log/lastlog = 1254130 MB
>
>
> I found that (bug or goody ? )
>
>
> #-#-#
> "It's a "sparse file", meaning it doesn't really occupy this much space
> on the disk.
> Per Bill Nottingham at Red Hat when we filed this as a
> bugzilla, it's "working as designed". /var/log/lastlog is defined as
> a sparse file of fixed-size hunks of data, indexed based on user ID.
> Now, the "nobody" NFS ID is approximately (0xFFFFFFFF - 1), yielding a
> very large offset into this file."
> "RedHat does not think this is a bug, but it is a real problem that not all
> backup and disk imaging solutions are aware of sparse files."
> "A file is sparse if it contains blocks of zeros whose existence is
> recorded, but that have no space allocated on disk."
> #-#-#-#
>
>
> thx
>
> Stefan
>
> Administrator IT
>
>
> FELTEN GmbH
> In den Dörrwiesen 31
> D-54455 Serrig
> Tel: +49 (65 81) 91 69 - 25
> Fax: +49 (65 81) 91 69 - 33
> E-Mail: [log in to unmask]
> www.feltengmbh.de
> www.pm-scada.de
> _____________________ Confidentiality ______________________
> This electronic transmission is strictly confidential and intended
> solely for the addressee. It may contain information which is covered
> by legal, professional or other privilege. If you are not the intended
> addressee, you must not disclose, copy or take any action in reliance
> of this transmission. If you have received this transmission in error,
> please notify us and delete the received data as soon as possible.
>
>

ATOM RSS1 RSS2