Dario Freni wrote:
> Dario Freni ha scritto:
>   
>> On Thu, Nov 17, 2005 at 09:53:43PM -0600, Ben wrote:
>>
>>     
>>> /mnt/backup/freesbie-clone/usr: write failed, filesystem is full
>>>       
>> This is a loopfile filesystem. Try this patch:
>>
>> Index: scripts/clonefs.sh
>> ===================================================================
>> RCS file: /cvs/freesbie2/scripts/clonefs.sh,v
>> retrieving revision 1.4
>> diff -u -r1.4 clonefs.sh
>> --- scripts/clonefs.sh  7 Nov 2005 12:57:31 -0000       1.4
>> +++ scripts/clonefs.sh  18 Nov 2005 10:10:06 -0000
>> @@ -34,7 +34,7 @@
>>  
>>      # Find the total dir size and initialize the vnode
>>      DIRSIZE=$(($(du -kd 0 | cut -f 1)))
>> -    FSSIZE=$(($DIRSIZE + ($DIRSIZE/10)))
>> +    FSSIZE=$(($DIRSIZE + ($DIRSIZE/20)))
>>      dd if=/dev/zero of=${UFSFILE} bs=1k count=${FSSIZE} >> ${LOGFILE} 2>&1
>>  
>>      DEVICE=/dev/$(mdconfig -a -t vnode -f ${UFSFILE})
>>
>>     
>
> Wrong math, try this one instead:
>
> Index: scripts/clonefs.sh
> ===================================================================
> RCS file: /cvs/freesbie2/scripts/clonefs.sh,v
> retrieving revision 1.4
> diff -u -r1.4 clonefs.sh
> --- scripts/clonefs.sh  7 Nov 2005 12:57:31 -0000       1.4
> +++ scripts/clonefs.sh  18 Nov 2005 10:10:06 -0000
> @@ -34,7 +34,7 @@
>
>      # Find the total dir size and initialize the vnode
>      DIRSIZE=$(($(du -kd 0 | cut -f 1)))
> -    FSSIZE=$(($DIRSIZE + ($DIRSIZE/10)))
> +    FSSIZE=$(($DIRSIZE + ($DIRSIZE/5)))
>      dd if=/dev/zero of=${UFSFILE} bs=1k count=${FSSIZE} >> ${LOGFILE} 2>&1
>
>      DEVICE=/dev/$(mdconfig -a -t vnode -f ${UFSFILE})
>   
Thank you Dario. I'm just writing to confirm that the patches released
today resolved my errors.

Ben
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Reply via email to