We should fix it such that both rsync and tar recognizes sparse files...

Cheers,

Bernard 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Bernard Li
> Sent: Monday, March 27, 2006 14:41
> To: sisuite-devel@lists.sourceforge.net
> Subject: [Sisuite-devel] FW: Systemimager issue with lastlog
> 
>  
> 
> > -----Original Message-----
> > From: Andy Bolstridge [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, March 27, 2006 14:32
> > To: Bernard Li
> > Subject: Systemimager issue with lastlog
> > 
> > Hello.
> >     I read this on the SystemImager mailing list, and I 
> > thought I'd drop you a line 
> > to say why the lastlog is so big. Its not really a bug, more 
> > a left-over from 
> > older days. The lastlog file is actually a sparse file, and 
> > on a 64-bit machine, 
> > will be created to handle 2^ biggest uid. On most Redhat 
> > systems, the biggest 
> > uid (nfsnobody) is something like 4294967294.. and so you can 
> > see that the spare 
> > file appears rather large (1.2TB!). On a 32-bit machine, this 
> > is not so much a 
> > problem as the largest uid will be 2^31.
> > 
> >     One answer is to remove the nfs-utils package, remove 
> > /var/log/lastlog and then 
> > re-create it. Unless you have a lot of users, the new lastlog 
> > will be a lot 
> > smaller.
> >     Another answer is to tell rsync to recognise sparse 
> > files (-S or --sparse). Tar 
> > works similarly.
> > 
> >     And yet another answer: delete the thing and don't back 
> > it up. As far as I can 
> > tell from google, only finger and lastlog use the file anyway. 
> > (https://www.redhat.com/archives/fedora-test-list/2005-June/ms
> > g00404.html)
> > 
> > 
> >     I hope this helps, if I start to use systemimager 
> > (which looks really good), 
> > I'll join the mailing list, and post there in future.
> >     
> > thanks,
> > 
> > Andy
> > 
> > 
> >     
> > 
> > 
> > Can you take a look at your image's /var/log/lastlog and 
> > report back how big it is?
> > 
> > Cheers,
> > 
> > Bernard
> > 
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] on behalf of 
> > Drew Weaver
> > Sent: Thu 09/03/2006 12:55
> > To: sisuite-users@lists.sourceforge.net
> > Subject: RE: [Sisuite-users] Anyone know why si_getimage 
> > would fail on Fedora 
> > Core 4 x64?
> > 
> > Actually, Rhel4 x_64, rhel3 x_64, centos 4 x_64 all work 
> > fine, this only
> > happens on fedora4 x_64 heheh.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ________________________________
> > 
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf 
> > Of Bernard
> > Li
> > Sent: Thursday, March 09, 2006 3:41 PM
> > To: sisuite-users@lists.sourceforge.net;
> > sisuite-users@lists.sourceforge.net
> > Subject: RE: [Sisuite-users] Anyone know why si_getimage 
> would fail on
> > Fedora Core 4 x64?
> > 
> > 
> > 
> > Hi Drew:
> > 
> > I think Ben hit it with a nail there...  on a Red Hat 64-bit machine
> > (not confirmed on other 64-bit OSes...) the /var/log/lastlog 
> > is huge...
> > this apparently is a known bug with the OS and I am not 
> sure if it is
> > fixed yet.  Anyways, in OSCAR, we fixed it by zeroing the 
> > file - take a
> > look at the following bug we filed for OSCAR:
> > 
> > http://sourceforge.net/tracker/?group_id=9368&atid=109368&func
> > =detail&ai
> > d=1266306
> > 
> > Cheers,
> > 
> > Bernard
> > 
> > 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking 
> scripting language
> that extends applications into web and mobile media. Attend 
> the live webcast
> and join the prime developer group breaking into this new 
> coding territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> _______________________________________________
> Sisuite-devel mailing list
> Sisuite-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sisuite-devel
> 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to