On Fri, 2009-10-02 at 12:04 +0000, Alexander Eremin wrote:
> Hi all,
> Just played with Bug 6361 - Calculation of Sparc boot archive doesn't
> count with dcfs compression. 
> If change overhead for sparc in bootroot_archive.py to ~1.062 I've got
> a 114mb boot_archive with 23mb free space. 
> That's minimum, in other case I've got cpio errors  in br-arch step.
> If I take usual root_archive script for DC /bootroot directory and add
> to it line:
> size=$(($size +
> 20480))                                                                       
>         
> 
> before
>                                                                               
>                              
> /usr/sbin/mkfile ${size}k "$TMR"        
> ...
> 
> I've got a 90mb boot_archive with 13mb free space.
> Looks like DC python scripts produces bigger size for boot_archive
> than usual root_archive cmd.
> 
On my sparc for bootroot directory ('du' there give me 109mb but I know
that on zfs the disk usage is less than the sum of the file sizes)
bootroot_archive.py calculate boot_root_size as 109mb before
ti_create_target, tunefs and compression,
root_archive - 68mb before mkfile, lofiadm,newfs and compression
processes.
root_archive give me smaller miniroot.


-- 

::alhazred

Reply via email to