[PL #2445] vuseradd fails to correctly vbuild a vserver

Marc E. Fiuczynski via RT devel at planet-lab.org
Fri Nov 12 13:47:00 EST 2004


Email Recipients (see http://www.planet-lab.org/Support)
       Requestor: mef at cs.princeton.edu


==================================================

Apparently "du" rounds up the filesize to blocks or whatever. For whatever reason this results in the vserver-rference being a bit larger in my particular case. The simple and more accurate fix is to use "du -s -b", which will do everything in byte size. 

> -----Original Message-----
> From: devel-community-bounces at planet-lab.org
> [mailto:devel-community-bounces at planet-lab.org]On Behalf Of Marc E.
> Fiuczynski via RT
> Sent: Friday, November 12, 2004 11:17 AM
> Subject: [PL #2445] vuseradd fails to correctly vbuild a vserver 
> 
> 
> Email Recipients (see http://www.planet-lab.org/Support)
>        Requestor: mef at cs.princeton.edu
> 
> 
> ==================================================
> 
> What I have noticed is that the newly created vserver is on the order of
> a few hundred KB smaller than the vserver-reference. This was roughly
> what I remember what was happening on my laptop, too. 
> 
> Well, I'll try to figure it out as it is repeatable in my environment. 
> 
> > [mlhuang - Fri Nov 12 10:00:46 2004]:
> > 
> > > Have you noticed this situation at all in any of your experiments?
> > 
> > No, never.
> > 
> > --Mark
> > 
> > 
> > 
> 
> _______________________________________________
> Devel-community mailing list
> Devel-community at lists.planet-lab.org
> http://lists.planet-lab.org/mailman/listinfo/devel-community
> 





More information about the Devel-community mailing list